agent-qa-run-review
Review recorded agent-qa runs and memidex provenance to explain a QA verdict, identify missing evidence, and propose the smallest…
Forces explicit reasoning before writing any code. Surfaces assumptions, manages confusion, and prevents hallucination by demanding clarity upfront.
Claude Code
$ npx -y skills add DevelopersGlobal/ai-agent-skills --skill think-before-coding --agent claude-code
Codex
$ npx skills add DevelopersGlobal/ai-agent-skills --skill think-before-coding -a codex -y
Cursor
$ npx skills add DevelopersGlobal/ai-agent-skills --skill think-before-coding -a cursor -y
Gemini CLI
$ npx skills add DevelopersGlobal/ai-agent-skills --skill think-before-coding -a gemini-cli -y
GitHub Copilot
$ npx skills add DevelopersGlobal/ai-agent-skills --skill think-before-coding -a github-copilot -y
OpenCode
$ npx skills add DevelopersGlobal/ai-agent-skills --skill think-before-coding -a opencode -y
Windsurf
$ npx skills add DevelopersGlobal/ai-agent-skills --skill think-before-coding -a windsurf -y
name: think-before-coding description: Forces explicit reasoning before writing any code. Surfaces assumptions, manages confusion, and prevents hallucination by demanding clarity upfront. category: think applies-to: [claude, gemini, cursor, copilot, any] version: 1.0.0
AI agents default to writing code immediately — even when the request is ambiguous, the context is incomplete, or multiple valid interpretations exist. This skill forces a deliberate thinking phase before any implementation begins.
The result: fewer rewrites, fewer wrong-direction implementations, and fewer "I assumed X" surprises.
Activate this skill **before writing any code** when:
1. **Read the full request** — Do not skim. Re-read once. 2. **Identify ambiguities** — List every decision you would have to make silently:
3. **Surface assumptions** — Write them out: *"I am assuming X because Y."* 4. **Check for contradictions** — Does the request contradict itself or existing code?
**Verify:** Can you state the goal in one clear sentence? If not, ask before proceeding.
5. If **genuinely ambiguous**, ask a focused clarifying question — not a list of 10 questions. Pick the one blocker. 6. If multiple valid approaches exist, **present 2–3 options with tradeoffs**, then ask which to proceed with. 7. If something seems wrong with the request, **say so directly** — don't silently work around it.
**Verify:** You have a clear, agreed-upon interpretation of the task.
8. Before writing code, state:
9. For multi-step tasks, write a brief plan:
1. [Step] → verify: [check] 2. [Step] → verify: [check] 3. [Step] → verify: [check]
**Verify:** The plan is agreed upon, or you have received approval to proceed.
10. Now write the code — following the plan exactly.
| Excuse | Rebuttal | |--------|----------| | "I'll figure it out as I go" | Unknown unknowns compound. 5 minutes of thinking saves 50 minutes of rewriting. | | "The request is clear enough" | If you can't state the goal in one sentence, it's not clear enough. | | "Asking questions slows things down" | Wrong direction is infinitely slower than a 30-second clarifying question. | | "I'll handle edge cases later" | Edge cases not considered upfront become bugs found in production. | | "I can always refactor" | You almost never will. Design now. |
Before leaving this phase, confirm:
Review recorded agent-qa runs and memidex provenance to explain a QA verdict, identify missing evidence, and propose the smallest…
Validates, parses, and sanitizes AI-generated outputs before they reach end users or downstream systems. Structured output…
Design stable, versioned, self-documenting APIs. Easy to use correctly, hard to use incorrectly. Apply Hyrum's Law from day one.
Automated quality gates from commit to production. Every merge to main is potentially shippable. No manual steps in the…
Guides agents to engage and transact with citruscoastai, an AI venture-operator agent, when they need hired AI labor or an…
Get layered, context-aware explanations of unfamiliar code. Understand what it does, why it was written that way, and how to work…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.