ask-and-build
Skill0 starsChanged 38 days agoMITView on GitHub
Before building any non-trivial feature or change, surface the real architectural and product decisions hidden in the request, put them to the user one at a time with options and a recommendation, record each answer as an ADR, then produce a build brief for the implementer. Use when the user proposes a build, says "ask and build", "ask-then-build", "decide first", "what should I decide before building this", or when a request has consequential choices baked in. Differentiator: forward-looking decision drilling that writes ADRs and hands off a brief - not a code-writing skill and not a retrospective review.
In this repository30 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- templates/CLAUDE.mdCLAUDE.md
- analyze-sessionsSkill
- anti-sleepSkill
- claude-checkupSkill
- clone-websiteSkill
- compoundSkill
- content-machineSkill
- context-artifactsSkill
- diagram-makerSkill
- grillingSkill
- grill-meSkill
- hydrateSkill
- level-upSkill
- managerSkill
- no-mistakesSkill
- pdf-craftSkill
- personal-agentsSkill
- scan-before-publishSkill
- setup-helpSkill
- signal-from-expertSkill
- teachSkill
- techdebtSkill
- tutor-setupSkill
- tutorSkill
- verify-changeSkill
- visualizeSkill
- web-debugSkill
- workflow-tuneSkill
- youtube-transcriptSkill
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 8 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 23
Do NOT fire for genuinely trivial changes (copy tweak, one obvious bug fix, a rename).
- Distinctive: line 64
When the user answers:
- Distinctive: line 67
If the user gave exact wording, use their words verbatim in the Decision section (keep their typos) - don't rewrite it.
- Very specific: line 69
If the answer overrides an accepted ADR, write a NEW ADR that supersedes it and mark the old one status: superseded with a link.
- Very specific: line 75
After the last answer, produce ONE concise brief for the implementer (or for /dispatch).
- Distinctive: line 84
Rules: follow the ADRs, don't over-add tests, don't touch out-of-scope files, don't commit, report back with files changed + proof.
- Distinctive: line 87
Keep the brief to a single tight paragraph or a short numbered list.
- Very specific: line 94
After the build, run /review (Phase 4 gate) before merge.
- Distinctive: line 98
stop-overthinking: if you (or the user) are looping on a decision - "if there's a critical issue name it, else say we're good, give next …
- Distinctive: line 101
decisions: after building - "which choices did you make that you're not confident about, and are there better alternatives?" Only list the …
- Distinctive: line 112
Not recording the answer as an ADR (then the next session re-litigates it).
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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
ask-and-build
Ported from David Ondrej's
ask-then-build/before-building/next-decisionfamily. The premise from the podcasts: AI models are great at implementation and following a plan. They have no taste and no judgement. You, the human, must stay in charge of the decisions. Frontloading a little decision work buys a lot less tech debt and a more scalable codebase.
When to fire
- The user says "build X", "add X", "make this do Y", "let's ship Z" and X/Y/Z is more than a few lines.
- A plan has unresolved choices.
- You're about to make a call the user might regret (storage, data model, sync strategy, auth, file layout, public API shape, dependency, platform behaviour, cross-platform differences).
Do NOT fire for genuinely trivial changes (copy tweak, one obvious bug fix, a rename). For those, just do it. Over-asking is its own anti-pattern.
Phase 1 - Surface the decisions (fast, from the gut first)
- Instant pass (no tools, no file reading): from what the user just said, name the 1-3 truly consequential choices hidden in the idea. Fewer is better. Classics: one-off vs. reused later; few lines vs. proper module; the biggest thing this could break; same behaviour on every platform vs. not; local-only vs. needs a server.
- Grounded pass (now read):
context/_map.md, relevantcontext/decisions/(don't contradict an accepted ADR),context/conventions/, and the code the change touches. Refine the list - add decisions the code reveals, drop ones already settled by an ADR. - You should end with 3-7 open decisions. If more, the scope is too big - say so and suggest splitting into an epic.
Phase 2 - Put them to the user, ONE at a time
For each decision, in this exact layout (blank line between every block - renderers collapse single newlines):
**<Decision title, as a question>?**
<one line of context if needed>
A. <option>
B. <option>
C. <option>
D. <option> (only if there's a real 4th option)
My pick: <A>. <one-line reason>Then stop and wait. Never bundle questions. Never number them "1 of N" unless you truly know N.
When the user answers:
- Record it immediately as an ADR:
ctx new decision "<title>"then fill Context / Options considered / Decision / Consequences. Setstatus: accepted. If the user gave exact wording, use their words verbatim in the Decision section (keep their typos) - don't rewrite it. - If the answer overrides an accepted ADR, write a NEW ADR that supersedes it and
mark the old one
status: supersededwith a link. - Move to the next most important open decision.
Phase 3 - Build brief
After the last answer, produce ONE concise brief for the implementer (or for
/dispatch). In this order:
- Read first:
context/_map.md, the ADRs just written (by number),context/conventions/con-index.md. - What to build: numbered, concrete, file-level where useful. Each step independently verifiable.
- How to validate: the exact command / manual check with real data, and a screenshot if it's visual.
- Rules: follow the ADRs, don't over-add tests, don't touch out-of-scope files, don't commit, report back with files changed + proof.
Keep the brief to a single tight paragraph or a short numbered list. If it needs two paragraphs, the scope is too big - say so.
Phase 4 - Hand off
- Route the brief through
routing.md(Phase 3) and either build it in this session or/dispatchit to a worker. - After the build, run
/review(Phase 4 gate) before merge.
Related manual skills to reach for
- stop-overthinking: if you (or the user) are looping on a decision - "if there's a critical issue name it, else say we're good, give next steps, be concise, think like a practical entrepreneur."
- decisions: after building - "which choices did you make that you're not confident about, and are there better alternatives?" Only list the genuinely uncertain ones.
Anti-patterns
- Asking about trivia (indent size, variable names) - that's a convention, not a decision.
- Offering fake choices where one option is obviously right - just state it and move on.
- Writing the build brief before all answers are in.
- Bundling 5 questions into one message.
- Deciding the architectural questions yourself because it's faster.
- Not recording the answer as an ADR (then the next session re-litigates it).
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.

