|
| 1 | +# Contributing to the Claude Code Subagents Collection |
| 2 | + |
| 3 | +We welcome contributions from the community. If you would like to contribute to the project, please follow the guidelines below. |
| 4 | + |
| 5 | +## Adding New Agents |
| 6 | + |
| 7 | +To contribute a new subagent to the collection: |
| 8 | + |
| 9 | +1. **Follow Naming Convention** |
| 10 | + * Use lowercase, hyphen-separated names (e.g., `backend-architect.md`) |
| 11 | + * Name should clearly indicate the agent's domain and role |
| 12 | + |
| 13 | +2. **Use Standard Format** |
| 14 | + * Include proper frontmatter with `name`, `description`, and optional `tools`, `model` |
| 15 | + * Follow the structured format outlined in the [Subagent Format](README.md#-subagent-format) section of the `README.md` file. |
| 16 | + |
| 17 | +3. **Write Clear Descriptions** |
| 18 | + * Description should clearly indicate when the agent should be automatically invoked |
| 19 | + * Include specific keywords and contexts that trigger the agent |
| 20 | + |
| 21 | +4. **Define Specialized Behavior** |
| 22 | + * Include detailed system prompt with role, expertise, and capabilities |
| 23 | + * Define interaction patterns with other agents |
| 24 | + * Specify decision-making frameworks and priorities |
| 25 | + |
| 26 | +5. **Test Integration** |
| 27 | + * Verify the agent can be automatically invoked based on description |
| 28 | + * Test explicit invocation with clear requests |
| 29 | + * Ensure compatibility with existing agent coordination patterns |
| 30 | + |
| 31 | +### Quality Standards |
| 32 | + |
| 33 | +* **Domain Expertise**: Agents should demonstrate deep knowledge in their specialization |
| 34 | +* **Clear Boundaries**: Define what the agent does and doesn't handle |
| 35 | +* **Integration Ready**: Design for seamless coordination with other agents |
| 36 | +* **Consistent Voice**: Maintain professional, helpful, and expert tone |
| 37 | + |
| 38 | +### Submission Process |
| 39 | + |
| 40 | +1. Create the agent file following all standards |
| 41 | +2. Test the agent with various invocation patterns |
| 42 | +3. Submit a pull request with example use cases |
| 43 | +4. Include documentation of the agent's unique value and integration patterns |
0 commit comments