# Humand AI Agent Plugins
Marketplace repo for Humand AI agent plugins. This repository is company-wide and can host multiple area-specific plugins for both Cursor and Claude Code.
---
## Agent Coding Principles
**1. Think Before Coding — Don't assume. Don't hide confusion. Surface tradeoffs.**
- State assumptions explicitly. If uncertain, ask.
- If multiple interpretations exist, present them — don't pick silently.
- If a simpler approach exists, say so. Push back when warranted.
- If something is unclear, stop. Name what's confusing. Ask.
**2. Simplicity First — Minimum code that solves the problem. Nothing speculative.**
- No features beyond what was asked.
- No abstractions for single-use code.
- No "flexibility" or "configurability" that wasn't requested.
- No error handling for impossible scenarios.
- Ask: "Would a senior engineer say this is overcomplicated?" If yes, simplify.
**3. Surgical Changes — Touch only what you must. Clean up only your own mess.**
- Don't "improve" adjacent code, comments, or formatting.
- Don't refactor things that aren't broken. Match existing style.
- If you notice unrelated dead code, mention it — don't delete it.
- Remove imports/variables/functions that *your* changes made unused, not pre-existing ones.
- Every changed line should trace directly to the user's request.
**4. Goal-Driven Execution — Define success criteria. Loop until verified.**
- Transform tasks into verifiable goals:
- "Fix the bug" → "Write a test that reproduces it, then make it pass"
- "Add validation" → "Write tests for invalid inputs, then make them pass"
- For multi-step tasks, state a brief plan with a verify step per item.
- Weak criteria ("make it work") require constant clarification — define what done looks like.
---
## Project-Specific Guidelines
### Scope
- Keep shared/cross-area logic at marketplace level.
- Keep area-specific workflows inside each plugin folder.
- Product-specific workflows live only in `plugins/humand-product-workflow/`.
### Agent Rules
#### Style
- Work style: telegraph; noun-phrases ok; drop grammar; min tokens.
- Before handoff: run full gate available in this repo.
#### Git
- No implicit writes. Git write commands only on explicit user request.
- Destructive ops (`reset --hard`, `push --force`, `clean`) require explicit confirmation.
- Use branches + PRs for all changes to `main`.
#### Plugin Conventions
- Plugin name: kebab-case (`humand--workflow` or `humand--starter`).
- Each plugin must include `.cursor-plugin/plugin.json` and `.claude-plugin/plugin.json`.
- Register each plugin in `.cursor-plugin/marketplace.json` and `.claude-plugin/marketplace.json`.
- Run `node scripts/validate-template.mjs` and `claude plugin validate .` before creating a PR.
### Active Plugins
- `humand-product-workflow` (area-specific, Product).
- `humand-tech` (cross-area, Engineering / Tech).
- `humand-backend` (area-specific, Backend Engineering).
### Disabled Templates
- `humand-area-starter` is kept as a copy-paste template only.
- It lives at `plugins/humand-area-starter/` and stays out of marketplace `plugins[]` in both Cursor and Claude manifests.