~ / rigs / porkchop / phasekit

porkchop/phasekit

A reusable Claude Code project scaffold for methodical, phase-gated software delivery.

↗ GitHub ★ 1 MIT updated 21d ago project Claude CodeCodex Claude plugin
stack: Python
share on X
ARCHETYPE
Fort Knox
Deny lists, pre-tool hooks, sandboxing. Nothing touches prod without a signature.
CONTEXT TAX · EVERY TURN
~2.4k tokens
Moderate · median rig: 2.3k · breakdown
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-teamadversarial reviewer for plans and architecture changes. challenge assumptions, expose hidden coupling, scaling issues, security holes, weak acceptance criteria, and risky migrations.
backend-builderbuilder for APIs, persistence, auth/session ownership, server-authoritative validation, migrations, and integration logic.
code-reviewerreviewer for code quality, architecture compliance, test sufficiency, duplication, hidden constants, and maintainability.
design-revieweradvisory 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-builderbuilder for domain logic, rules engines, deterministic state transitions, and core libraries. keep rules centralized, typed, and testable.
frontend-builderbuilder 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-leadproject 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-playwrightbrowser verification agent for user-visible work. exercise flows, capture screenshots, inspect console and network, and report clear reproduction steps.
release-hardeningproduction-readiness reviewer for deployments, configuration, observability, backups, abuse controls, and operational safety.
strategy-plannerplanning specialist for major implementation decisions. compare options, tradeoffs, risks, migration strategy, test strategy, and recommend the narrowest high-confidence plan.

Hooks (5)

eventmatcherruns
PreToolUseBash./.claude/hooks/deny-dangerous-commands.sh
PreToolUse*./.claude/hooks/wrapup-nudge.sh
SessionStartcompact./.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

copied ✓