By pvillega
Enforce a complete TDD workflow in Claude Code: detect bugs and test gaps, refactor code smells, eliminate duplication, optimize performance, and review security threats — all with multi-cycle auto-fixing and parallel agent execution
Discover shell aliases and generate Claude Code documentation for tool replacements
Use when conducting comprehensive research - applies scientific methodology with adaptive strategies, multi-hop reasoning, and evidence-based synthesis
Use this agent proactively to guide refactoring decisions during code improvement and reactively to assess refactoring opportunities after tests pass (TDD's third step). Invoke when tests are green, when considering abstractions, or when reviewing code quality.
Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality. Focuses on recently modified code unless instructed otherwise. Language-agnostic.
Structured research specialist for external knowledge gathering
Fixes critical code review findings. Receives review findings, applies targeted fixes, and verifies tests pass. Used by the fix-loop skill.
Autonomous code review agent. Use proactively after code changes to analyse for best practices, security, performance, and potential issues. Use when the user asks for a code review.
Discover edge cases and test coverage gaps through systematic analysis. Use when analysing test coverage, finding bugs, hunting for edge cases, reviewing code for robustness, or when code-reviewer identifies test gaps. Also use when the user says things like "what could go wrong", "is this well tested", "find holes in my tests", "what am I missing", or asks about edge cases for any function or module.
Use when the user mentions duplicated code, copy-paste, code clones, repeated code, similar code across files, overlapping implementations, code quality audit, code smells, technical debt involving duplication, or refactoring preparation. Also for cross-language duplication checks, CI duplication warnings, and codebase redundancy scans. DO NOT TRIGGER for implementing refactoring (use incremental-refactoring), fixing bugs, writing tests, adding features, or code review.
Iterative review-fix cycle that eliminates all critical issues. Runs code-reviewer, fixes critical findings, verifies tests pass, and repeats until clean or max iterations reached. Use when the user says "review and fix", "find and fix bugs", "clean up the code", "fix all issues", "review then fix", or any request that combines finding problems with resolving them automatically.
Use when the user asks to refactor, clean up, restructure, extract methods, reduce complexity, or improve code structure without changing behavior. Triggers on: extract method, move function, simplify conditional, reduce nesting, split class. To FIND duplicates first, use duplicate-code-detector then return here. Not for features, bugs, or performance.
Use when optimizing backend, API, database, or system performance. Also use when response times are slow, queries need tuning, throughput is degraded, or someone says "just add caching." Triggers on: optimize API, backend slow, API latency, database performance, query optimization, server response time, connection pooling, N+1 queries, cache strategy, load testing. For frontend/UI performance (Core Web Vitals, Lighthouse accessibility), use frontend-production-quality instead.
Uses power tools
Uses Bash, Write, or Edit tools
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
WARNING: This project is designed for use in sandboxed environments only.
A curated setup for Claude Code combining plugins (from the Claude marketplace) and skills (from skills.sh) with sandbox safety guards. Designed for YOLO mode (--dangerously-skip-permissions).
git clone https://github.com/pvillega/claude-templates.git
cd claude-templates
# Installs plugins, skills, and default settings
./install.sh
# Run Claude (added as an alias to your ~/.bashrc or ~/.zshrc)
cl
To update all installed plugins, skills, and tools to their latest versions:
./update.sh
To completely remove everything installed by this project:
./uninstall.sh
If you do not use Bash or Zsh, you can set up the alias manually:
alias cl='SLASH_COMMAND_TOOL_CHAR_BUDGET=30000 claude --dangerously-skip-permissions'
The installer requires the following to be available before running:
Homebrew is available on both macOS and Linux. To install:
# macOS and Linux
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
For Linux-specific instructions, see Homebrew on Linux.
Using agents without restrictions on tools poses some dangers. It could impact files outside your workspace, potentially damaging your system. Or it can exfiltrate data.
As a consequence, using Claude Code from your local environment by itself is risky. At this point in time there are multiple alternatives, so this template doesn't enforce any preferences.
What it does, though, it to restrict very dangerous commands (like git push --force)
The install.sh script installs plugins, skills, sandbox settings, and marketplace configuration. Run it from the repository root:
./install.sh
Use --clean for a fresh install when you want to remove stale configuration that might not be properly overridden. The --dry-run flag lets you preview what would be deleted before committing.
Tavily requires an API key. You can configure it via:
tvly login --api-key $(echo $TAVILY_API_KEY) to authenticate using your API key.export TAVILY_API_KEY=... to your shell profile.Plugins are installed from the Claude marketplace. They provide commands, agents, skills, and MCP server configurations.
| Plugin | Description | Trigger |
|---|---|---|
| Superpowers | Structured software development: TDD, debugging, brainstorming, subagent code review | /brainstorming, /execute-plan |
| Frontend Design | Generates production-grade frontend interfaces with bold aesthetic choices | Automatic |
| Code Review | PR analysis with five specialized agents checking compliance, bugs, and git history | /code-review |
| CLAUDE.md Management | Audits and improves CLAUDE.md files, captures learnings from sessions | audit my CLAUDE.md, /revise-claude-md |
| Security Guidance | Warns about security vulnerabilities when editing files (injection, XSS, etc.) | Automatic (pre-tool hook) |
| Skill Creator | Create, evaluate, improve, and benchmark skills | /skill-creator |
| Commit Commands | Automates commit messages, pushing, and PR creation with style analysis | /commit, /commit-push-pr |
| Claude Code Setup | Recommends tailored automations (MCP servers, skills, hooks, subagents) | recommend automations for this project |
| PR Review Toolkit | Code quality analysis with six specialized agents for comments, tests, types, etc. | Natural language PR review requests |
| Hookify | Create custom hooks from natural language — regex pattern matching, no coding required | /hookify Warn me when... |
npx claudepluginhub pvillega/claude-templates --plugin ctCore skills library for Claude Code: TDD, debugging, collaboration patterns, and proven techniques
Unified Claude Code plugin merging superpowers workflows (TDD, debugging, planning) with everything-claude-code productivity (agents, learning, hooks, rules)
Complete collection of battle-tested Claude Code configs from an Anthropic hackathon winner - agents, skills, hooks, and rules evolved over 10+ months of intensive daily use
Universal Claude Code workflow with specialized agents, skills, hooks, and output styles for any software project. Includes orchestrator, code-reviewer, debugger, docs-writer, security-auditor, refactorer, and test-architect agents.
Agentic development framework for Claude Code — disciplined workflow routing, TDD enforcement, safety hooks, systematic debugging, and code review
52 agent skills for systematic software development. Covers design, planning, TDD, code review, debugging, quality gates, and adversarial testing. 12 core skills are eval-tested with measured A/B deltas using Anthropic's skill evaluation framework.