Contributing to Superpowers
Superpowers is built on community contributions. Whether you’re creating new skills, improving existing ones, or fixing bugs, your contributions help make coding agents more effective for everyone.What You Can Contribute
New Skills
Create skills for techniques, patterns, or tools you’ve found valuable
Skill Improvements
Enhance existing skills with better examples, clearer explanations, or additional rationalizations
Bug Fixes
Fix issues in skills or the core system
Documentation
Improve guides, examples, and reference material
Before You Contribute
All skills must follow the TDD approach. Before contributing a skill, you must test it with subagents following the RED-GREEN-REFACTOR cycle. See Testing Skills for details.
Required Reading
Before creating or modifying skills:- Creating Skills - Read Creating Skills to understand skill structure and CSO
- Testing Skills - Read Testing Skills to learn the testing methodology
- writing-skills SKILL.md - Read
skills/writing-skills/SKILL.mdin the repository for complete guidance
Contribution Guidelines
- Follow TDD: Test skills with subagents before submitting
- One skill per PR: Makes review easier and faster
- Document testing: Include test scenarios and baseline results
- Follow naming conventions: Use verb-first, active voice names
- Optimize for search: Use CSO best practices
- Keep it concise: Target word counts for token efficiency
The Contribution Process
Fork the repository
Fork obra/superpowers to your GitHub account.
Create a branch
Create a branch for your skill or improvement:Branch naming:
skill/skill-namefor new skillsimprove/skill-namefor skill improvementsfix/issue-descriptionfor bug fixesdocs/topicfor documentation
Create and test your skill
Follow the complete TDD cycle:
-
RED Phase: Run baseline tests without the skill
- Document agent behavior
- Capture rationalizations verbatim
- Identify patterns in failures
-
GREEN Phase: Write the minimal skill
- Address specific baseline failures
- Add rationalization table
- Include clear examples
- Test with skill loaded
-
REFACTOR Phase: Close loopholes
- Capture new rationalizations
- Add explicit counters
- Re-test until bulletproof
Document your testing
Create a test report showing:Include this in your PR description or as a comment.
Skill Contribution Checklist
Before submitting a PR, verify: Structure:- Name uses letters, numbers, hyphens only
- YAML frontmatter with name and description (under 1024 chars)
- Description starts with “Use when…” and includes triggers only
- Clear overview with core principle
- Quick reference table
- Common mistakes section
- One excellent example
- Descriptive, verb-first name
- Rich description with concrete triggers
- Keywords throughout (errors, symptoms, tools)
- Description in third person
- No workflow summary in description
- RED phase completed (baseline tests)
- GREEN phase completed (skill addresses failures)
- REFACTOR phase completed (loopholes closed)
- 3+ pressure scenarios tested (for discipline skills)
- Rationalization table included
- Test report documented
- Token-efficient (under 500 words for normal skills)
- No narrative storytelling
- No multi-language examples
- Flowcharts only if decision non-obvious
- Supporting files only for tools/heavy reference
Code of Conduct
Our Standards
Positive behaviors:- Using welcoming and inclusive language
- Being respectful of differing viewpoints and experiences
- Gracefully accepting constructive criticism
- Focusing on what is best for the community
- Showing empathy towards other community members
- Trolling, insulting/derogatory comments, and personal attacks
- Public or private harassment
- Publishing others’ private information without permission
- Other conduct which could reasonably be considered inappropriate
Our Responsibilities
Project maintainers are responsible for clarifying standards of acceptable behavior and will take appropriate and fair corrective action in response to any instances of unacceptable behavior.Enforcement
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team through GitHub issues. All complaints will be reviewed and investigated promptly and fairly.Types of Contributions
New Skills
When creating a new skill:- Verify it’s needed: Check existing skills for overlap
- Follow TDD: Complete RED-GREEN-REFACTOR cycle
- Test thoroughly: 3-5 scenarios minimum
- Document testing: Include test report in PR
- Techniques you’ve found valuable across projects
- Patterns that aren’t intuitively obvious
- Tools with complex workflows
- Reference material not well-documented elsewhere
- One-off solutions
- Highly project-specific approaches
- Duplicate of existing skills
- Standard practices well-documented elsewhere
Skill Improvements
When improving existing skills:- Test current version: Run baseline to understand current behavior
- Identify gaps: What rationalizations does current skill miss?
- Add counters: Address specific gaps found in testing
- Re-test: Verify improvements work
- Adding rationalizations from real usage
- Better examples
- Clearer explanations
- CSO optimization
- Token efficiency improvements
Bug Fixes
When fixing bugs:- Reproduce the issue: Understand the problem
- Test the fix: Verify it solves the problem
- Document the fix: Explain what was broken and how you fixed it
- Check for regressions: Ensure fix doesn’t break other scenarios
Review Process
What to expect:- Initial review (1-3 days): Maintainer checks structure and testing
- Testing verification (2-5 days): Maintainer may run additional tests
- Feedback (as needed): Requests for changes or clarification
- Approval (after changes): PR approved and merged
Questions?
If you have questions about contributing:- General questions: Open a Discussion
- Bug reports: Open an Issue
- Contribution questions: Comment on the relevant PR or issue
Recognition
Contributors are recognized in:- Commit history
- Release notes
- README acknowledgments (for significant contributions)
Additional Resources
- Creating Skills - Complete skill creation guide
- Testing Skills - Testing methodology
- GitHub Repository - Source code and issues
- Marketplace - Plugin marketplace
- Blog Post - Philosophy and background