The ultimate Claude Code power-user toolkit.
Install once. Then just use claude normally in any project. The SDLC pipeline kicks in automatically.
# Install
git clone https://github.com/0xfulgore/cappy.git && cd cappy && ./install.sh
# That's it. Now in ANY project:
cd ~/your-project
claude "Add a user dashboard with analytics"
# Claude automatically: discovers → specs → designs → builds → reviews → validatesThe installer asks where your projects live (e.g., ~/Development), installs a CLAUDE.md there, and Claude Code picks it up in every subdirectory. No scaffolding, no CLI tools, no team setup needed.
To skip the pipeline: say "just do it", "quick fix", or "skip the process".
| Module | Description |
|---|---|
| core | SDLC pipeline + 12 mechanical overrides — the engine that drives everything |
| statusline | Animated status bar: model, context %, git, task progress, cost, ETA |
| settings | settings.json presets — power-user, cautious, team-lead |
| hooks | Post-edit typecheck, auto-lint, pre-commit gate, file guard |
| git-safety | Block force-push to main, conventional commit format hints |
| mcp | MCP servers: GitHub, PostgreSQL, Playwright |
| teams | 14 agent swarm templates: product SDLC, audit sweep, migration squad, perf clinic, test factory, dependency upgrade, incident responder, onboarding guide, API versioning, monorepo splitter, fullstack API, code review, docs sprint, refactor squad |
| skills | Task progress dashboard, skill discovery |
| templates | Project CLAUDE.md generators: React, Rust, Python, Expo, generic |
| performance | Perf directives: bundle size, N+1 queries, lazy loading, pagination |
| accessibility | WCAG 2.2 AA: keyboard nav, screen readers, contrast, touch targets |
| devops | CI/CD awareness, env var safety, Docker best practices, migrations |
| api-design | REST conventions, input validation, error handling, versioning |
git clone https://github.com/0xfulgore/cappy.git
cd cappy
./install.sh./install.sh --modules core,statusline,hooks./install.sh --non-interactive --preset power-user12 composable rules that make Claude Code produce production-grade code:
- Step 0 Cleanup — Remove dead code before refactoring
- Phased Execution — Max 5 files per phase, verify between phases
- Senior Dev Override — Fix architectural flaws, don't just follow orders
- Forced Verification — Must run type-check + lint before declaring done
- Sub-Agent Swarming — Parallel agents for tasks >5 files
- Context Decay Awareness — Re-read files after 10+ messages
- File Read Budget — 2000 line cap, chunk large files
- Tool Result Blindness — Detect truncated results, narrow scope
- Edit Integrity — Read before/after every edit, verify changes applied
- No Semantic Search — Grep isn't AST; search all reference types separately
- Definition of Done — Type-check, lint, test, build, coverage gates must ALL pass
- SDLC by Default — All non-trivial tasks follow the 6-phase pipeline (discovery → spec → design → build → review → validate) with user approval gates. Skip with "just do it"
Animated terminal status bar with:
- Model name and context window usage (color-coded)
- Git branch, dirty state, ahead/behind
- Lines changed, session cost, duration
- Task progress bar with animated spinner and ETA
- Team-aware task tracking
| Hook | Trigger | What it does |
|---|---|---|
post-edit-typecheck.sh |
After .ts/.tsx edits | Runs tsc --noEmit |
post-edit-lint.sh |
After file edits | Auto-runs ESLint/Biome/Ruff/Clippy |
pre-commit-check.sh |
Before git commit |
Type-check + lint + tests gate |
file-guard.sh |
Before file writes | Blocks edits to .env, credentials, keys |
A complete 8-agent software development lifecycle with defined handoffs and approval gates:
User Idea → Scout (discovery) → Spec (PRD) → 🔒 USER APPROVAL
→ Architect (design) → 🔒 USER APPROVAL → Engineers (parallel build)
→ Reviewer (code quality + security) → QA (final validation) → Ship
| Agent | Role | Phase |
|---|---|---|
| Lead | Orchestrates pipeline, manages approval gates | All |
| Scout | Explores codebase, researches competitors, surfaces questions | 1: Discovery |
| Spec | Writes PRD with user stories + acceptance criteria | 2: Specification |
| Architect | Technical design, schema, API contracts, task breakdown | 3: Design |
| Backend-Eng | Implements backend tasks (APIs, services, data) | 4: Build |
| Frontend-Eng | Implements frontend tasks (UI, state, routing) | 4: Build |
| Reviewer | Code quality + OWASP security audit (PASS/FAIL) | 5: Review |
| QA | Runs all DoD gates, traces acceptance criteria (PASS/FAIL) | 6: Validate |
Review and QA failures loop back to engineers until all issues are fixed.
~/.cappy/scaffold-team.sh product-sdlc \
--name dashboard-feature \
--description "User analytics dashboard" \
--tech "Next.js 15, TypeScript, Supabase"~/.cappy/scaffold-team.sh fullstack-api \
--name payments-api \
--description "Building the payments service" \
--tech "Rust with Actix-Web and SQLx"All templates:
| Template | Agents | Pipeline |
|---|---|---|
product-sdlc |
8 | discovery → spec → design → build → review → QA |
audit-sweep |
8 | 4 parallel auditors → triage → 2 fixers → verifier |
migration-squad |
6 | analyze → design → migrate → validate → rollback test |
perf-clinic |
5 | profile → plan → optimize (BE+FE parallel) → validate |
test-factory |
5 | analyze gaps → plan → write unit+integration+e2e → validate |
dependency-upgrade |
5 | scan → plan → upgrade → compatibility test |
incident-responder |
5 | reproduce → root cause → hotfix → post-mortem |
onboarding-guide |
5 | map → document architecture → trace flows → write guide |
api-versioning |
5 | analyze contracts → design v2 → migrate → update clients |
monorepo-splitter |
5 | map deps → define boundaries → extract → update CI/CD |
fullstack-api |
6 | architect → build (BE+FE) → test → docs |
code-review |
3 | security + quality review |
docs-sprint |
4 | API docs + guides + architecture |
refactor-squad |
5 | analyze → refactor → test |
Generate per-project CLAUDE.md files:
~/.cappy/scaffold-project.sh react-nextjs --name my-appTemplates: react-nextjs, rust-api, python-ml, expo-mobile, generic-fullstack
| Preset | Permissions | Agent Teams | Auto-Dream | Safety |
|---|---|---|---|---|
| power-user | Full (Bash, Read, Write, Edit, Web) | Enabled | On | rm -rf blocked |
| cautious | Read + Edit only | Disabled | Off | Bash restricted, secrets blocked |
| team-lead | Full | Enabled | On | rm -rf blocked |
~/.cappy/repo/update.shOr from a cloned repo:
cd cappy && git pull && ./update.shUpdates re-apply installed modules without touching your customizations. Cappy-managed sections in CLAUDE.md (inside <!-- cappy:managed-start/end --> markers) are replaced; your own content is preserved.
~/.cappy/repo/uninstall.shThis removes cappy-managed CLAUDE.md sections and hook files. Offers to restore from backup. Your settings.json is preserved (remove cappy entries manually if needed).
- Non-destructive: Always backs up existing configs before modifying
- Marker-based CLAUDE.md: Sections wrapped in
<!-- cappy:section:NAME -->markers enable surgical updates - JSON merging: Settings are deep-merged via
jq— arrays unioned, objects recursively merged - File collision detection: SHA256 comparison — identical files skipped, conflicts prompt user
- Module manifests: Each module has a
module.jsondeclaring its files, targets, and dependencies
- Claude Code CLI installed
jq(installer offers to install it)bash4+ (macOS ships 3.2 —brew install bashif needed)gitfor curl-pipe install and updates
MIT