assets/bootstrap/skills/harness-discovery/SKILL.md
Run interactive, Socratic discovery before planning or execution when the objective, boundaries, tradeoffs, success criteria, size, or workflow direction are unclear, or when archived work may need to reopen. Do not use for casual Q&A, simple repo orientation, status checks, or already-approved execution.
npx skillsauth add catu-ai/easyharness harness-discoveryInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Run discovery before implementation when the task needs real clarification. Discovery is conversation-only. It should reduce ambiguity, surface tradeoffs, and end with a clear next workflow step.
Discovery is size-independent. Use it to learn whether work is tiny, large, or not work at all. Do not use discovery for ordinary repository facts, code lookup, status checks, or simple explanations unless the human is deciding what work to do next.
harness status output when the repository already has an active
plan and local stateUse explorer subagents on demand, not by default.
Repository facts and documented project intent are agent-owned to investigate. Humans have final say over goals, priorities, boundaries, and approvals when they are ambiguous, contested, or not already settled in the repository. Before asking the human, read the relevant context and answer factual repository questions yourself, using bounded explorers when that will sharpen the next human question.
Use a Socratic posture to clarify the work: test assumptions, name tensions, and ask focused questions when they expose a real decision. Challenge the human's framing when repository evidence points another way, but keep the challenge tied to a concrete choice instead of debate. Read context first, ask one focused question at a time, frame real choices plainly, recommend a direction when the evidence is strong enough, and stop when there is enough clarity to summarize and hand off.
Prefer option-shaped questions:
Do not force a new question into every discovery turn. If the human asks for details about an option, asks a side question, or needs a factual explanation before deciding, answer directly. When a new human decision is needed, ask only one question, and make it the highest-leverage question for the current moment.
End each discovery turn in exactly one of these shapes:
Factual answer
Decision question
Plan-ready handoff
harness-planIf none of these shapes fits, gather the next missing repository fact before responding. Do not ask a filler question when the right next move is to state that discovery has converged.
Avoid jargon-heavy labels, hedging, and loaded binary implementation choices. Do not ask a loaded binary question like:
Do you want the broad breaking rewrite, or the minimal low-risk patch?
Instead, use the option framing pattern below. Keep labels neutral, name the real tradeoff, and put the recommendation under the option the agent prefers:
Option A
Option B
Which option should I plan around: A, B, or a revision of one of these?
Explorer Subagent Decision above whenever local reading alone is not enough.harness-plan only after the human confirms the direction.When you offer options, keep them concise and decision-shaped. A good pattern is:
Option A
Option B
Option C
Include the recommendation under the option the agent prefers. If no option is clearly better, say that briefly after the list instead of forcing a weak recommendation.
Keep option integrity through the final question. If you present options A, B, and C, the final ask should still offer A, B, and C, plus room to edit or reject them. Do not collapse a three-option frame into a new two-way question, rename the options at the end, or introduce a new choice that was not part of the framed set.
A good final ask is:
Which option should I plan around: A, B, C, or a revision of one of these?
An invalid final ask after presenting A, B, and C is:
Should I do the broad version or the small version?
That drops one option and changes the decision surface after the human has already read the framed tradeoffs.
Discovery should end with a concise conversation summary containing:
documentation
Use when acting as a dedicated reviewer subagent for one assigned harness review slot in an existing review round and you need to inspect the change, write structured findings, and submit them through `harness review submit`. This skill is only for reviewer subagents, not for the controller agent.
data-ai
Create or update a tracked harness plan once the direction is clear enough to execute. Use this when work needs a self-contained plan that a future agent can complete from the repository alone, without relying on discovery chat or hidden session memory.
testing
Use when a tracked harness plan has been approved and the controller agent should drive implementation, review, archive closeout, publish/CI/sync evidence work, and merge-readiness follow-up until the archived candidate is genuinely ready to wait for merge approval. This is the main controller skill for day-to-day execution after approval.
testing
Use when a tracked harness plan is already archived and the human has explicitly approved merge, so the agent should merge the PR and complete the required post-merge bookkeeping.