Guided onboarding — teaches a newcomer (human or agent) what harness engineering is, then walks them through THIS project's specific harness with real examples.
Safety: This skill only reads files. It does not modify code, run builds, or start services.
Walk a newcomer through harness engineering in three layers: the concept, this project's harness, and a hands-on walkthrough.
Invoke with: /harness-learn
Present this conversationally — not as a lecture. Adapt to who you're talking to (ask if they're a developer, PM, or agent new to this repo).
When AI agents work on software, they tend to drift — skipping verification, losing context between sessions, producing inconsistent quality. Harness engineering gives them a disciplined, phased workflow instead.
Every task follows focused phases — each with explicit instructions, real commands, and an exit gate. A universal engine loops through them automatically.
You invoke the launcher: /implement "Add dark mode"
↓
Launcher creates a state file and hands off to the engine
↓
Engine loops through phase skills:
[phase 1] → [phase 2] → ... → [phase N] → COMPLETE
↓
Each phase is a focused 40-140 line skill that:
- Knows exactly what to do (real commands, not placeholders)
- Has a checklist the engine validates before advancing
- Records progress to a conversation file (survives session drops)
A single big prompt ("implement this feature, test it, create a PR") loses agent attention by the end. By phase 7, the agent has forgotten phase 2's instructions. Phase skills keep each turn focused — the agent sees one phase at a time.
The harness gets better with use:
/harness-setup (discover your workflow, generate skills)
↓
Real work (/implement on actual tasks)
↓
/harness-retro (review what happened, fix skill gaps)
↓
Back to /harness-setup or next round of work
Pause here. Ask:
"That's the general concept. Want me to show you how it works specifically on this project?"
Read the project's harness files and present them in order.
Read these files (skip any that don't exist):
HARNESS.md — overview and architecture.harness/lifecycle.md — the discovered workflowCLAUDE.md (or .cursorrules, GEMINI.md) — the Harness Context sectionharness-* and the launcher)"Here's how this project ships software:"
Show the lifecycle as a table:
| Phase | Owner | What happens | Key command | Gate |
|---|---|---|---|---|
| [from lifecycle.md] |
Then show the profiles:
"Not every task goes through all phases:"
| Profile | When to use | Which phases |
|---|---|---|
| [from lifecycle.md] |
For each agent-owned phase, read the phase skill and explain:
[Phase name] — [one sentence on what it does]
- Produces: [artifact]
- Verified by: [method]
- Key commands:
[actual commands from the skill]- Gate: [what must be true to proceed]
- Checklist: [items the engine validates]
For human-owned gates, explain:
[Phase name] — This is where YOU step in.
- The engine stops and waits for your approval.
- You [what the human does — review PR, test UI, approve deploy].
- When you approve, the engine continues to the next phase.
Check .harness/conversations/ for past implementation records. If any exist, pick the most recent completed one and narrate:
"Here's what happened the last time someone used this harness:"
- Task: [from conversation file]
- Profile: [profile used]
- Phases completed: [list with durations if available]
- What was produced: [commits, PR, evidence]
- Any friction: [issues from the conversation file]
If .harness/retros/ has retro records, mention:
"The harness has been through [N] retro rounds. Recent improvements: [list changes from retros]"
If no conversation files exist:
"This harness hasn't been used yet — no past examples to show. Want to do a dry run?"
Ask:
"Want to try a dry run? Pick a task (or I'll suggest one) and I'll walk you through what each phase WOULD do — without actually running it."
If they say yes:
[command] and check that [gate condition]."/implement [task]"If they say no:
"No problem. When you're ready, run
/implementwith a task description to start. The engine handles the rest."
Ask at the start:
"Before we start — are you a developer, PM, or agent? And have you seen a harness workflow before?"
This shapes how deep each layer goes.