/adlc:adlc-step3-generate-agent-harness [approved Agent System Map]from adlc
Convert an approved system map into an inspectable agent harness plan with prompts, tools, traces, fixtures, and review surfaces.
Ships in adlc. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Turn the approved system map into a buildable and inspectable harness plan. The harness brief names the prompts, tools, fixtures, traces, and review surfaces needed for validation.
This stage does not ship the agent. It creates the story a builder can follow and a reviewer can inspect. The Product Manager job is to keep the harness from becoming a magic box: prompts, context, tool calls, fixtures, expected traces, and review outputs must be visible enough that later validation can explain why behavior happened.
Use this skill after the system map is approved and before building or formal validation. Use it when the team wants a builder-friendly artifact that preserves traceability.
Do not use it to generate a hidden black box. If the system map is missing context, tools, or authority rules, route backward.
Use the approved Agent System Map, an approved Solution Hypothesis if one exists, intended prompts, tool definitions, sample tasks, fixtures, expected traces, and reviewer needs.
Anything supplied with the invocation, attachments, or earlier conversation counts as context already given. Do not ask the user to repeat it.
If Stage 2 did not define context, tools, permissions, memory, or handoffs, route backward. A harness brief should expose decisions, not bury missing ones inside implementation.
Example invocation: Use $adlc-step3-generate-agent-harness with this Agent System Map for a recommendation-only triage agent.
Technical terms used here are defined in the ADLC Glossary.
Harness - The inspectable wrapper around agent behavior: prompts, tools, fixtures, traces, and run procedure. It makes behavior reviewable.
Violation signal: The team can run the agent but cannot explain what prompt, context, or tool path produced an answer.
Fixture - A stable input scenario used to exercise behavior. Fixtures make validation repeatable rather than vibes-based.
Violation signal: The only test is a live conversation someone remembers as impressive.
Trace surface - The record of reasoning-adjacent steps, tool calls, inputs, outputs, and decisions available for review.
Violation signal: Failure review depends on screenshots or memory instead of captured runs.
Prompt boundary - The division between reusable instruction, supplied context, and task input. Clear boundaries make changes diagnosable.
Violation signal: A prompt mixes policy, examples, user data, and output format so no one can tell what changed behavior.
Build readiness - The point where a builder can implement without inventing product decisions. It is not proof of quality.
Violation signal: The harness brief leaves autonomy, tool access, or stop conditions for engineering to decide.
Review surface - The output a human uses to inspect a run: trace table, comparison view, evaluator note, transcript, or run summary. It is designed for judgment, not just storage.
Violation signal: The system records data somewhere but no reviewer can use it to decide pass, fail, or investigate.
Follow Guided Context Capture.
Begin with: "We will run ADLC Stage 3 and produce an Agent Harness Brief. I will preserve the approved system map, ask no more than six context questions, and stop before behavioral validation. Choose 1. Guided, 2. Context dump, or 3. Best guess."
Offer Guided, Context dump, and Best guess modes. Use an Adaptive Decision Ladder at the build-readiness gate. Anything supplied earlier must be reused.
After the harness brief is approved, the Minimum Viable Narrative utility tells one short story per variant in labelled Human Action and System Response turns, saves a portable prototype prompt and build instruction for each, and holds a pivot, punt, or pursue conversation before the Stage 4 bake-off. When variants are named or prototypes are next, offer it as a gate option and, if the person picks it, run it straight away from this brief: draft the stories in Best guess mode so the person corrects them rather than writing them, and stop at the utility's own gate. Do not tell the person to go run it themselves. It does not change this stage's questions or budget.
In Guided mode, ask one at a time and skip answered questions:
Harness Q1/6 - Which agent behavior must the first harness make inspectable?Harness Q2/6 - What prompt layers, policy instructions, or examples need to stay separate for review?Harness Q3/6 - What stable fixtures represent ordinary, edge, and unsafe scenarios?Harness Q4/6 - What tool calls and context retrieval must be captured in traces?Harness Q5/6 - What should a reviewer see after each run?Harness Q6/6 - Which product decisions must not be delegated to the builder?In Context dump mode, extract Prompt layers / Fixtures / Tool traces / Review surface / Variants / Open decisions. In Best guess mode, draft a lean harness brief and mark all implementation assumptions as assumptions, not requirements.
When a folder is set, save as stage-3-agent-harness-brief.md, following Saving Artifacts. The narratives and portable prototype prompts are saved by the Minimum Viable Narrative utility.
The brief must be specific enough for Stage 4 to define eval cases and failure probes. If Stage 4 would have to invent fixtures, traces, or pass/fail surfaces, Stage 3 is incomplete.
Mark as recommended the option the evidence supports, and list it first. When the artifact is weak, that is a revise, route-back, or stop option, not approval.
Stop with an Adaptive Decision Ladder:
Approve and draft the prototype stories now (Recommended when fixtures and traces are clear and variants are named or prototypes are next) - approves the brief, then runs the Minimum Viable Narrative utility from it in Best guess mode, so nobody re-pastes the brief. That utility stops at its own pivot, punt, or pursue gate.Approve this harness brief (Recommended when fixtures and traces are clear and no prototypes are planned) - ready for build or assembly because fixtures, traces, and review surfaces are clear.Revise fixtures or trace capture - useful when the harness is buildable but not yet inspectable enough.Route back to Stage 2 - needed when tool, context, memory, or handoff boundaries are unresolved.Stop the effort - appropriate when the harness would require authority the product team has not approved.Other (specify).Do not continue into validation until the user approves the harness or provides an existing built harness to inspect.
Label claims as Fact, Inference, Assumption, or Unknown. Do not invent tool behavior, available logs, dataset quality, or implementation feasibility.
Use template.md. See examples/worked-example.md and examples/weak-example.md.
This skill draws on the ADLC findings, Productside's synthesis of published guidance on agent development. The findings link to the original sources; full citations are in the bibliography.
| Key concept | Findings guide | Where |
|---|---|---|
| Harness | adlc-working-model.md | sections 3 and 4, design decisions and memory; glossary entry for harness |
| Fixture | evaluation.md | point 2, start small, from real failures |
| Trace surface | observability.md | points 2 and 3, the trace is the basic unit; the path matters |
| Prompt boundary | architecture.md | point 9, authority belongs in structure, not in the prompt; governance.md, point 4 |
| Build readiness | architecture.md | point 10, evaluation is a precondition for architecture choices |
| Review surface | tools-context.md | point 9, telemetry must capture tool calls and context, and that data is sensitive |
The findings label claims Fact, Inference, Hypothesis, or Unknown. This skill uses Assumption where the findings say Hypothesis. Much of the published guidance is vendor or practitioner opinion; treat it as Inference unless the findings mark it Fact.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub deanpeters/adlc-skills-productcamprtp26 --plugin adlcOther plugins' skills for the same job
11 skills in this plugin
/adlc-step1-frame-intentFrame an agent idea as a clear intent brief with autonomy, success, non-goals, and stop boundaries before design begins./adlc-step2-design-agent-systemMap an approved agent intent into actors, tools, context, memory, permissions, handoffs, and control boundaries./adlc-step4-validate-agent-behaviorTurn a harness into behavioral evals, failure probes, evidence thresholds, and a validation decision before deployment.