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.
ARCHETYPE
Fort Knox
Deny lists, pre-tool hooks, sandboxing. Nothing touches prod without a signature.
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)
| reviewer | Read-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)
| event | matcher | runs |
|---|---|---|
| PreToolUse | Read|Edit|Write|MultiEdit|NotebookEdit|Bash | node "$CLAUDE_PROJECT_DIR/.claude/hooks/guard.mjs" |
| PostToolUse | Edit|Write|MultiEdit | node "$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
otaq-io/otaq
Otaq is a desktop app that runs Claude Code, Codex, Copilot and OpenCode through stages you design
Minimalist 621 tok · · Q0
nahyun2215-stack/claude-dotfiles
claude-dotfiles
Minimalist 155 tok · · Q0
HustleCoding/agent-setup
My personal setup for AI coding agents: plain reply style, a style hook and three skills, installed into Claude Code, Codex and DeepSeek Harness
Minimalist 161 tok · · Q0
pysan3/dotfiles
☕ My Dot Files
Pragmatist 1.4k tok · · Q0