Skip to main content
Glama

šŸ¤– 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.


Related MCP server: Claude Flow MCP

šŸŽÆ 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

# 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
# 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
# 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!

Available Tools

12 tools
agent_bug_hunterC

Expert at detecting bugs, anti-patterns, and potential issues

Inputs: arguments.

agent_code_reviewerC

Expert code reviewer for quality and maintainability

Inputs: arguments.

agent_security_auditorD

Security expert for vulnerability detection and remediation

Inputs: arguments.

agent_test_engineerC

Specialized agent for comprehensive test generation

Inputs: arguments.

command_detailed_reviewB

Structured code review with checklist and severity ratings

Inputs: arguments.

command_docsC

Generate or update documentation for code

Inputs: arguments.

command_fix_bugsC

Detect and fix common bugs, anti-patterns, and code issues

Inputs: arguments.

command_monitorC

Monitor repository health, track issues, and identify maintenance tasks

Inputs: arguments.

command_refactorB

Safely refactor code with test verification

Inputs: arguments.

command_security_checkC

Scan for security vulnerabilities in code and dependencies

Inputs: arguments.

command_testB

Generate comprehensive unit tests for files. Use /test or /test --changed

Inputs: arguments.

command_test_coverageC

Analyze test coverage and generate tests for uncovered code

Inputs: arguments.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.9/5.0

    Scored across 12 tools

    Disambiguation3/5

    There is overlap between agent tools (e.g., agent_bug_hunter, agent_code_reviewer) and command tools (e.g., command_fix_bugs, command_detailed_review) that cover similar concerns. However, descriptions differentiate detection vs. action, so some ambiguity remains.

    Naming Consistency4/5

    Tools follow two consistent prefixes ('agent_' and 'command_') and use snake_case throughout. While the pattern is clear, the split between role-based and action-based naming could be more uniform.

    Tool Count5/5

    With 12 tools covering code review, bug detection, security, testing, documentation, refactoring, and monitoring, the count is well-scoped for a comprehensive code quality assistant.

    Completeness5/5

    The toolkit covers the full lifecycle of code quality: analysis (agents), fixes, tests, documentation, monitoring, and refactoring. No obvious gaps for its stated purpose.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides semantic code intelligence to help users search, navigate, and analyze entire codebases using plain English. It enables Claude to perform architectural overviews, bug detection, and refactor suggestions through local semantic search and keyword indexing.
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Enables real-time code analysis for JavaScript, TypeScript, and Python through Claude Desktop and other MCP clients, detecting bugs, code smells, and security vulnerabilities with automated quick fixes.
      7
      125 npm
      4
      MIT