recursive-thinking
Skill4 starsChanged 11 days agoMITView on GitHub
Adversarial review workflow for pressure-testing an existing candidate plan, diagnosis, design, argument, proposal, or recommendation. Use when the user asks to challenge its assumptions, run a premortem, play devil's advocate, red-team a non-security decision, or identify what would change the conclusion. Do not use for open-ended exploration (use thinking) or exploit-focused security review (use security as primary).
In this repository47 other files it gives its agents.
- AGENTS.mdAGENTS.md
- agentic-sdlc-improvementSkill
- agentic-sdlcSkill
- agent-skill-generatorSkill
- agents-md-generatorSkill
- backend-guidanceSkill
- backend-systems-guidanceSkill
- bounded-delegationSkill
- chrome-devtools-axiSkill
- coding-guidance-bashSkill
- coding-guidance-cppSkill
- coding-guidance-goSkill
- coding-guidance-go-tuiSkill
- coding-guidance-pythonSkill
- coding-guidance-qtSkill
- context-engineeringSkill
- deepseek-harnessSkill
- design-md-authorSkill
- development-contract-processSkill
- development-contract-repo-overlay-templateSkill
- development-contract-systemSkill
- documenter-coauthoringSkill
- documenterSkill
- dream-thinkingSkill
- fuse-skillsSkill
- godotSkill
- go-testing-with-testifySkill
- jekyllSkill
- lighthouseSkill
- playwright-testingSkill
- project-config-and-testsSkill
- project-core-devSkill
- project-platform-diagnoseSkill
- project-release-maintainerSkill
- project-vendor-boundarySkill
- prompt-engineeringSkill
- security-identity-accessSkill
- securitySkill
- setup-playwrightSkill
- story-clarifierSkill
- story-implementation-plannerSkill
- story-repo-scoutSkill
- story-to-plan-orchestratorSkill
- tester-mindsetSkill
- thinkingSkill
- ui-design-guidanceSkill
- ui-guidanceSkill
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 10
Use this as an orthogonal workflow skill alongside the relevant domain or repository skills.
- Distinctive: line 16
Use security as primary when red-teaming means exploit discovery, abuse paths, authentication, authorization, secrets, or trust boundaries.
- Distinctive: line 17
Use tester-mindset as primary when the main artifact is a test strategy, oracle, or edge-case inventory.
- Distinctive: line 18
Keep language, backend, UI, documentation, prompt, and story skills primary for reviews of their artifacts.
- Distinctive: line 19
Do not use this for simple lookups, routine execution, or open-ended idea generation.
- Very specific: line 23
If the user supplies n, treat it as the maximum number of distinct challenge lenses, not recursion depth.
- Distinctive: line 27
Keep conclusions, evidence, and assumptions distinguishable.
- Distinctive: line 47
Stop when another probe is unlikely to change confidence, the recommendation, the next action, or the evidence needed.
- Very specific: line 59
When the user explicitly requests n, include no more than n distinct findings or lenses.
≈ “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
Recursive Thinking
Challenge an existing candidate hard enough to improve, qualify, or reject it before action.
Use this as an orthogonal workflow skill alongside the relevant domain or repository skills. It can be invoked directly whenever a candidate exists; a prior thinking pass is not required. If no candidate exists, use thinking to frame the decision first.
This workflow produces a concise, evidence-based audit trail. It does not require a step-by-step reasoning transcript.
Routing boundaries
- Use security as primary when red-teaming means exploit discovery, abuse paths, authentication, authorization, secrets, or trust boundaries.
- Use tester-mindset as primary when the main artifact is a test strategy, oracle, or edge-case inventory.
- Keep language, backend, UI, documentation, prompt, and story skills primary for reviews of their artifacts; add this workflow only when adversarial pressure-testing is materially useful.
- Do not use this for simple lookups, routine execution, or open-ended idea generation.
Optional n
If the user supplies n, treat it as the maximum number of distinct challenge lenses, not recursion depth. Do not ask for n, invent a default, or expand weak branches to satisfy the count. Without n, use only as many lenses as the decision needs.
Grounding
Keep conclusions, evidence, and assumptions distinguishable. Apply labels only where they clarify a material claim:
- Observed: directly supported by a cited source, file, test, log, or supplied fact.
- Inferred: derived from observations plus a named assumption.
- Unknown: unresolved, with the evidence that would resolve it.
For diagnosis and review, cite concrete evidence. For strategy or design, state verification or falsification conditions for the most important assumptions. Do not convert plausibility into observation.
Workflow
- Define the candidate and success target. State what is being challenged and what a better outcome means.
- Inspect the evidence. Gather relevant artifacts, constraints, tests, history, and domain guidance before critiquing.
- Choose distinct challenge lenses. Cover only material angles such as objective mismatch, hidden assumptions, contrary evidence, alternatives, failure modes, incentives, interfaces, reversibility, or verification. Include at least one strong countercase to the current conclusion.
- Select high-yield probes. Prioritize questions likely to change confidence, the recommendation, the next action, or the validation plan. Replace repetitive or cosmetic questions.
- Deepen selectively. Probe with the most useful form of
why,how,what evidence,what fails,what trade-off, orwhat would change the conclusion. Continue only while another probe could produce a decision-relevant delta. - Reconcile the result. Name contradictions instead of smoothing them over. State which assumptions survived, weakened, or failed and whether the candidate should proceed, change, wait for evidence, or be rejected.
- Recommend the next action. Give the smallest action that addresses the strongest concern, plus what should not happen yet.
Stop rule
Stop when another probe is unlikely to change confidence, the recommendation, the next action, or the evidence needed. A single decisive failure can end a branch; no minimum depth is required.
Output
Lead with the result, not the question tree:
- Verdict — proceed, revise, gather evidence, or reject, with a confidence basis.
- Strongest countercase — the best argument against the candidate.
- Material findings — evidence, assumptions, contradictions, and failure modes that changed the assessment.
- What would change the conclusion — decisive missing evidence or thresholds.
- Next action — what to do and what not to do yet.
When the user explicitly requests n, include no more than n distinct findings or lenses. Show deeper question-and-answer branches only when the user asks for that presentation.
Avoid
- mechanical question trees or repeated rephrasings
- confirmation deepening that only defends the initial candidate
- authority laundering that labels inference as observation
- false precision in confidence claims
- generic philosophy disconnected from evidence or action
- replacing a specialized domain review with a generic red-team pass
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.

