New advertisers: 50% off your first month with code FIRSTMONTHSee slots
davepoon avatar

commands-code-analysis-testing

Bundled testing, analysis, and code-review commands spanning mutation, property-based, load, and visual testing.

version
1.0.0
GitHub stars
3.8K
View on GitHub

What it does

  • Adds 18 commands, including /write-tests, /generate-tests, /test-coverage, /tdd, /check, /optimize, and /repro-issue
  • Covers test setup for mutation testing, property-based testing, load testing, visual testing, and end-to-end testing
  • Includes /code_analysis and /agent-preflight for analyzing code and checking agent work before execution
  • Provides /test-changelog-automation and /testing_plan_integration for linking test output with changelog and planning workflows

Add marketplace

/plugin marketplace add davepoon/buildwithclaude

Run it inside Claude Code once, then install the plugin below.

Install

/plugin install commands-code-analysis-testing@buildwithclaude

Run it inside Claude Code after adding the marketplace.

Files

Discovered from source

Add Mutation Testing

Setup mutation testing for code quality

Instructions

  1. Mutation Testing Strategy Analysis

    • Analyze current test suite coverage and quality
    • Identify critical code paths and business logic for mutation testing
    • Assess existing testing infrastructure and CI/CD integration points
    • Determine mutation testing scope and performance requirements
    • Plan mutation testing integration with existing quality gates
  2. Mutation Testing Tool Selection

    • Choose appropriate mutation testing framework:
      • JavaScript/TypeScript: Stryker, Mutode
      • Java: PIT (Pitest), Major
      • C#: Stryker.NET, VisualMutator
      • Python: mutmut, Cosmic Ray, MutPy
      • Go: go-mutesting, mut
      • Rust: mutagen, cargo-mutants
      • PHP: Infection
    • Consider factors: language support, performance, CI integration, reporting
  3. Mutation Testing Configuration

    • Install and configure mutation testing framework
    • Set up mutation testing configuration files and settings
    • Configure mutation operators and strategies
    • Set up file and directory inclusion/exclusion rules
    • Configure performance and timeout settings
  4. Mutation Operator Configuration

    • Configure arithmetic operator mutations (+, -, *, /, %)
    • Set up relational operator mutations (<, >, <=, >=, ==, !=)
    • Configure logical operator mutations (&&, ||, !)
    • Set up conditional boundary mutations (< to <=, > to >=)
    • Configure statement deletion and insertion mutations
  5. Test Execution and Performance

    • Configure mutation test execution strategy and parallelization
    • Set up incremental mutation testing for large codebases
    • Configure mutation testing timeouts and resource limits
    • Set up mutation test caching and optimization
    • Configure selective mutation testing for changed code
  6. Quality Metrics and Thresholds

    • Set up mutation score calculation and reporting
    • Configure mutation testing thresholds and quality gates
    • Set up mutation survival analysis and reporting
    • Configure test effectiveness metrics and tracking
    • Set up mutation testing trend analysis
  7. Integration with Testing Workflow

    • Integrate mutation testing with existing test suites
    • Configure mutation testing execution order and dependencies
    • Set up mutation testing in development and CI environments
    • Configure mutation testing result integration with test reports
    • Set up mutation testing feedback loops for developers
  8. CI/CD Pipeline Integration

    • Configure automated mutation testing in continuous integration
    • Set up mutation testing scheduling and triggers
    • Configure mutation testing result reporting and notifications
    • Set up mutation testing performance monitoring
    • Configure mutation testing deployment gates
  9. Result Analysis and Remediation

    • Set up mutation testing result analysis and visualization
    • Configure surviving mutant analysis and categorization
    • Set up test gap identification and remediation workflow
    • Configure mutation testing regression tracking
    • Set up automated test improvement recommendations
  10. Maintenance and Optimization

    • Create mutation testing maintenance and optimization procedures
    • Set up mutation testing configuration version control
    • Configure mutation testing performance optimization
    • Document mutation testing best practices and guidelines
    • Train team on mutation testing concepts and workflow
    • Set up mutation testing tool updates and maintenance

From the davepoon/buildwithclaude README

Build with Claude

Claude Skills, Agents, Commands, Hooks, Plugins, Marketplaces collections for and extend Claude Code

Open Source License: MIT PRs Welcome GitHub stars

A plugin marketplace and discovery platform for Claude Code. Browse curated plugins, discover community contributions, and extend your Claude Code workflows.

Quick Start

# Add the Build with Claude marketplace
/plugin marketplace add davepoon/buildwithclaude

# Browse available plugins
/plugin search @buildwithclaude

# Install plugins
/plugin install <plugin-name>@buildwithclaude

What's Included

Build with Claude Plugins

Curated collections maintained in this repository:

