~ / rigs / Takenori-Kusaka / pit-in-template

Takenori-Kusaka/pit-in-template

ピットイン方式(AI協調型ソフトウェア開発プロセス標準)準拠のプロジェクトテンプレート。/process-init で規模・事業ステージに応じたプロセス構成を生成する

↗ GitHub ★ 0 MIT updated 2d ago project Claude CodeCodex
field: unknown workflow: Planning & specs
stack: JavaScript
share on X
ARCHETYPE
Fort Knox
Deny lists, pre-tool hooks, sandboxing. Nothing touches prod without a signature.
CONTEXT TAX · EVERY TURN
~3.9k tokens
Moderate · median rig: 2.3k · breakdown
GUARDRAILS
5/5
Blocks destructive commands · Protects secrets · Pre-tool screening hook · No YOLO mode · Sandbox or ask-first rules · details
Quality 41/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ npx degit Takenori-Kusaka/pit-in-template/.claude ./rig-pit-in-template  # 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 Takenori-Kusaka/pit-in-template/.claude/skills/adr-write .claude/skills/adr-write
$ npx degit Takenori-Kusaka/pit-in-template/.claude/skills/artifact .claude/skills/artifact
$ npx degit Takenori-Kusaka/pit-in-template/.claude/skills/gate-record .claude/skills/gate-record
$ npx degit Takenori-Kusaka/pit-in-template/.claude/skills/gate .claude/skills/gate
$ npx degit Takenori-Kusaka/pit-in-template/.claude/skills/graft .claude/skills/graft
$ npx degit Takenori-Kusaka/pit-in-template/.claude/skills/human-verify .claude/skills/human-verify
$ npx degit Takenori-Kusaka/pit-in-template/.claude/skills/implement .claude/skills/implement
$ npx degit Takenori-Kusaka/pit-in-template/.claude/skills/pit .claude/skills/pit
$ npx degit Takenori-Kusaka/pit-in-template/.claude/skills/process-change .claude/skills/process-change
$ npx degit Takenori-Kusaka/pit-in-template/.claude/skills/process-init .claude/skills/process-init
$ npx degit Takenori-Kusaka/pit-in-template/.claude/skills/spec-write .claude/skills/spec-write
$ npx degit Takenori-Kusaka/pit-in-template/.claude/skills/task-breakdown .claude/skills/task-breakdown

Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.

{
  "permissions": {
    "deny": [
      "Read(./.env)",
      "Read(./.env.*)",
      "Read(./**/*.pem)",
      "Read(./**/*.key)",
      "Read(./**/id_rsa*)",
      "Read(./**/.aws/**)",
      "Read(./**/.ssh/**)",
      "Read(./context/_archive/**)",
      "Bash(npx -y @nanonets/graft@0.12.1 build --deep:*)",
      "Bash(npx -y @nanonets/graft@0.12.1 blast --name:*)",
      "Bash(gh pr review:*)",
      "Bash(gh auth token:*)",
      "Bash(gh api -X POST:*)",
      "Bash(gh api --method POST:*)",
      "Bash(gh api -X PUT:*)",
      "Bash(gh api --method PUT:*)",
      "Bash(gh api -X PATCH:*)",
      "Bash(gh api --method PATCH:*)",
      "Bash(gh api -X DELETE:*)",
      "Bash(gh api --method DELETE:*)"
    ],
    "ask": [
      "Bash(npm publish:*)",
      "Bash(wget:*)",
      "Edit(./.claude/settings.json)",
      "Edit(./.claude/guard.json)",
      "Edit(./.claude/hooks/**)",
      "Edit(./.github/rulesets/**)",
      "Edit(./.github/workflows/**)",
      "Edit(./process.config.json)",
      "Edit(./adapters/**)",
      "Edit(./scripts/gate/**)",
      "Edit(./scripts/vendor/**)",
      "Write(./scripts/vendor/**)",
      "Bash(git push --force:*)",
      "Bash(git push -f:*)",
      "Bash(gh pr merge:*)",
      "Bash(gh api repos/*/rulesets:*)",
      "Bash(gh api graphql:*)"
    ]
  },
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Edit|Write|MultiEdit|NotebookEdit",
        "hooks": [
          {
            "type": "command",
            "command": "node .claude/hooks/guard-write.mjs"
          }
        ]
      },
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": "node .claude/hooks/guard-bash.mjs"
          }
        ]
      }
    ]
  }
}

Skills (12)

Hooks (3)

eventmatcherruns
SessionStart*node scripts/gate/next.mjs --brief
PreToolUseEdit|Write|MultiEdit|NotebookEditnode .claude/hooks/guard-write.mjs
PreToolUseBashnode .claude/hooks/guard-bash.mjs

Permissions

deny (20)
Read(./.env)
Read(./.env.*)
Read(./**/*.pem)
Read(./**/*.key)
Read(./**/id_rsa*)
Read(./**/.aws/**)
Read(./**/.ssh/**)
Read(./context/_archive/**)
Bash(npx -y @nanonets/graft@0.12.1 build --deep:*)
Bash(npx -y @nanonets/graft@0.12.1 blast --name:*)
Bash(gh pr review:*)
Bash(gh auth token:*)
Bash(gh api -X POST:*)
Bash(gh api --method POST:*)
Bash(gh api -X PUT:*)
Bash(gh api --method PUT:*)
Bash(gh api -X PATCH:*)
Bash(gh api --method PATCH:*)
Bash(gh api -X DELETE:*)
Bash(gh api --method DELETE:*)
ask (17)
Bash(npm publish:*)
Bash(wget:*)
Edit(./.claude/settings.json)
Edit(./.claude/guard.json)
Edit(./.claude/hooks/**)
Edit(./.github/rulesets/**)
Edit(./.github/workflows/**)
Edit(./process.config.json)
Edit(./adapters/**)
Edit(./scripts/gate/**)
Edit(./scripts/vendor/**)
Write(./scripts/vendor/**)
Bash(git push --force:*)
Bash(git push -f:*)
Bash(gh pr merge:*)
Bash(gh api repos/*/rulesets:*)
Bash(gh api graphql:*)
allow (21)
Bash(git status:*)
Bash(git diff:*)
Bash(git log:*)
Bash(git add:*)
Bash(git commit:*)
Bash(git switch:*)
Bash(git branch:*)
Bash(gh issue list:*)
Bash(gh issue view:*)
Bash(gh pr view:*)
Bash(gh pr diff:*)
Bash(node scripts/gate/:*)
Bash(node scripts/init/:*)
Bash(npx -y @nanonets/graft@0.12.1 ask:*)
Bash(npx -y @nanonets/graft@0.12.1 grep:*)
Bash(npx -y @nanonets/graft@0.12.1 skeleton:*)
Bash(npx -y @nanonets/graft@0.12.1 callers:*)
Bash(npx -y @nanonets/graft@0.12.1 map:*)
Bash(npx -y @nanonets/graft@0.12.1 blast:*)
Bash(npx -y @nanonets/graft@0.12.1 check:*)
Bash(npx -y @nanonets/graft@0.12.1 build:*)

Similar rigs

copied ✓