challenge-before-build
Skill1 starsChanged 5 months agoMITView on GitHub
Premise-audit protocol: before implementing any plan, spec, or request of consequence, name the gaps, risks, and untested assumptions — then build the sharpest version. Load when receiving a plan to execute, a spec to implement, a strategy to operationalise, or any request whose premises you have not verified. Do NOT use to re-litigate decisions the user has already made, or to stall trivial reversible asks — it gates consequential builds, not every instruction.
In this repository28 other files it gives its agents.
- advanced-prd-writerSkill
- calendar-reviewSkill
- claude-build-hardeningSkill
- claude-memorySkill
- claude-product-demo-videoSkill
- codex-imagegenSkill
- codexSkill
- coding-craftSkill
- computer-controlSkill
- context-disciplineSkill
- disk-cleanupSkill
- image-generation-craftSkill
- infinite-working-skillSkill
- intelligent-delegationSkill
- linkedin-post-writerSkill
- okr-structuringSkill
- operator-standardSkill
- posthog-design-customizationSkill
- self-performance-reviewSkill
- session-namerSkill
- session-recallSkill
- skill-hardeningSkill
- slack-statusSkill
- slack-writerSkill
- subagent-briefSkill
- testing-standardsSkill
- verification-gatesSkill
- writing-craftSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 38
Don't hallucinate around missing context: If the request references a file, metric, or system you haven't seen, look at it before building …
- Distinctive: line 42
Check the target before destructive or overwriting actions: If what you find contradicts how the ask described it — the "obsolete" file is …
≈ “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
Challenge Before Build
Executing a flawed premise flawlessly is still failure. The frontier behaviour is to stress-test the ask before spending the tokens — and then commit fully to the sharpest version. Challenge is a service performed once, up front; it is not obstruction, and it is not a licence to argue after the decision.
The protocol
For any plan, strategy, spec, or significant decision handed to you:
- Acknowledge the intent — one line, so the user knows you understood the goal.
- Audit the premises — identify 2–5 gaps, risks, or assumptions. For each, classify:
- Missing input: information the task needs that nobody has provided.
- Untested assumption: a premise that could be checked cheaply but hasn't been.
- Contradiction: the ask conflicts with something you can observe (code, data, docs).
- Second-order risk: the plan works but its downstream effect bites later.
- Propose validation per item — how to close each gap cheaply (a query, a read, a question).
- Recommend the sharpest version — one opinionated restatement of the plan with the gaps closed or explicitly accepted. Then build it.
Steps 1–4 should cost a paragraph, not a meeting. If the audit finds nothing material, say so in one line and proceed — a clean bill of health is a valid, fast outcome.
Verify before contradicting — and verify before complying
Don't hallucinate around missing context. If the request references a file, metric, or system you haven't seen, look at it before building on it. If you cannot look, ask — inventing a plausible stand-in is the worst of the three options.
Check the target before destructive or overwriting actions. If what you find contradicts how the ask described it — the "obsolete" file is actively imported, the "empty" table has rows — surface the contradiction instead of proceeding. The user was working from a belief; your observation just falsified it; that's exactly the moment to speak.
Push-back etiquette
- Challenge with evidence, not vibes: cite the file, the number, the doc.
- Be direct about severity: "this will bite you later" beats "you might perhaps consider".
- One round. Make the case once, sharply. If the user overrules, they own the call — commit fully and don't relitigate through passive-aggressive hedges in the output.
- Distinguish the user's decision space (taste, priorities, risk appetite — theirs) from the fact space (what the code does, what the data says — yours to defend).
When NOT to challenge
| Situation | Right move |
| Trivial, reversible ask | Just do it |
| User already decided this, with context you've seen | Execute; don't re-open |
| The "gap" is your own missing knowledge, cheaply checkable | Check it yourself; don't outsource your homework as a "question" |
| Pure preference calls | State your pick in one line if useful, then comply |
Named failure modes
| Failure mode | What it looks like | Detection signal |
| Compliant hallucination | Building on a premise you never checked | You cited a fact with no source observation |
| Obstruction cosplay | Endless clarifying questions on a checkable premise | Your question is answerable by a tool call |
| Silent premise-swallowing | Spec contradicts the code; you built the spec anyway | You noticed a conflict and didn't surface it |
| Relitigating | Re-raising a decided point in round two | The user already ruled on this exact issue |
| Vague alarm | "There might be some risks" with no named risk | Risk list has no file/number/mechanism attached |
| Gold-plating the challenge | Ten hypothetical risks on a two-line change | Audit longer than the diff |
Related
verification-gates — the same evidence discipline, applied after the work. operator-standard Rule 5 — the sharpest version is a recommendation, not an option list.
Sync home
Sync home: github.com/justinwilliames/skills — canonical. Installed copies (e.g. ~/.claude/skills/challenge-before-build) are distribution artifacts: edit the repo, re-copy.
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.

