Code Design Rationale Investigator
cursor/plugins
Digs into why code is shaped the way it is by checking git history, pull requests and connected tools in parallel, then reporting a cited read on the tradeoffs.
Analyze and explain why Isabelle or Coq proofs fail, identifying the root cause such as type mismatches, missing assumptions, incorrect goals, unification failures, or inapplicable tactics.
$ npx skills add majiayu000/claude-skill-registry --skill proof-failure-explainer -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install majiayu000/claude-skill-registry proof-failure-explainer --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/majiayu000/claude-skill-registry.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/analysis/proof-failure-explainer .claude/skills/proof-failure-explainer && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "proof-failure-explainer" agent skill from https://github.com/majiayu000/claude-skill-registry/tree/main/skills/analysis/proof-failure-explainer into .claude/skills/proof-failure-explainer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "proof-failure-explainer", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/majiayu000/claude-skill-registry/tree/main/skills/analysis/proof-failure-explainerType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add majiayu000/claude-skill-registry --skill proof-failure-explainer -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install majiayu000/claude-skill-registry proof-failure-explainer --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/majiayu000/claude-skill-registry.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/analysis/proof-failure-explainer .agents/skills/proof-failure-explainer && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "proof-failure-explainer" agent skill from https://github.com/majiayu000/claude-skill-registry/tree/main/skills/analysis/proof-failure-explainer into .agents/skills/proof-failure-explainer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "proof-failure-explainer", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add majiayu000/claude-skill-registry --skill proof-failure-explainer -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install majiayu000/claude-skill-registry proof-failure-explainer --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/majiayu000/claude-skill-registry.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/analysis/proof-failure-explainer .cursor/skills/proof-failure-explainer && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "proof-failure-explainer" agent skill from https://github.com/majiayu000/claude-skill-registry/tree/main/skills/analysis/proof-failure-explainer into .cursor/skills/proof-failure-explainer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "proof-failure-explainer", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/majiayu000/claude-skill-registry.git --path skills/analysis/proof-failure-explainer--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add majiayu000/claude-skill-registry --skill proof-failure-explainer -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install majiayu000/claude-skill-registry proof-failure-explainer --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/majiayu000/claude-skill-registry.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/analysis/proof-failure-explainer .gemini/skills/proof-failure-explainer && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "proof-failure-explainer" agent skill from https://github.com/majiayu000/claude-skill-registry/tree/main/skills/analysis/proof-failure-explainer into .gemini/skills/proof-failure-explainer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "proof-failure-explainer", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install majiayu000/claude-skill-registry proof-failure-explainerInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add majiayu000/claude-skill-registry --skill proof-failure-explainer -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/majiayu000/claude-skill-registry.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/analysis/proof-failure-explainer .github/skills/proof-failure-explainer && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "proof-failure-explainer" agent skill from https://github.com/majiayu000/claude-skill-registry/tree/main/skills/analysis/proof-failure-explainer into .github/skills/proof-failure-explainer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "proof-failure-explainer", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add majiayu000/claude-skill-registry --skill proof-failure-explainer -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install majiayu000/claude-skill-registry proof-failure-explainer --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/majiayu000/claude-skill-registry.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/analysis/proof-failure-explainer .opencode/skills/proof-failure-explainer && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "proof-failure-explainer" agent skill from https://github.com/majiayu000/claude-skill-registry/tree/main/skills/analysis/proof-failure-explainer into .opencode/skills/proof-failure-explainer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "proof-failure-explainer", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
proof-failure-explainerAnalyze and explain why Isabelle or Coq proofs fail, identifying the root cause such as type mismatches, missing assumptions, incorrect goals, unification failures, or inapplicable tactics.
Proof Failure Explainer is an agent skill from majiayu000/claude-skill-registry. Analyze and explain why Isabelle or Coq proofs fail, identifying the root cause such as type mismatches, missing assumptions, incorrect goals, unification failures, or inapplicable tactics. Use when the user encounters proof failures, error messages in formal verification, stuck proof states, or asks why their Isabelle/Coq proof doesn't work.
Its SKILL.md is about 2.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `metadata.json`).
It sits in Development, covering Root cause analysis. The repository describes itself as: Searchable Claude Code skills catalog with source-linked guides and generated registry artifacts. The licence is MIT.
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 2d14a69. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are coq and isabelle).
From the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
isabelle.in.tum.decoq.inria.frsoftwarefoundations.cis.upenn.eduFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Proof Failure Explainer loads about 2.5k tokens when it runs. Until then it costs about 92 tokens; SKILL.md has 892 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from majiayu000/claude-skill-registry at commit 2d14a69, republished under its MIT licence (© majiayu000). 892 words, ~2,482 tokens.
.claude/skills/proof-failure-explainer/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Diagnose and explain proof failures in Isabelle and Coq by analyzing proof states, error messages, and goal structures. This skill helps identify root causes and suggests fixes for common proof problems.
Collect information about the failure:
Proof state:
Error message:
Proof attempt:
Classify the type of failure:
Type Errors:
Unification Failures:
Missing Assumptions:
Incorrect Goals:
Tactic Failures:
Scope Issues:
Examine the specific failure:
For Type Errors:
Check each term's type:
- What type does the term have?
- What type is expected?
- Where does the mismatch occur?For Unification Failures:
Compare terms that should unify:
- Are they syntactically equal?
- What substitution would make them equal?
- Is that substitution possible?For Missing Assumptions:
Identify what's needed:
- What fact would make the goal provable?
- Is it missing from hypotheses?
- Should it be a precondition?For Incorrect Goals:
Verify goal correctness:
- Is the statement actually true?
- Can you find a counterexample?
- Is it too strong/weak?Provide clear explanation:
State the problem:
Show the mismatch:
Explain why it fails:
Offer concrete fixes:
Immediate fixes:
Alternative approaches:
Code examples:
For detailed patterns and examples, see failure_patterns.md.
| Symptom | Likely Cause | Quick Check |
|---|---|---|
| "Type unification failed" | Type mismatch | Check types with Check (Coq) or term (Isabelle) |
| "Unable to unify X with Y" | Terms don't match | Compare X and Y - are they equal? |
| "Tactic failure" | Wrong tactic | Check goal structure - does tactic apply? |
| "Not found in environment" | Scope issue | Is variable quantified? |
| Proof gets stuck | Missing hypothesis | What fact would help? |
| Goal unprovable | Incorrect statement | Is the goal actually true? |
User's Failing Proof (Coq):
Definition double (n : nat) : nat := n + n.
Lemma test : double true = 2.Error:
The term "true" has type "bool" while it is expected to have type "nat".Explanation: The proof fails because of a type mismatch:
double expects an argument of type nattrue, which has type boolnat to a bool argumentSolution:
Lemma test : double 1 = 2.
Proof.
unfold double. reflexivity.
Qed.User's Failing Proof (Coq):
Lemma comm_fail : forall x y z : nat, x + y = y + z.
Proof.
intros. reflexivity.
Qed.Error:
Unable to unify "x + y" with "y + z".Explanation: The proof fails because:
reflexivity requires both sides to be syntactically equalx + y and y + z are not equal without knowing x = zSolution: Either fix the goal or add the necessary assumption:
(* Option 1: Fix the goal to something true *)
Lemma comm_correct : forall x y : nat, x + y = y + x.
Proof.
intros. lia.
Qed.
(* Option 2: Add assumption *)
Lemma comm_with_assumption : forall x y z : nat, x = z -> x + y = y + z.
Proof.
intros. rewrite H. reflexivity.
Qed.User's Failing Proof (Isabelle):
lemma "x > 0 ⟹ x + y > y"
by simpError:
Failed to apply initial proof methodExplanation: The proof fails because:
x + y > y requires x > 0simp alone is insufficientSolution:
lemma "x > (0::int) ⟹ x + y > y"
by arithOr in Coq:
Lemma add_positive : forall x y : nat, x > 0 -> x + y > y.
Proof.
intros. lia.
Qed.User's Failing Proof (Coq):
Lemma or_intro : forall P Q : Prop, P -> P \/ Q.
Proof.
intros. split.
Qed.Error:
Unable to unify "?P /\ ?Q" with "P \/ Q".Explanation: The proof fails because:
split is for conjunction (/\), not disjunction (\/)P \/ Q (disjunction)left or right for disjunctionSolution:
Lemma or_intro : forall P Q : Prop, P -> P \/ Q.
Proof.
intros. left. assumption.
Qed.User's Failing Proof (Isabelle):
lemma list_comm: "xs @ ys = ys @ xs"Error:
Failed to apply initial proof methodExplanation: The proof fails because:
@) is NOT commutative[1] @ [2] = [1,2] but [2] @ [1] = [2,1]Solution: Fix the goal to something true:
(* Append is associative, not commutative *)
lemma list_assoc: "(xs @ ys) @ zs = xs @ (ys @ zs)"
by simpUser's Failing Proof (Coq):
Lemma app_length : forall (A : Type) (l1 l2 : list A),
length (l1 ++ l2) = length l1 + length l2.
Proof.
intros. induction l2.
- reflexivity.
- simpl. (* Gets stuck *)Explanation: The proof fails because:
l2 (second list)++ (append) is defined recursively on the first argumentl1 insteadSolution:
Lemma app_length : forall (A : Type) (l1 l2 : list A),
length (l1 ++ l2) = length l1 + length l2.
Proof.
intros. induction l1.
- reflexivity.
- simpl. rewrite IHl1. reflexivity.
Qed.When analyzing a failure, ask:
Type-related:
Unification-related:
Assumption-related:
Goal-related:
Tactic-related:
Induction-related:
term "expr" - Check type of expressionthm theorem_name - Display theoremfind_theorems pattern - Search for relevant theoremssledgehammer - Automated proof searchtry - Try multiple tacticsCheck term - Display typePrint name - Show definitionSearch pattern - Find lemmasShow Proof - Display proof termSet Printing All - Show implicit argumentsLocate symbol - Find definition of notation© majiayu000, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file in skills/analysis/proof-failure-explainer of majiayu000/claude-skill-registry.
Open the folder on GitHubat commit 2d14a69
We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in majiayu000/claude-skill-registry, which our catalogue first saw on October 7, 2026.
Proof Failure Explainer next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Proof Failure Explainer this skillmajiayu000/claude-skill-registry | 666 | 1 repos | ~2.5k | Automated safety check: Pass | MIT | |
| Code Design Rationale Investigatorcursor/plugins | 10k | 9 repos | ~2.6k | Automated safety check: Pass | None | |
| OpenLogi macOS Permissions TriageAprilNEA/OpenLogi | 23k | — | ~2.5k | Automated safety check: Notes | Apache-2.0 | |
| Bug Finder for daisyUIsaadeghi/daisyui | 43k | — | ~2.3k | Automated safety check: Pass | MIT | |
| Root Cause Debugginggarrytan/gstack | 136k | — | ~1.4k | Automated safety check: Pass | MIT | |
| Review PRapache/shardingsphere | 21k | — | ~6.4k | Automated safety check: Pass | Apache-2.0 |
cursor/plugins
Digs into why code is shaped the way it is by checking git history, pull requests and connected tools in parallel, then reporting a cited read on the tradeoffs.
AprilNEA/OpenLogi
Decides whether an OpenLogi device problem on macOS is a privacy-permission (TCC) problem, using agent log lines, and says which identity needs which grant.
saadeghi/daisyui
Investigates suspected bugs in the daisyUI monorepo through read-only analysis, then writes a decision-ready fix plan in tmp/bugs without changing any product code.
garrytan/gstack
Investigates bugs, errors and stack traces in phases and requires a root-cause hypothesis to be confirmed before any fix is written.
apache/shardingsphere
Review Apache ShardingSphere or user-authorized downstream pull requests and PR discussions from public or authorized repository evidence.
tirth8205/code-review-graph
Traces a bug through a code knowledge graph, following callers, callees and execution flow before opening source files, within a small token budget.
majiayu000/claude-skill-registry
Multi-source deep research using firecrawl and exa MCPs. An agent skill from majiayu000/claude-skill-registry.
majiayu000/claude-skill-registry
Neural search via Exa MCP for web, code, and company research.
majiayu000/claude-skill-registry
Unified media generation via fal.ai MCP — image, video, and audio.
majiayu000/claude-skill-registry
Interact with Zotero reference management libraries using the pyzotero Python client.
majiayu000/claude-skill-registry
Search scientific papers and retrieve structured experimental data extracted from full-text studies via the BGPT MCP server.
majiayu000/claude-skill-registry
Perform pairwise sequence alignment using Biopython Bio.Align.PairwiseAligner.
Categories
Analyze and explain why Isabelle or Coq proofs fail, identifying the root cause such as type mismatches, missing assumptions, incorrect goals, unification failures, or inapplicable tactics. Proof Failure Explainer is an agent skill from majiayu000/claude-skill-registry. Analyze and explain why Isabelle or Coq proofs fail, identifying the root cause such as type mismatches, missing assumptions, incorrect goals, unification failures, or inapplicable tactics.
Proof Failure Explainer fits situations like: the user encounters proof failures; error messages in formal verification; stuck proof states; asks why their Isabelle/Coq proof doesnt work.
Run `npx skills add majiayu000/claude-skill-registry --skill proof-failure-explainer -a claude-code`. Or copy the skill folder (skills/analysis/proof-failure-explainer in majiayu000/claude-skill-registry) into .claude/skills/proof-failure-explainer in your project. Claude Code loads it when a task matches its description.
Run `npx skills add majiayu000/claude-skill-registry --skill proof-failure-explainer -a codex`. Or copy the skill folder (skills/analysis/proof-failure-explainer in majiayu000/claude-skill-registry) into .agents/skills/proof-failure-explainer in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add majiayu000/claude-skill-registry --skill proof-failure-explainer -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/proof-failure-explainer, .gemini/skills/proof-failure-explainer, .github/skills/proof-failure-explainer and .opencode/skills/proof-failure-explainer in your project.
SKILL.md names no scripts, command-line tools or credentials: Proof Failure Explainer is instructions for the agent only.
SKILL.md names 3 domains. As links in the text: isabelle.in.tum.de, coq.inria.fr and softwarefoundations.cis.upenn.edu. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Proof Failure Explainer is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.5k tokens (SKILL.md is roughly 9.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Proof Failure Explainer: Code Design Rationale Investigator (cursor/plugins, 10k stars), OpenLogi macOS Permissions Triage (AprilNEA/OpenLogi, 23k stars), Bug Finder for daisyUI (saadeghi/daisyui, 43k stars) and Root Cause Debugging (garrytan/gstack, 136k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
majiayu000 (a GitHub user) maintains it in majiayu000/claude-skill-registry, which has 666 GitHub stars. The repository holds 1,273 skills in this directory. The repository was last updated on October 7, 2026.
Source: majiayu000/claude-skill-registry on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.