Thank you for your interest in contributing to Taskmaster! We're excited to work with you and appreciate your help in making this project better. š
We're a PR-friendly team that values collaboration:
We don't mind AI-generated code, but we do expect you to:
Why this matters: We spend significant time reviewing PRs. Help us help you by submitting quality contributions that save everyone time!
git clone https://github.com/YOUR_USERNAME/claude-task-master.git
cd claude-task-master
npm install
Important: Always target the next branch, not main:
git checkout next
git pull origin next
git checkout -b feature/your-feature-name
Follow our development guidelines below.
Before submitting your PR, ensure:
# Run all tests
npm test
# Check formatting
npm run format-check
# Fix formatting if needed
npm run format
Required for most changes:
npm run changeset
See the Changeset Guidelines below for details.
next branchmain: Production-ready codenext: Development branch - target this for PRsfeature/description or fix/descriptionYour PR must pass all CI checks:
npm testnpm run format-checkTest your changes locally first - this saves review time and shows you care about quality.
We use Changesets to manage versioning and generate changelogs.
Always create a changeset for:
Skip changesets for:
After making your changes:
npm run changeset
Choose the bump type:
Write a clear summary:
Add support for custom AI models in MCP configuration
Commit the changeset file with your changes:
git add .changeset/*.md
git commit -m "feat: add custom AI model support"
Example:
# Changeset summary (user-facing)
"Add support for custom Ollama models"
# Git commit message (developer-facing)
"feat(models): implement custom Ollama model validation
- Add model validation for custom Ollama endpoints
- Update configuration schema to support custom models
- Add tests for new validation logic"
Copy environment template:
cp .env.example .env
Add your API keys (for testing AI features):
ANTHROPIC_API_KEY=your_key_here
OPENAI_API_KEY=your_key_here
# Add others as needed
# Run all tests
npm test
# Run tests in watch mode
npm run test:watch
# Run with coverage
npm run test:coverage
# Run E2E tests
npm run test:e2e
We use Prettier for consistent formatting:
# Check formatting
npm run format-check
# Fix formatting
npm run format
next branch## Description
Brief description of what this PR does.
## Type of Change
- [ ] Bug fix
- [ ] New feature
- [ ] Breaking change
- [ ] Documentation update
## Testing
- [ ] I have tested this locally
- [ ] All existing tests pass
- [ ] I have added tests for new functionality
## Changeset
- [ ] I have created a changeset (or this change doesn't need one)
## Additional Notes
Any additional context or notes for reviewers.
ā Good PRs:
ā Avoid:
claude-task-master/
āāā bin/ # CLI executables
āāā mcp-server/ # MCP server implementation
āāā scripts/ # Core task management logic
āāā src/ # Shared utilities and providers and well refactored code (we are slowly moving everything here)
āāā tests/ # Test files
āāā docs/ # Documentation
āāā .cursor/ # Cursor IDE rules and configuration
āāā assets/ # Assets like rules and configuration for all IDEs
scripts/modules/commands.jsmcp-server/src/tools/scripts/modules/task-manager/src/ai-providers/tests/Include:
Include:
By contributing, you agree that your contributions will be licensed under the same license as the project (MIT with Commons Clause).
Thank you for contributing to Taskmaster! š
Your contributions help make AI-driven development more accessible and efficient for everyone.