agent-development
Generates Claude Code plugin agent .md files: writes YAML frontmatter (name, model, color, tools, hooks, disallowedTools), crafts system prompts, and creates triggering example blocks with context and commentary. Validates agent structure against naming, length, and format constraints. Use when the user asks to create an agent, add an agent, write a subagent, configure agent frontmatter, design agent system prompts, set agent tools or colors, build an autonomous agent, or add agent hooks. --- # Agent Development for Claude Code Plugins Agents are autonomous markdown files with YAML frontmatter that handle multi-step tasks independently. Agents are for autonomous work; commands are for user-initiated actions. ## Workflow 1. Define agent purpose and triggering conditions 2. Create `agents/agent-name.md` with frontmatter + system prompt body 3. Include 2-4 `<example>` blocks in description 4. Validate structure (see constraints below) 5. Test triggering with real scenarios 6. If validation fails: check error recovery table, fix, re-validate ## Agent File Template ```markdown ---
Changelog: Source: GitHub https://github.com/OshanKHZ/cc-swiss-knife
No comments yet. Be the first one!