clarify-before-building
Skill2 starsChanged 4 months agoMITView on GitHub
Resolve materially underspecified change requests before implementation, recover existing decisions, ask focused questions, and preserve acceptance criteria. Use when competing interpretations affect scope, user-visible behavior, cost, data safety, or how success is verified. Do not turn clear small edits, exploratory discussion, or read-only investigation into a requirements ceremony.
In this repository27 other files it gives its agents.
- capture-collaboration-evidenceSkill
- cross-platform-project-build-archSkill
- deep-code-reviewSkill
- dispatchSkill
- erect-agent-stackSkill
- fix-zig-deps-hashSkill
- gather-project-intentionsSkill
- handoffSkill
- i18nSkill
- lean4-developmentSkill
- llvm-guided-optimizationSkill
- mechatron-ciSkill
- memoriesSkill
- mficSkill
- no-ai-slopSkill
- onboardSkill
- performance-profilingSkill
- planning-workSkill
- scaffold-zig-projectSkill
- shipSkill
- test-isolationSkill
- universal-app-frontendSkill
- walking-decisionsSkill
- writing-bendSkill
- writing-nixSkill
- writing-rocSkill
- zig-microbenchmarksSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 7 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Read the request, applicable instructions, and the relevant existing intent, specification or decision record.
- Very specific: line 28
If another task is active, a new request normally joins its queue.
- Distinctive: line 40
Ask one to three focused questions per round, in ordinary language.
- Distinctive: line 59
Call out the gap directly and respectfully: “This leaves X undefined.
- Distinctive: line 64
Use owner-specific collaboration preferences when available.
- Very specific: line 74
Use the existing authoritative feature spec or issue.
- Distinctive: line 92
If a specification appears wrong, surface the counterexample and resolve the decision separately.
- Distinctive: line 97
Read references/evidence.md when explaining the research basis or changing this procedure.
- Distinctive: line 102
Use references/scenarios.md for maintenance review.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Clarify before building
Help the owner make consequential choices before investing in the wrong result. This is an interview and handoff procedure, not a new development framework. Plain conversation and existing project documents suffice across agents.
First decide whether a question is needed now
Read the request, applicable instructions, and the relevant existing intent, specification or decision record. Check available evidence before asking the owner to repeat it. Distinguish an unknown product choice from a technical fact you can establish through a scoped inspection or experiment.
- Clear, bounded request: proceed using the existing test discipline. A typo fix does not need an interview, a new spec file or renewed approval.
- Material ambiguity: name the competing interpretations and the concrete consequence of choosing incorrectly. Ask before implementing that choice.
- Reversible, low-impact detail: state a reasonable assumption and proceed within scope. Do not seek approval for every implementation decision.
- Exploration only: investigate and label proposals; do not silently turn discussion into implementation or deployment.
If another task is active, a new request normally joins its queue. Record the
new request and its unresolved decision in the existing plan (use planning-work
for its format). You may propose postponing the interview until a named natural
checkpoint: “I can ask about retention after the current fix passes its tests;
I've queued it.” Continue the current work unless the owner changes priority.
Revisit the queued questions at that checkpoint; include them in a handoff if
the session ends first. Do not forget the request or build the ambiguous branch
while calling it postponed. An emergency or a decision blocking current work
needs immediate attention instead.
Ask questions that distinguish outcomes
Ask one to three focused questions per round, in ordinary language. Include a recommendation and its tradeoff where useful, without steering the owner toward an unstated goal. Prefer one concrete example or counterexample over “please provide more detail.” Stop when the next bounded increment is specified enough.
Select only missing, consequential questions from these areas:
- What should the person using this be able to accomplish? What observable result would count as done? Which tempting adjacent feature is excluded?
- What happens on failure, cancellation or partial completion? Which existing behavior, data or interface must remain intact?
- What scale or resource limit matters, and how will we measure it? Convert “fast” or “secure” into a specific requirement rather than inventing numbers.
- Which approved constraint takes precedence when two requests conflict?
For example, “clean up the cache” could mean report reclaimable space or delete files. Establish which before deletion; inspect actual cache ownership yourself. “Make the scan faster” needs a workload and baseline, not a guessed thread count.
Call out the gap directly and respectfully: “This leaves X undefined; A and B would produce different behavior. I recommend A because Y. Which do you want?” Challenge the premise with evidence when appropriate. Confidence, urgency and familiarity are not answers to an unresolved question. Do not diagnose the owner's mental state, shame them, or treat a short message as incompetence. Use owner-specific collaboration preferences when available.
Preserve decisions without multiplying documents
Summarize the agreed outcome, non-goals, important constraints, acceptance examples and remaining assumptions before substantial implementation. Existing explicit answers need no ritual second approval. Keep material unanswered choices visibly open; silence or “use your judgment” does not settle a conflict with an existing requirement or grant unrelated authority.
Use the existing authoritative feature spec or issue. gather-project-intentions
owns stable project purpose and INTENT.md; it need not run for every feature.
PLAN.md holds the next actions and links to the decisions, not interview
transcripts. A small change may need only the request and a regression test.
For a durable decision, preserve its rationale and source so the next agent
does not have to re-interview the owner. Do not add a second competing spec.
Check the work against the agreed behavior
Apply existing TDD and mfic practices. Derive meaningful boundary, negative
and failure cases from the accepted behavior, not merely from today's output.
Where trust matters, check against an independent oracle or invariant. Tests
written from the same mistaken assumption can agree with incorrect code.
Link important acceptance criteria to actual checks and report which were run, failed, skipped or remain untested. Passing a finite suite is evidence about its covered cases, not proof of complete correctness or security. Do not weaken an expectation or rewrite accepted intent merely to make the implementation pass. If a specification appears wrong, surface the counterexample and resolve the decision separately. Continue safe unrelated work while that choice is pending.
Evidence and limits
Read references/evidence.md when explaining the research basis or changing this procedure. It separates empirical findings, existing engineering practice and owner-requested interview preferences from the paper's untested governance proposal. Do not import its case-study effect sizes, mandatory regeneration, or architectural machinery as established rules. Use references/scenarios.md for maintenance review; these are decision checks, not evidence that an agent follows the procedure.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

