Thank you for your interest in contributing to Claude Code Tresor! This document provides guidelines and information for contributors.
We welcome contributions in the following areas:
- Development tools: Project scaffolding, code refactoring, optimization
- Testing utilities: Test generation, coverage analysis, E2E testing
- Documentation tools: Auto-generation, API docs, README helpers
- Workflow automation: PR reviews, commit messages, deployment
- Code analysis: Review, security audit, performance optimization
- Development assistance: Debugging, refactoring, architecture design
- Documentation: Technical writing, API documentation, user guides
- Testing: Test creation, validation, quality assurance
- Code generation: Language and framework-specific templates
- Best practices: Clean code, security, performance guidelines
- Architecture: System design patterns and methodologies
- Debugging: Error analysis and troubleshooting strategies
- Style guides: Language-specific coding standards
- Workflow standards: Git conventions, PR templates
- Documentation standards: README templates, API documentation
- Quality standards: Testing methodologies, code review checklists
- Familiarity with Claude Code
- Understanding of software development best practices
- Experience with the specific technology you're contributing to
-
Fork the repository:
git clone https://github.com/your-username/claude-code-tresor.git cd claude-code-tresor -
Create a branch for your contribution:
git checkout -b feature/your-feature-name
-
Install development dependencies (if any):
./scripts/install.sh
- Location:
commands/{category}/{command-name}/ - Files:
command.json- Command configurationREADME.md- Documentation and usage examplesexamples/- Usage examples and test cases
- Location:
agents/{agent-name}/ - Files:
agent.json- Agent configuration and behaviorREADME.md- Agent documentation and capabilitiesprompts/- Specialized prompts for the agentexamples/- Usage examples and test cases
- Location:
prompts/{category}/{prompt-name}.md - Format: Markdown with clear structure and examples
- Location:
standards/{category}/{standard-name}.md - Format: Comprehensive guidelines with examples
- Functionality: Must work as described and handle edge cases
- Documentation: Clear README with usage examples
- Testing: Include test cases and validation examples
- Error handling: Graceful handling of common error scenarios
- Clear purpose: What problem does this solve?
- Usage examples: Real-world scenarios and code samples
- Parameters: Clear description of all inputs and outputs
- Prerequisites: Dependencies and requirements
- Commands: Use kebab-case (e.g.,
code-review,test-gen) - Agents: Use kebab-case (e.g.,
code-reviewer,performance-tuner) - Files: Use kebab-case for consistency
- Directories: Use kebab-case throughout
{
"name": "command-name",
"description": "Brief description of what this command does",
"category": "development|testing|documentation|workflow",
"parameters": {
"required": ["param1", "param2"],
"optional": ["param3", "param4"]
},
"examples": [
{
"usage": "/command-name --param1=value",
"description": "Example usage description"
}
],
"author": "Your Name",
"version": "1.0.0",
"created": "2025-09-16"
}{
"name": "agent-name",
"description": "Brief description of agent capabilities",
"category": "analysis|development|documentation|testing",
"capabilities": [
"Primary capability 1",
"Primary capability 2"
],
"prompts": {
"system": "Core system prompt for the agent",
"examples": ["Example usage 1", "Example usage 2"]
},
"author": "Your Name",
"version": "1.0.0",
"created": "2025-09-16"
}- Install your contribution locally
- Test all documented use cases
- Verify error handling
- Check integration with Claude Code
- Follow your own instructions
- Verify all examples work
- Check for clarity and completeness
- Share with other developers
- Gather feedback on usability
- Iterate based on feedback
-
Ensure your branch is up to date:
git fetch upstream git rebase upstream/main
-
Run any available tests:
# Add any test commands here when available -
Create a descriptive pull request:
- Use our PR template
- Include clear description of changes
- Add examples and test cases
- Reference any related issues
-
Respond to feedback:
- Address reviewer comments promptly
- Make requested changes
- Update documentation as needed
[Category] Brief description of changes
Examples:
[Commands] Add React component scaffolding command
[Agents] Implement security audit agent
[Prompts] Add debugging prompts for Node.js
[Standards] Update TypeScript style guide
## Description
Brief description of what this PR accomplishes.
## Type of Contribution
- [ ] New slash command
- [ ] New agent
- [ ] New prompt template
- [ ] Documentation update
- [ ] Bug fix
- [ ] Other (please describe)
## Testing
- [ ] Tested locally with Claude Code
- [ ] All examples work as documented
- [ ] Error cases handled gracefully
## Checklist
- [ ] Code follows project conventions
- [ ] Documentation is complete and clear
- [ ] Examples are provided
- [ ] No breaking changes (or breaking changes are documented)- Functionality: Does it work as intended?
- Quality: Is the code/content well-structured?
- Documentation: Is it clear and complete?
- Examples: Are there sufficient usage examples?
- Integration: Does it fit well with existing utilities?
- Initial review: Within 48 hours
- Follow-up reviews: Within 24 hours
- Final approval: When all criteria are met
Contributors will be recognized in:
- README.md: Contributors section
- CHANGELOG.md: Version release notes
- Individual utility files: Author attribution
- Be respectful: Treat all community members with respect
- Be constructive: Provide helpful feedback and suggestions
- Be inclusive: Welcome contributors of all skill levels
- Be patient: Remember that everyone is learning
- GitHub Issues: Bug reports and feature requests
- GitHub Discussions: General questions and ideas
- Pull Request Comments: Code review and feedback
- "How do I test my slash command?": See Testing Your Contributions
- "What should I name my agent?": Follow our Naming Conventions
- "Where should I put my prompt?": Check File Structure and Naming
- GitHub Issues: For bugs and technical problems
- GitHub Discussions: For general questions and ideas
- Documentation: Check existing examples in the repository
Want to contribute but not sure where to start? Check out our roadmap:
- Advanced testing utilities
- Security scanning tools
- Performance benchmarking commands
- Multi-language support for prompts
- Integration with popular frameworks
- Advanced debugging agents
- Documentation generation improvements
- Workflow automation enhancements
- Plugin system for custom extensions
- Community marketplace integration
- Advanced AI-powered utilities
- Cross-platform compatibility tools
Thank you for contributing to Claude Code Tresor!
Your contributions help make development workflows better for everyone in the Claude Code community.
For questions or support, please reach out through GitHub Issues or Discussions.