TypeCountDescription
Agents117Specialized AI experts (Python, Go, DevOps, Security, etc.)
Commands175Slash commands for automation (/commit, /docs, /tdd)
Hooks28Event-driven automation (notifications, git, formatting)
Skills26Reusable capabilities from plugins
Plugins51Bundled plugin packages by category

Community Discovery

The platform indexes plugins from the broader Claude Code ecosystem:

  • 20k+ Community Plugins from external marketplaces
  • 4,500+ MCP Servers for database, API, and tool connections
  • 1,100+ Plugin Marketplaces from the community

Web UI

Browse, search, and explore everything at buildwithclaude.com

Build with Claude Homepage

Browse Plugins

Browse Skills

Browse MCP Servers

Browse Plugin Marketplaces

Features

  • Browse all plugin types with filtering
  • Search across plugins, agents, commands, hooks, skills
  • Copy install commands with one click
  • View full documentation and usage examples
  • Discover MCP servers and community plugins

Installation Options

Option 1: Plugin Marketplace (Recommended)

# Add marketplace
/plugin marketplace add davepoon/buildwithclaude

# Install specific plugins
/plugin install agents-python-expert@buildwithclaude
/plugin install commands-version-control-git@buildwithclaude
/plugin install hooks-notifications@buildwithclaude

# Or install everything
/plugin install all-agents@buildwithclaude
/plugin install all-commands@buildwithclaude
/plugin install all-hooks@buildwithclaude

Option 2: Manual Installation

# Clone repository
git clone https://github.com/davepoon/buildwithclaude.git
cd buildwithclaude

# Install agents
find plugins/agents-*/agents -name "*.md" -exec cp {} ~/.claude/agents/ \;

# Install commands
find plugins/commands-*/commands -name "*.md" -exec cp {} ~/.claude/commands/ \;

# Restart Claude Code

Available Plugin Categories

Agents (11 categories)

  • Development & Architecture - Backend, frontend, mobile, GraphQL experts
  • Language Specialists - Python, Go, Rust, TypeScript, C/C++ experts
  • Quality & Security - Code review, security audit, debugging
  • Infrastructure & Operations - DevOps, cloud, database optimization
  • Data & AI - ML engineering, data pipelines, AI development
  • Crypto & Blockchain - Trading systems, DeFi, Web3 development

Browse all agents →

Browse Subagents

Commands (22 categories)

  • Version Control - Commit, PR creation, branch management
  • Code Analysis - Testing, review, optimization
  • Documentation - Docs generation, changelogs, API specs
  • Project Management - Todos, PRDs, task tracking

Browse all commands →

Browse Commands

Hooks (8 categories)

  • Notifications - Slack, Discord, Telegram alerts
  • Git - Auto-staging, smart commits
  • Development - Lint on save, auto-format
  • Security - File protection, vulnerability scanning

Browse all hooks →

Browse Hooks

Usage Examples

Using Agents

Agents are automatically invoked based on context, or explicitly called:

"Use the python-pro to optimize this function"
"@agent-security-auditor review this authentication code"
"Have the devops-troubleshooter help debug this deployment"

Using Commands

Commands use the / prefix:

/commit                    # Create conventional commit
/create-pr                 # Create pull request
/docs                      # Generate documentation
/tdd                       # Start test-driven development
/code_analysis             # Analyze code quality

Using Hooks

Hooks run automatically on events like tool calls or session start.

Contributing

We welcome contributions!

Adding Plugins

  1. Create a new directory in plugins/ following the naming convention
  2. Add your plugin files (agents, commands, hooks)
  3. Run npm test to validate
  4. Submit a pull request

Plugin Format

Agent (plugins/agents-*/agents/*.md):

---
name: agent-name
description: When to invoke this agent
category: category-name
tools: Read, Write, Bash
---

You are a [role description]...

Command (plugins/commands-*/commands/*.md):

---
description: What this command does
category: category-name
argument-hint: <args>
---

Command implementation...

Hook (plugins/hooks-*/hooks/*.md):

---
hooks: PreToolUse, PostToolUse
description: What this hook does
---

Hook implementation...

See CONTRIBUTING.md for detailed guidelines.

Contributors

This project exists thanks to all the people who contribute.

Contributors

Contribute on our GitHub

Links

License

MIT License - see LICENSE for details.


Made with ❤️ by Dave Poon

Details

Marketplace
davepoon/buildwithclaude
Source
plugins/commands-code-analysis-testing
Author
BuildWithClaude Community
Category
Commands
License
MIT
Keywords
commands, slash-commands, code-analysis-testing, add-mutation-testing, add-property-based-testing, check, clean, code_analysis, e2e-setup, generate-test-cases, generate-tests, optimize, repro-issue, setup-comprehensive-testing, setup-load-testing, setup-visual-testing, tdd, test-changelog-automation, test-coverage, testing_plan_integration, write-tests
Listed since
Apr 6, 2026

More from davepoon/buildwithclaude

All 237

Similar to commands-code-analysis-testing

More Testing & QA