By toru-oizumi
Personal Harness Engineering plugin for Claude Code. Deterministic guardrails, fast Write/Edit feedback loops, Proto-first architecture, and multi-model PR review for TypeScript / Go / Protocol Buffers projects.
Run architecture enforcement checks: go-arch-lint YAML rules for Go, dependency-cruiser or @softarc/sheriff for TypeScript, depguard, and Factory.ai 4-category framework (grep-ability, glob-ability, architecture boundaries, security). Use when you want to verify layer constraints are not violated, after adding new dependencies, or before opening a PR. Do NOT use for runtime design pattern advice (use architecture-advisor for that).
Implement a feature using Explorer+Workers parallel agents. Use when implementing a non-trivial feature in a single session.
Add Proto harness support to an existing repository. Installs buf.yaml, buf.gen.yaml, review-profile.proto.yaml, and the first .proto file skeleton if none exists.
Diagnose the current repository's Harness Engineering state. Reports which configs are present, which are missing, which linters are installed on PATH, and whether hooks are active.
Bootstrap the current repository with Harness Engineering tooling. Detects TS/Go/Proto stack, installs config templates, CLAUDE.md, lefthook.yml, and .claude/review-profile.yaml.
Protocol Buffers harness configuration guidance. Covers buf lint, buf format, buf breaking (wire compatibility detection), protolint (fallback), field number conventions, reserved tags discipline, and Connect RPC/gRPC integration. Use when adding a new .proto service, troubleshooting buf hook failures, designing a breaking-change-safe schema evolution, or setting up buf.yaml. THIS IS THE GAP that most dev playbooks don't fill.
Pre-PR quality gate: stage files, review code comments, run code review, then execute lint/test. Use when ready to create a PR, before committing a logical chunk of work, or before requesting team review. Do NOT use for reviewing someone else's PR (use pr-reviewer-3a).
Review and update code comments in staged files — add missing doc comments, remove obvious/stale comments, and add LLM-friendly context. Use when asked to 'review comments', 'clean up comments', or 'add doc comments' before committing. Do NOT use for logic review (use pr-reviewer-3a).
TypeScript/JavaScript harness configuration guidance. Covers Biome (format), Oxlint (lint), tsc (type check), dependency-cruiser or @softarc/sheriff (architecture boundaries), and Knip (dead code). Use when setting up TS harness, troubleshooting TS lint hook failures, choosing between ESLint and Oxlint, or enforcing layer boundaries in TS monorepos. Do NOT use for Go or Proto — see go-stack / proto-stack.
Go harness configuration guidance. Covers gofumpt (format), golangci-lint v2 with depguard/cyclop/iface/exhaustive, go-arch-lint (layer boundaries), gosec (security), and custom go/analysis analyzers. Use when setting up Go harness, troubleshooting Go lint hook failures, writing .golangci.yml, or declaring architecture rules in .go-arch-lint.yml. Do NOT use for TS or Proto.
Matches all tools
Hooks run on every tool call, not just specific ones
Uses power tools
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Uses Bash, Write, or Edit tools
Uses Bash, Write, or Edit tools
Personal Harness Engineering plugin for Claude Code. Deterministic guardrails, fast Write/Edit feedback loops, Proto-first architecture, and multi-model PR review — for TypeScript, Go, and Protocol Buffers projects.
An opinionated Claude Code plugin that applies Harness Engineering principles to everyday coding sessions:
model = CPU, context = RAM, harness = OS
The goal: make it structurally impossible for the agent to ship code that violates your architecture, silence your linters, or break proto wire compatibility — without you having to babysit it.
"Most of the value comes from the harness, not the model." — Mitchell Hashimoto, OpenAI harness engineering, 2026
Instead of hoping the LLM behaves, this plugin wires deterministic tools into the Claude Code session lifecycle. The agent gets fast, tight feedback loops — not vague instructions.
Every file write triggers a language-aware lint + format pass. Violations are injected back as additionalContext on the next turn, so Claude self-corrects within the same flow — without losing context or requiring a second prompt.
| Language | Formatter | Linter | Arch check |
|---|---|---|---|
| TypeScript / JS | Biome | Oxlint | dependency-cruiser / sheriff |
| Go | gofumpt + goimports | golangci-lint v2 | go-arch-lint |
| Proto | buf format | buf lint + protolint | buf breaking |
All formatters complete in <100ms (Biome, Oxlint, gofumpt are Rust/Go binaries — no slow Node startup).
biome.json, .golangci.yml, .go-arch-lint.yml, buf.yaml, tsconfig.json, and similar harness files are write-protected for agents. When Claude hits a lint violation, it cannot "fix" it by disabling the rule — it must fix the code.
Protected file categories:
| Stack | Files |
|---|---|
| TypeScript | biome.json, biome.jsonc, .oxlintrc.json, tsconfig*.json, .eslintrc*, eslint.config.*, .prettierrc*, .dependency-cruiser.* |
| Go | .golangci.yml, .golangci.yaml, .go-arch-lint.yml, gosec.yaml |
| Proto | buf.yaml, buf.gen.yaml, .protolint.yaml |
| Cross-cutting | lefthook.yml, .pre-commit-config.yaml |
| Claude Code | .claude/settings.json, .claude/review-profile.yaml |
Blocked edits produce a clear exit 2 message: harness-engineering: BLOCKED edit on protected config file. Only a human can change these configs.
Dangerous shell commands are blocked at the PreToolUse hook before execution:
git commit --no-verify — bypasses pre-commit hooksrm -rf on protected directoriesgit reset --hard on protected branches (main, develop, master)git push --force to protected brancheschmod 777, sudo rm, and other destructive patternsThe firewall exits with exit 2 and explains why the command was blocked. Claude cannot proceed without explicitly working around the constraint — which requires justification visible in the conversation.
Every .proto file write runs three checks:
buf lint — validates proto style and correctnessbuf format --diff — enforces consistent formattingbuf breaking --against .git#branch=main — detects wire-breaking changes before they landWire-breaking changes (removing fields, renaming enum values, changing field numbers) are caught immediately — not at deploy time. The buf.gen.yaml template supports both Connect RPC and gRPC code generation.
The pr-reviewer-3a skill reviews PRs from three angles — Business, Development, and Testing — in a single Claude session. Four modes:
| Mode | Description |
|---|---|
standard | Sequential Business / Dev / Testing review |
mob | Broad scan first, then deep-dive on flagged files |
deep | 3-round progressive review (surface → logic → integration) |
multi | Parallel personas, each perspective runs independently |
Run via /harness:review-pr or /harness:review-pr --mode mob.
25 skills ship with this plugin. Each lives in harness-engineering/skills/<name>/SKILL.md.
| Skill | Description |
|---|---|
harness-setup | Interactive repo bootstrap: detects stack, copies CLAUDE.md, installs configs and lefthook |
config-protect | Write-protection policy for linter configs; what's protected and why |
edit-lint-feedback-loop | PostToolUse → lint → additionalContext injection pipeline details |
careful-mode | Production safety guard that blocks destructive commands for the session |
npx claudepluginhub toru-oizumi/claude-harness-engineering --plugin harness-engineeringComprehensive skill pack with 66 specialized skills for full-stack developers: 12 language experts (Python, TypeScript, Go, Rust, C++, Swift, Kotlin, C#, PHP, Java, SQL, JavaScript), 10 backend frameworks, 6 frontend/mobile, plus infrastructure, DevOps, security, and testing. Features progressive disclosure architecture for 50% faster loading.
Complete creative writing suite with 10 specialized agents covering the full writing process: research gathering, character development, story architecture, world-building, dialogue coaching, editing/review, outlining, content strategy, believability auditing, and prose style/voice analysis. Includes genre-specific guides, templates, and quality checklists.
Intelligent draw.io diagramming plugin with AI-powered diagram generation, multi-platform embedding (GitHub, Confluence, Azure DevOps, Notion, Teams, Harness), conditional formatting, live data binding, and MCP server integration for programmatic diagram creation and management.
Upstash Context7 MCP server for up-to-date documentation lookup. Pull version-specific documentation and code examples directly from source repositories into your LLM context.
Comprehensive startup business analysis with market sizing (TAM/SAM/SOM), financial modeling, team planning, and strategic research
v9.44.1 — Patch release for Gemini environment/version detection and qwen auth gating. Run /octo:setup.