Thank you for your interest in contributing to Claude Code Configs! This project thrives on community contributions, and we welcome configs for new frameworks, improvements to existing configurations, and enhancements to the CLI tool.
- Code of Conduct
- How to Contribute
- Adding a New Configuration
- Improving Existing Configurations
- Contributing to the CLI Tool
- Testing Guidelines
- Pull Request Process
Please be respectful and constructive in all interactions. We aim to maintain a welcoming and inclusive community.
# Fork the repository on GitHub, then:
git clone https://github.com/YOUR-USERNAME/claude-code-configs.git
cd claude-code-configsgit checkout -b feature/your-feature-nameSee specific sections below for different types of contributions.
cd claude-config-composer
npm install
npm test
npm run buildPush your branch and create a PR against the main branch.
Create your configuration in the appropriate category:
configurations/
├── frameworks/ # React, Vue, Angular, etc.
├── ui/ # Component libraries, CSS frameworks
├── databases/ # ORMs, database tools
├── tooling/ # Build tools, SDKs
└── mcp-servers/ # MCP server implementations
Each configuration must include:
your-config/
├── .claude/
│ ├── settings.json # Permissions and environment variables
│ ├── agents/ # Specialized AI agents (optional)
│ ├── commands/ # Custom commands (optional)
│ └── hooks/ # Automation hooks (optional)
├── CLAUDE.md # Main configuration and best practices
├── README.md # Setup and usage instructions
└── package.json # Metadata and version info
{
"name": "@claude-code-configs/your-config",
"version": "1.0.0",
"description": "Brief description of your configuration",
"keywords": ["claude-code", "your-framework"],
"claude-config": {
"category": "frameworks|ui|databases|tooling|mcp-servers",
"priority": 10,
"compatibility": {
"requires": [],
"conflicts": []
}
}
}Your CLAUDE.md should include:
- Project Context - What this configuration is for
- Core Technologies - List of main dependencies
- Security Best Practices - Security considerations
- Development Patterns - Framework-specific patterns
- Testing Approach - How to test code
- Resources - Links to documentation
- Configuration works with Claude Code
- All file paths are correct
- Documentation is clear and complete
- No sensitive data (API keys, passwords)
- Tested with the CLI tool
- Added to registry if needed
- Add New Agents - Specialized expertise
- Create Commands - Workflow automation
- Enhance Hooks - Better automation
- Update Documentation - Clarity and examples
- Fix Issues - Bugs or errors
- Maintain backward compatibility
- Test with existing projects
- Update version in package.json
- Document changes in PR
cd claude-config-composer
npm install
npm run dev -- nextjs-15 shadcn # Test development mode- TypeScript with strict mode
- No
anytypes without justification - Comprehensive error handling
- Tests for new features
- JSDoc comments for public APIs
# Run all tests
npm test
# Run specific test file
npm test -- config-parser.test.ts
# Run with coverage
npm run test:ci- Create command file in
src/cli/commands/ - Implement command class with
executemethod - Add to main CLI in
src/cli.ts - Write tests in
tests/
- Update logic in
src/merger/ - Ensure no duplicates are created
- Test with multiple configurations
- Verify priority ordering works
- Test individual functions
- Mock file system operations
- Cover edge cases
- Aim for >80% coverage
- Test full command execution
- Verify file generation
- Check configuration merging
- Test error scenarios
Before submitting PR:
# Test basic generation
node dist/cli.js nextjs-15 shadcn
# Test interactive mode
node dist/cli.js
# Test validation
node dist/cli.js validate
# Test dry-run
node dist/cli.js dry-run nextjs-15type(scope): brief description
Examples:
- feat(config): add Astro framework configuration
- fix(cli): resolve Windows path issues
- docs(readme): update installation instructions
- test(merger): add edge case tests
## Description
Brief description of changes
## Type of Change
- [ ] New configuration
- [ ] Bug fix
- [ ] Feature enhancement
- [ ] Documentation update
## Testing
- [ ] Tests pass locally
- [ ] Added new tests
- [ ] Manual testing completed
## Checklist
- [ ] Code follows project style
- [ ] Self-review completed
- [ ] Documentation updated
- [ ] No breaking changes- Automated tests must pass
- At least one maintainer review
- Address feedback promptly
- Squash commits before merge
Feel free to:
- Open an issue for discussion
- Ask in PR comments
- Check existing issues/PRs
Thank you for contributing! 🎉