Claude-skill-registry init-harness
Creates AI agent task management structure with feature backlog (ai/tasks/), TDD enforcement, and progress tracking. Use when setting up agent-foreman, initializing feature-driven development, creating task backlog, or enabling TDD mode. Triggers on 'init harness', 'setup feature tracking', 'create feature backlog', 'enable strict TDD', 'initialize agent-foreman'.
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/init-harness" ~/.claude/skills/majiayu000-claude-skill-registry-init-harness && rm -rf "$T"
manifest:
skills/data/init-harness/SKILL.mdsource content
⚡ Init Harness
One command:
agent-foreman init
Quick Start
agent-foreman init
Creates:
ai/tasks/, ai/progress.log, ai/init.sh, CLAUDE.md
TDD Mode (Default: Recommended)
During init, you'll be prompted for TDD mode. Recommended is the default (tests suggested but not required).
| User Says | TDD Mode | Effect |
|---|---|---|
| "strict TDD" / "require tests" | | Tests REQUIRED - check/done fail without tests |
| "recommended" / "optional tests" / (default) | | Tests suggested but not enforced |
| "disable TDD" / "no TDD" | | No TDD guidance |
The prompt auto-skips after 10 seconds with recommended mode.
Modes
| Mode | Command | Effect |
|---|---|---|
| Merge (default) | | Keep existing + add new features |
| Fresh | | Replace all features |
| Preview | | Show without changes |
Task Types
| Type | Command | Use Case |
|---|---|---|
| Code (default) | | Software development |
| Ops | | Operational tasks, runbooks |
| Data | | ETL, data pipelines |
| Infra | | Infrastructure provisioning |
| Manual | | Manual-only verification |
Auto-Detection
exists → use it (fast)ARCHITECTURE.md- Source code exists → AI scan + auto-save ARCHITECTURE.md
- Empty project → generate from goal
Pre-Init (Recommended)
For existing projects:
agent-foreman init --analyze # First: understand project agent-foreman init # Then: create harness
Created Files
ai/ ├── tasks/ # Task backlog (modular markdown) │ ├── index.json # Task index │ └── {module}/ # Module directories │ └── {id}.md # Individual tasks ├── progress.log # Session audit log ├── init.sh # Bootstrap script └── capabilities.json # Detected test/lint/build CLAUDE.md # AI agent instructions docs/ARCHITECTURE.md # Auto-generated architecture doc