From praxis
Runs 7 cognitive debiasing checks (inversion, second-order effects, MECE, map vs territory, adversarial, simplicity, reversibility) on designs, plans, or recommendations before finalizing them.
How this skill is triggered — by the user, by Claude, or both
Slash command
/praxis:gap-analysisThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
EXTREMELY_IMPORTANT: This is a MANDATORY protocol, not a suggestion. Follow every step.
EXTREMELY_IMPORTANT: This is a MANDATORY protocol, not a suggestion. Follow every step. Do not skip steps. Do not combine steps. Do not summarize. Work through each gate in order.
You have produced a design, plan, or recommendation. Before presenting it as final, you MUST run all 7 checks below. Do not skip any. Report each result explicitly.
If your harness supports subagents, dispatch these checks to a fresh-context reviewer
using agents/reasoning-reviewer.md — a reviewer that has not seen your design's
justifications catches what self-review misses. Required at the DEEP tier; recommended
whenever the decision is hard to reverse.
Ask: "How would I guarantee this fails?"
List at least 3 specific failure modes; keep listing while distinct ones come to mind, stop when candidates turn contrived. For each, verify your solution prevents it. If any failure mode is not prevented, flag it as an open risk.
Ask: "And then what?" three times.
If 2nd or 3rd order effects are negative, state whether they're acceptable or require design changes.
Ask: "Have I covered the entire problem space with no gaps and no overlaps?"
List the dimensions you've addressed. Identify any dimension you haven't addressed. Gaps are where surprises live.
Ask: "Where does my model diverge from reality?"
List at least 3 things you simplified, assumed, or ignored — more if you know of them. For each, state the risk if reality differs from your model.
Ask: "How would a hostile actor exploit this? How would a careless user break this?"
Identify the weakest point. State whether it's acceptable or needs hardening.
Ask: "Is there a simpler solution I'm overlooking?"
If yes, state why you chose the more complex approach. The justification must be concrete, not "it might be needed later" (that's YAGNI violation).
Ask: "Is this decision reversible?"
After completing all 7 checks, summarize:
GAP ANALYSIS COMPLETE
├── Inversion: [X/Y failure modes mitigated] [open risks if any]
├── Second-order: [acceptable / requires changes]
├── MECE: [complete / gap in: ___]
├── Map vs territory: [top risk: ___]
├── Adversarial: [weakest point: ___]
├── Simplicity: [simplest viable / justified complexity]
├── Reversibility: [Type 1 / Type 2]
└── Confidence: [HIGH / MEDIUM / LOW / INSUFFICIENT]
Do NOT present a design, plan, or recommendation as final until all 7 checks
are complete and reported. If any check reveals a critical issue (unmitigated
failure mode, negative 2nd-order effect, MECE gap, or Type 1 decision with
LOW confidence), you MUST address it before proceeding.
Rationalizations that skip checks:
After all 7 checks pass and the design is validated:
If Superpowers is installed → invoke Skill(superpowers:writing-plans) to create the
implementation plan. Pass the validated design and any issues flagged during gap analysis.
Do NOT write the plan inside PRAXIS. PRAXIS validated. Superpowers plans.
If Superpowers is NOT installed → proceed to implementation planning yourself.
npx claudepluginhub xd4o/praxis --plugin praxisStress-tests plans and designs using multi-disciplinary cognitive frameworks like Inversion, First Principles, and Second-Order Thinking. Useful before making major architectural, feature, or trade decisions.
Surfaces unnoticed gaps—procedural, consideration, assumption, alternatives—as questions before decisions, enabling audited decisions at commitment points.
Challenges AI-generated plans, code, and designs using pre-mortem, inversion, and Socratic questioning to uncover blind spots and failure modes.