Skip to main content

🤖 Claude Code Starter Kit

A production-ready boilerplate for integrating Claude Code into your development workflow. Automate testing, security scanning, code review, and routine maintenance tasks.

License: MIT Claude Code PyPI

📦 MCP Server

All commands and agents in this kit are also available as an MCP (Model Context Protocol) server, making them usable from Claude Desktop, Claude Code, or any MCP-compatible client.

Install

pip install claude-code-starter-kit-mcp

Setup in Claude Code

Add to your project's .claude/settings.json (or ~/.claude/settings.json for global use):

{
  "mcpServers": {
    "claude-code-starter-kit": {
      "command": "claude-code-starter-kit-mcp"
    }
  }
}

Setup in Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "claude-code-starter-kit": {
      "command": "claude-code-starter-kit-mcp"
    }
  }
}

Available MCP Tools

Tool Maps to
command_test /test
command_test_coverage /test-coverage
command_security_check /security-check
command_detailed_review /detailed-review
command_fix_bugs /fix-bugs
command_refactor /refactor
command_docs /docs
command_monitor /monitor
agent_test_engineer test-engineer agent
agent_security_auditor security-auditor agent
agent_code_reviewer code-reviewer agent
agent_bug_hunter bug-hunter agent

All tools accept an optional arguments string (e.g. a file path or flags like --changed).

PyPI Auto-publish

Releases to PyPI are automated via GitHub Actions. Push a version tag to trigger a publish:

git tag v0.2.0
git push origin v0.2.0

Requires a PyPI Trusted Publisher configured for the pypi environment in your repository settings.


🎯 What This Kit Provides

Feature Description
Automated Testing Generate unit tests for new code automatically
Security Scanning Track vulnerabilities and get fix suggestions
Code Review AI-powered review on every PR
Bug Detection Monitor repo for common issues and anti-patterns
Documentation Auto-generate and update docs

🚀 Quick Start

1. Copy to Your Project

# Clone this repo
git clone https://github.com/dachivadachkoria/claude-code-starter-kit.git

# Copy the .claude directory to your project
cp -r claude-code-starter-kit/.claude your-project/
cp claude-code-starter-kit/CLAUDE.md your-project/

2. Customize CLAUDE.md

Edit CLAUDE.md in your project root to match your:

  • Tech stack
  • Testing conventions
  • Code style
  • Project structure

3. Start Using

cd your-project
claude

# Now use the commands:
/test src/myfile.py           # Generate tests
/security-check                 # Check vulnerabilities
/detailed-review                        # Code review
/fix-bugs                      # Auto-fix common issues

📁 Repository Structure

.claude/
├── settings.json              # Claude Code configuration
├── commands/                  # Slash commands
│   ├── test.md               # /test - Generate unit tests
│   ├── test-coverage.md      # /test-coverage - Coverage analysis
│   ├── security-check.md      # /security-check - Vulnerability check
│   ├── detailed-review.md             # /detailed-review - Code review
│   ├── fix-bugs.md           # /fix-bugs - Auto-fix issues
│   ├── docs.md               # /docs - Generate documentation
│   └── refactor.md           # /refactor - Safe refactoring
├── agents/                    # Specialized AI agents
│   ├── test-engineer.md      # Testing specialist
│   ├── security-auditor.md   # Security expert
│   ├── code-reviewer.md      # Review specialist
│   └── bug-hunter.md         # Bug detection expert
└── knowledge-base/            # Project-specific guidelines
    ├── testing-guide.md
    └── security-checklist.md

CLAUDE.md                      # Project context (customize this!)
.github/
└── workflows/
    └── claude-review.yml      # Optional: CI integration

🔧 Available Commands

Testing Commands

Command Description Example
/test <file> Generate tests for a file /test src/auth.py
/test --changed Test all changed files /test --changed
/test-coverage Analyze and improve coverage /test-coverage

Security Commands

Command Description Example
/security-check Full security audit /security-check
/security-check --deps Check dependencies only /security-check --deps
/security-fix Auto-fix vulnerabilities /security-fix

Code Quality Commands

