~ / rigs / KirillGordievich / claude-harness-ts-starter

KirillGordievich/claude-harness-ts-starter

A TypeScript starter template for Claude Code with a structured agent workflow: task planning, iterative implementation, automated checks, guard hooks, and read-only code review.

↗ GitHub ★ 0 no license updated 1mo ago personal setup Claude Code
field: unknown workflow: Planning & specsTesting & TDD
share on X
ARCHETYPE
Fort Knox
Deny lists, pre-tool hooks, sandboxing. Nothing touches prod without a signature.
CONTEXT TAX · EVERY TURN
~2.3k 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 55/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ npx degit KirillGordievich/claude-harness-ts-starter/.claude ./rig-claude-harness-ts-starter  # 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 KirillGordievich/claude-harness-ts-starter/.claude/skills/grill-me .claude/skills/grill-me
$ npx degit KirillGordievich/claude-harness-ts-starter/.claude/skills/grilling .claude/skills/grilling
$ npx degit KirillGordievich/claude-harness-ts-starter/.claude/skills/task .claude/skills/task
$ curl -fsSL --create-dirs -o .claude/agents/reviewer.md https://raw.githubusercontent.com/KirillGordievich/claude-harness-ts-starter/master/.claude/agents/reviewer.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": [
      "Read(./.env)",
      "Read(./.env.*.local)",
      "Read(./secrets/**)"
    ],
    "ask": [
      "Bash(git push:*)",
      "Bash(git commit:*)",
      "Bash(pnpm add:*)",
      "Bash(pnpm remove:*)",
      "Bash(pnpm install:*)",
      "Bash(make migrate:*)",
      "Bash(make deploy:*)",
      "Bash(docker compose:*)"
    ]
  },
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Read|Edit|Write|MultiEdit|NotebookEdit|Bash",
        "hooks": [
          {
            "type": "command",
            "command": "node \"$CLAUDE_PROJECT_DIR/.claude/hooks/guard.mjs\""
          }
        ]
      }
    ]
  }
}

Skills (3)

Subagents (1)

reviewerRead-only review of the uncommitted diff against CLAUDE.md rules and the task's acceptance criteria. Use before finishing any non-trivial task; pass the plan file path if there is one.

Hooks (3)

eventmatcherruns
PreToolUseRead|Edit|Write|MultiEdit|NotebookEdit|Bashnode "$CLAUDE_PROJECT_DIR/.claude/hooks/guard.mjs"
PostToolUseEdit|Write|MultiEditnode "$CLAUDE_PROJECT_DIR/.claude/hooks/post_edit.mjs"
Stop*node "$CLAUDE_PROJECT_DIR/.claude/hooks/stop_gate.mjs"

Permissions

deny (3)
Read(./.env)
Read(./.env.*.local)
Read(./secrets/**)
ask (8)
Bash(git push:*)
Bash(git commit:*)
Bash(pnpm add:*)
Bash(pnpm remove:*)
Bash(pnpm install:*)
Bash(make migrate:*)
Bash(make deploy:*)
Bash(docker compose:*)
allow (13)
Bash(make check)
Bash(make typecheck)
Bash(make lint)
Bash(make test)
Bash(make test-hooks)
Bash(./node_modules/.bin/tsc --noEmit:*)
Bash(./node_modules/.bin/eslint:*)
Bash(./node_modules/.bin/vitest run:*)
Bash(node --test .claude/hooks/test:*)
Bash(git status:*)
Bash(git diff:*)
Bash(git log:*)
Bash(git show:*)

Similar rigs

copied ✓