← ClaudeAtlas

bootstrap-harnesslisted

Create a complete AI-agent harness (CLAUDE.md + supporting docs system) for any project. Portable across Python/Java/TS/Go. Based on 2025-2026 best practices (AGENTS.md spec, GitHub's 2,500-repo study, ACE paper, context-engineering research). Use when a repo has no harness, was just cloned/scaffolded, or its docs are bloated/stale and need a structured rebuild.
TIANTIAN-ZHAN/claude-harness · ★ 3 · AI & Automation · score 77
Install: claude install-skill TIANTIAN-ZHAN/claude-harness
# bootstrap-harness Create a production-quality harness (docs system for AI agents) in any repo. **3 progressive stages** — produce only what the project needs at its current maturity. File templates live in [templates.md](templates.md) — read it when you reach Step 3, not before. ## When to use - **Fresh repo / no CLAUDE.md** — just cloned or scaffolded, wants AI-agent workflow - **Repo with no harness** — team adopting structured AI coding - **Major rebuild** — current docs bloated / stale / drifted ## When NOT to use - **Minor tweaks / drift** → `/review-harness` (incremental, no rebuild) - **Single-file script / experiment** → overkill - **Harness exists and mostly accurate** → `/review-harness` first to confirm --- ## Core principles (2025-2026 research) 1. **Commands go first** — agents query build/test/run most often (GitHub 2,500-repo study). 2. **✅ / ⚠️ / 🚫 three-tier Boundaries** — Always / Ask first / Never (AGENTS.md spec). 3. **CORRECT / INCORRECT code pairs** — concrete examples beat prose; pull from real repo code. 4. **CLAUDE.md hard limit < 60 lines.** SOTA: instruction-following degrades past ~150-200 total instructions, and — worse — a bloated file gets judged "irrelevant" and **ignored wholesale**, taking your good rules down with it. Design CLAUDE.md as a **pointer, not a description**. Test every line: *"would removing this cause the agent to make a mistake?"* If no, cut it. Other harness files target < 200. 5. **No premature quantification** —