Command Description Example
/detailed-review Review staged changes /detailed-review
/detailed-review <file> Review specific file /detailed-review src/api.py
/fix-bugs Detect and fix issues /fix-bugs
/refactor <file> Safe refactoring /refactor src/legacy.py

Documentation Commands

Command Description Example
/docs Generate/update docs /docs
/docs <file> Document specific file /docs src/utils.py

💡 Built-in Commands

Claude Code has excellent built-in commands you should know:

  • /security-review - AI-powered security scanning
  • /review - Code review
  • /init - Initialize project with CLAUDE.md
  • /compact - Compress context when running low

🛡️ Safety Guidelines

What Claude Code CAN Do Safely

✅ Generate and run tests
✅ Analyze code for vulnerabilities
✅ Suggest fixes with explanations
✅ Create documentation
✅ Refactor with your approval

What Requires Your Review

⚠️ Any changes to authentication/authorization
⚠️ Database migrations
⚠️ Environment/config changes
⚠️ Dependency updates
⚠️ Production deployment scripts

Best Practices

  1. Review before commit - Always review generated code
  2. Use branches - Let Claude work on feature branches
  3. Incremental changes - Small, focused tasks work best
  4. Test first - Run tests before accepting changes
  5. Version control - Commit frequently, revert if needed

🔌 Language-Specific Setup

Python
# Add to your CLAUDE.md

## Testing
- Framework: pytest
- Run: `pytest tests/ -v`
- Coverage: `pytest --cov=src --cov-report=html`

## Style
- Formatter: black, isort
- Linter: ruff or flake8
- Types: mypy
JavaScript/TypeScript
# Add to your CLAUDE.md

## Testing
- Framework: jest or vitest
- Run: `npm test`
- Coverage: `npm test -- --coverage`

## Style
- Formatter: prettier
- Linter: eslint
- Types: TypeScript strict mode
Go
# Add to your CLAUDE.md

## Testing
- Framework: testing + testify
- Run: `go test ./...`
- Coverage: `go test -coverprofile=coverage.out ./...`

## Style
- Formatter: gofmt, goimports
- Linter: golangci-lint

🤝 Contributing

Contributions welcome! Please read CONTRIBUTING.md for guidelines.

Ideas for Contributions

  • More language-specific templates
  • Framework-specific commands (Django, React, etc.)
  • CI/CD integration examples
  • IDE extension recommendations
  • Video tutorials

📚 Resources

📄 License

MIT License - feel free to use in personal and commercial projects.


Made with 🤖 by the community, for the community

Star ⭐ this repo if you find it useful!

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

claude_code_starter_kit_mcp-0.1.0.tar.gz (36.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

claude_code_starter_kit_mcp-0.1.0-py3-none-any.whl (34.7 kB view details)

Uploaded Python 3

File details

Details for the file claude_code_starter_kit_mcp-0.1.0.tar.gz.

File metadata

File hashes

Hashes for claude_code_starter_kit_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 63f59c9bec6706ea8c805cdea86a4dc4ea3f5900857f6a1f442676c8fca3e46b
MD5 28b943640c40882050cae8be5a47691b
BLAKE2b-256 9177d2d9723925398af4ac7436034aff1bdc7e7fb1253536d60ef396097c88ba

See more details on using hashes here.

Provenance

The following attestation bundles were made for claude_code_starter_kit_mcp-0.1.0.tar.gz:

Publisher: publish.yml on dachivadachkoria/claude-code-starter-kit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file claude_code_starter_kit_mcp-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for claude_code_starter_kit_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f684e52535256e576639b768db63f3bea16836b34f7e53e2ad549184d2c7d088
MD5 b1295903a2cc17056c52cb78c7e76e31
BLAKE2b-256 059b42bb6954ee601e14c9d6bf479781b65b37a0617cab899b60d31e9ea674b3

See more details on using hashes here.

Provenance

The following attestation bundles were made for claude_code_starter_kit_mcp-0.1.0-py3-none-any.whl:

Publisher: publish.yml on dachivadachkoria/claude-code-starter-kit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page