What problem does it solve?
Authoring reliable autonomous agents for Claude Code plugins is complex and error-prone. This Skill centralizes guidance on agent file structure, system prompt design, triggering examples, model and color choices, and validation so authors can create agents that activate correctly and behave predictably.
Core Features & Use Cases
- Agent file format & validation: Clear frontmatter requirements (name, description with examples, model, color, optional tools) and a validation script to ensure compliance.
- System prompt design: Templates and patterns for writing second-person, structured system prompts with responsibilities, process steps, output format, and edge cases.
- Triggering examples & testing: Best practices for <example> blocks to ensure reliable proactive and reactive triggering, plus guidance for testing and iteration.
- Use Case: When adding a code-reviewer or test-generator agent to a plugin, follow the guidance to craft descriptive triggering examples, choose model/color/tools, write a precise system prompt, and validate the agent file before adding it to agents/.
Quick Start
Create an agent by writing YAML frontmatter with name, a description that includes 2–4 <example> blocks, model and color fields, add the system prompt after the frontmatter, and run the scripts/validate-agent.sh script to verify the file.