Designing a TypeScript harness for coding agents
·2026.05.03 10:49
Key point
It emphasizes that coding agent performance depends more on harness design than on the model.
Details
Viewing the codebase as an execution environment for agents, it argues that fast verification, narrow blast radius, and pre-commit guardrails are what enable Claude Code or Cursor to produce maintainable code.
- It uses a
pnpm-based monorepo split intoapps/,packages/, anddocs/, witheslint-config,typescript-config,shared-utils, andshared-typesas shared packages. - Each app imports the shared ESLint config to apply the same rules.
- Common skills live in
.agents/skills, with.codexand.claudeconnected via symlinks so that multiple agents use the same best practices. CLAUDE.mdcontains the architecture, Notion documentation update rules, and AI coding rules, managing code and documentation together.- It encapsulates team-wide conventions by referencing skills like
nestjs-best-practicesandtypescript-advanced-types, and reduces slop with prohibition rules such asNo casting,No narration comments,No single-use abstractions, andNo speculative error handling. - Every 24 hours, GitHub Actions runs Claude Code to clean up dead code and outdated documentation, and also keeps
CLAUDE.mdup to date.
This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.
Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.