porkchop/phasekit
A reusable Claude Code project scaffold for methodical, phase-gated software delivery.
field: Developer tools workflow: Planning & specsPR / code reviewTesting & TDDData / ETLSecurity review
stack: Python
ARCHETYPE
Fort Knox
Deny lists, pre-tool hooks, sandboxing. Nothing touches prod without a signature.
GUARDRAILS
4/5
Blocks destructive commands · Protects secrets · Pre-tool screening hook · No YOLO mode · details
Quality 59/100 Guardrails v2
Copy this rig
# review before running: this installs third-party code
$ npx degit porkchop/phasekit/.claude ./rig-phasekit # inspect, then merge into .claude/ MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.
$ npx degit porkchop/phasekit/.claude/skills/autonomous-product-builder .claude/skills/autonomous-product-builder $ curl -fsSL --create-dirs -o .claude/agents/architecture-red-team.md https://raw.githubusercontent.com/porkchop/phasekit/master/.claude/agents/architecture-red-team.md $ curl -fsSL --create-dirs -o .claude/agents/backend-builder.md https://raw.githubusercontent.com/porkchop/phasekit/master/.claude/agents/backend-builder.md $ curl -fsSL --create-dirs -o .claude/agents/code-reviewer.md https://raw.githubusercontent.com/porkchop/phasekit/master/.claude/agents/code-reviewer.md $ curl -fsSL --create-dirs -o .claude/agents/design-reviewer.md https://raw.githubusercontent.com/porkchop/phasekit/master/.claude/agents/design-reviewer.md $ curl -fsSL --create-dirs -o .claude/agents/engine-builder.md https://raw.githubusercontent.com/porkchop/phasekit/master/.claude/agents/engine-builder.md $ curl -fsSL --create-dirs -o .claude/agents/frontend-builder.md https://raw.githubusercontent.com/porkchop/phasekit/master/.claude/agents/frontend-builder.md $ curl -fsSL --create-dirs -o .claude/agents/project-lead.md https://raw.githubusercontent.com/porkchop/phasekit/master/.claude/agents/project-lead.md $ curl -fsSL --create-dirs -o .claude/agents/qa-playwright.md https://raw.githubusercontent.com/porkchop/phasekit/master/.claude/agents/qa-playwright.md $ curl -fsSL --create-dirs -o .claude/agents/release-hardening.md https://raw.githubusercontent.com/porkchop/phasekit/master/.claude/agents/release-hardening.md $ curl -fsSL --create-dirs -o .claude/agents/strategy-planner.md https://raw.githubusercontent.com/porkchop/phasekit/master/.claude/agents/strategy-planner.md
Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.
{
"permissions": {
"deny": [
"Bash(git push --force *)",
"Bash(git push -f *)",
"Bash(git push --force-with-lease *)",
"Bash(git push --delete *)",
"Bash(git push --mirror *)",
"Bash(git tag -d *)",
"Bash(git tag --delete *)",
"Bash(git tag -f *)",
"Bash(git tag --force *)",
"Bash(git reset --hard *)",
"Bash(git clean -fd *)",
"Bash(rm -rf *)",
"Read(./.env)",
"Read(./.env.*)",
"Read(./secrets/**)",
"Read(./config/credentials.json)"
]
},
"hooks": {
"PreToolUse": [
{
"matcher": "Bash",
"hooks": [
{
"type": "command",
"command": "./.claude/hooks/deny-dangerous-commands.sh"
}
]
},
{
"matcher": "*",
"hooks": [
{
"type": "command",
"command": "./.claude/hooks/wrapup-nudge.sh"
}
]
}
]
}
} Skills (1)
Subagents (10)
| architecture-red-team | adversarial reviewer for plans and architecture changes. challenge assumptions, expose hidden coupling, scaling issues, security holes, weak acceptance criteria, and risky migrations. |
| backend-builder | builder for APIs, persistence, auth/session ownership, server-authoritative validation, migrations, and integration logic. |
| code-reviewer | reviewer for code quality, architecture compliance, test sufficiency, duplication, hidden constants, and maintainability. |
| design-reviewer | advisory taste review for user-visible work. judges the latest ui-check screenshots against the project's design brief and design system and writes one small findings record. never blocks; MAJOR findi |
| engine-builder | builder for domain logic, rules engines, deterministic state transitions, and core libraries. keep rules centralized, typed, and testable. |
| frontend-builder | builder for user-facing interfaces, temporary graphics, and client workflows. keep presentation separate from domain logic and favor clear placeholder visuals until final art exists. |
| project-lead | project lead that reads the product docs, chooses the next smallest verified step, delegates to specialist subagents, requires planning and adversarial review for high-risk work, and stops at phase ap |
| qa-playwright | browser verification agent for user-visible work. exercise flows, capture screenshots, inspect console and network, and report clear reproduction steps. |
| release-hardening | production-readiness reviewer for deployments, configuration, observability, backups, abuse controls, and operational safety. |
| strategy-planner | planning specialist for major implementation decisions. compare options, tradeoffs, risks, migration strategy, test strategy, and recommend the narrowest high-confidence plan. |
Hooks (5)
| event | matcher | runs |
|---|---|---|
| PreToolUse | Bash | ./.claude/hooks/deny-dangerous-commands.sh |
| PreToolUse | * | ./.claude/hooks/wrapup-nudge.sh |
| SessionStart | compact | ./.claude/hooks/compact-reanchor.sh |
| Stop | * | ./.claude/hooks/require-verdict.sh |
| PostToolUse | * | ./.claude/hooks/wrapup-nudge.sh |
Permissions
deny (16)
Bash(git push --force *)
Bash(git push -f *)
Bash(git push --force-with-lease *)
Bash(git push --delete *)
Bash(git push --mirror *)
Bash(git tag -d *)
Bash(git tag --delete *)
Bash(git tag -f *)
Bash(git tag --force *)
Bash(git reset --hard *)
Bash(git clean -fd *)
Bash(rm -rf *)
Read(./.env)
Read(./.env.*)
Read(./secrets/**)
Read(./config/credentials.json)
ask (0)
—
allow (18)
Bash(ls *)
Bash(find *)
Bash(node --version)
Bash(npm ci)
Bash(npm install)
Bash(pnpm install)
Bash(npm run lint *)
Bash(pnpm run lint *)
Bash(npm run test *)
Bash(pnpm run test *)
Bash(npm run build *)
Bash(pnpm run build *)
Bash(npx playwright *)
Bash(git status *)
Bash(git diff *)
Bash(git log *)
Bash(git branch *)
Bash(git add *)
Similar rigs
AlejoPH03/roundtrip-travel-app
Social travel app prototype: friends' trips on a 3D globe, trusted recommendations and group trip planning. Vanilla JS, no build step.
Minimalist 1.6k tok · · Q3
berni23/laight
Run teams of coding agents in tmux from YAML workflows, with one queue for every human decision.
Pragmatist 8.3k tok · · Q35
lgamorim/claude-rules
Opinionated Claude Code rules for .NET and C# with conventions, architecture guidance, and guardrails for idiomatic, production-ready code.
Pragmatist 4.2k tok · · Q3
storytree-ai/storytree
Storytree 0.3: a map for you and your agents
Orchestrator 12.4k tok · · Q25