[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DDRJXE4ATZWF3RGHAFKAVF":3,"skill-same:01M7DDRJXE4ATZWF3RGHAFKAVF":80},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M7DDRJXE4ATZWF3RGHAFKAVF","proof-simplify",null,"Use verified TLA+ specs and Lean proofs to simplify real code safely — delete defensive checks the invariants make dead, remove locks\u002Ftransactions\u002Fretries that do no work, collapse redundant states and flags, replace complex implementations with simpler ones proven equivalent, and encode invariants in types — re-verifying every change (re-check, refinement, reachable-state equivalence) before touching code. Use this skill whenever the user asks to simplify, clean up, de-risk a refactor, or reduce complexity in code that has (or could get) a formal model; asks \"do we still need this lock \u002F check \u002F retry \u002F state\"; wants to turn proofs into code improvements; or finishes a formal-verify bug hunt and wants the payoff. If no verified model exists yet, it starts one via formal-verify first.","opum-ai\u002Fproof-skills","opum-ai","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F311910387?v=4","01M7DDQJG8XXPK9JCD2KJ9FZ62","01M7DDQJHBN3BWWK4DWYMNY9TR",27,"MIT","https:\u002F\u002Fgithub.com\u002Fopum-ai\u002Fproof-skills\u002Fblob\u002Fmain\u002Fskills\u002Fproof-simplify\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: proof-simplify\ndescription: Use verified TLA+ specs and Lean proofs to simplify real code safely — delete defensive checks the invariants make dead, remove locks\u002Ftransactions\u002Fretries that do no work, collapse redundant states and flags, replace complex implementations with simpler ones proven equivalent, and encode invariants in types — re-verifying every change (re-check, refinement, reachable-state equivalence) before touching code. Use this skill whenever the user asks to simplify, clean up, de-risk a refactor, or reduce complexity in code that has (or could get) a formal model; asks \"do we still need this lock \u002F check \u002F retry \u002F state\"; wants to turn proofs into code improvements; or finishes a formal-verify bug hunt and wants the payoff. If no verified model exists yet, it starts one via formal-verify first.\n---\n\n# proof-simplify\n\nA proof tells you what is *always* true of the system. Code written without that knowledge\ndefends against states that cannot happen: guards that never fail, locks that protect\nnothing, retries that never fire, flags that duplicate other state. Each piece costs\nreading time, test time, and latency, and each is a place for new bugs.\n\nThis skill turns proven facts into deletions. It proves every deletion safe *before* making\nit, then re-verifies afterwards.\n\nThe standard of evidence: **a simplification is justified only by a property the model\nproved, under assumptions the code actually enforces.** Anything less is a guess dressed up\nin proof vocabulary.\n\n## Preconditions\n\nYou need all four of these; without them there is nothing to justify a deletion. If any is\nmissing, run `formal-verify` (W1) first:\n- a model that passes (TLA+ at stated bounds, or Lean with `check_trust.sh` clean);\n- frozen properties (`Properties.tla` \u002F `Properties.lean`);\n- the model's sanity checks passed (must-fail invariants fail, bug toggles fail);\n- `CORRESPONDENCE.md`, including its **Assumptions** list.\n\n## Workflow\n\n1. **Harvest candidates.** Read the model and the code side by side. Use\n   `references\u002Fcatalog.md` for the eight kinds of candidate and how to spot each:\n   - a guard implied by the invariant,\n   - redundant synchronization,\n   - a dead branch or unreachable state,\n   - a dead retry or timeout path,\n   - a redundant variable or flag,\n   - mergeable (bisimilar) states,\n   - an implementation replaceable by a simpler proven-equal one,\n   - an invariant that can be encoded in types.\n\n   List each candidate with its code location, the model element it maps to, and the fact\n   that would justify it.\n2. **Prove each candidate in the model before touching code.** Techniques, from cheapest to\n   strongest (`references\u002Fequivalence.md`):\n   - **Re-check.** Apply the simplification to the model, then re-run *every* frozen property,\n     the sanity checks, and the bug toggles, at the same or larger bounds.\n   - **Guard implication.** In Lean, prove the guard follows from the invariant in every\n     reachable state. In TLA+, check `Enabled_A_without_G => G` as an invariant.\n   - **Refinement.** Show the simplified spec implements the current one: TLA+\n     `INSTANCE … WITH` checked as a PROPERTY, or a Lean simulation theorem. All safety\n     properties then transfer automatically. Liveness must be re-checked.\n   - **Reachable-state equivalence** (Lean `reach_iff`). The two versions reach exactly the\n     same states. This is the strongest form.\n   - **Function equality** (Lean `theorem simple_eq : ∀ x, simple x = current x`). Use it for\n     replacing an algorithm.\n3. **Audit assumptions.** For each candidate, list which Assumptions from CORRESPONDENCE.md\n   the proof relies on, then decide:\n   - **Remove** when every assumption is enforced by code or infrastructure you control\n     (a type, a DB constraint, a single-writer design).\n   - **Downgrade to an assertion** (a debug assert, a metric, or a log-and-continue) when the\n     proof holds but an assumption is only conventional. The next person who breaks the\n     assumption then gets a signal instead of silent corruption.\n   - **Keep** when the code sits on a trust boundary (network input, user input, disk, another\n     team's service, a rolling deploy with mixed versions), or when the assumption is outside\n     your control. Internal invariants never justify deleting validation of external input.\n4. **Apply one simplification at a time.** For each accepted candidate:\n   - make the code change,\n   - update the model to match it (the simplified model is now the model),\n   - update CORRESPONDENCE.md,\n   - run the project's tests and the reproduction tests from earlier findings,\n   - re-run the model.\n\n   Use one commit per simplification, whose message names the property that justifies it.\n5. **Report.** Add `simplifications[]` to `formal\u002Ffindings.json`, then publish the Artifact\n   report (`formal-verify\u002Freferences\u002Freport-artifact.md`, section \"Simplifications\"). For\n   each change it shows:\n   - the diff,\n   - the justifying property or theorem, and its evidence,\n   - the assumptions relied on,\n   - the decision (removed \u002F downgraded \u002F kept), and\n   - the lines-of-code delta.\n\n   Also include the candidates you rejected, with the reason. They are useful knowledge (\"the\n   lock looks redundant but protects the cron path, which is not modeled\").\n\n## Worked examples (both verified)\n\n- **TLA+: a lock that does nothing.** `assets\u002Ftla\u002FCancelOrder.tla` models a cancel handler\n  that takes a row lock *and* uses a conditional UPDATE, while the payment webhook never\n  takes the lock.\n  - `MC_current.cfg` and `MC_cas_only.cfg` pass.\n  - `MC_lock_only.cfg` fails (exit 13): the lock alone never prevented `paid → cancelled`.\n  - `CancelOrderSimple.tla` removes the lock, and `MC_refines.cfg` proves it refines the\n    current spec under a mapping that reconstructs the lock.\n  - Mutating the simplified spec to drop the CAS guard makes the check fail, so the\n    refinement check has teeth.\n\n  Decision: remove the lock, keep the CAS, and write the model's finding into the code comment.\n- **Lean: a defensive guard the invariant makes dead.**\n  `lean-model\u002Fassets\u002Flean-patterns\u002FProofPatterns\u002FRedundantGuard.lean`:\n  - `guard_implied`: the `k ∉ applied` re-check follows from the idempotency invariant.\n  - `reach_iff`: with or without it, exactly the same states are reachable.\n\n  Decision: delete it, citing `applied_nodup`.\n\nRun them:\n```bash\nT=${CLAUDE_SKILL_DIR}\u002F..\u002Ftlaplus-model\u002Fscripts\u002Ftlc.sh\nfor c in MC_current MC_cas_only MC_lock_only; do $T ${CLAUDE_SKILL_DIR}\u002Fassets\u002Ftla\u002FCancelOrder.tla --config $c.cfg; done\n$T ${CLAUDE_SKILL_DIR}\u002Fassets\u002Ftla\u002FCancelOrderSimple.tla --config MC_refines.cfg\n```\n\n## What not to do\n\n- Don't simplify on the strength of a model that never failed. Sanity checks come first.\n- Don't carry a property from a bounded check into an unbounded claim. \"Holds for 2 workers\"\n  does not justify deleting a lock that matters at 3. Either argue that the bound covers\n  it (symmetry, or the property is per-pair), prove it in Lean, or re-check at larger bounds.\n- Don't merge several simplifications into one unverified leap. Re-verify after each one.\n  Two individually safe deletions can be jointly unsafe.\n- Don't delete observability (logs, metrics) because a state is \"unreachable\". Consider\n  turning the branch into an alert.\n- Don't let a refinement proof stand in for liveness. Refinement preserves safety, so\n  re-check liveness separately.\n\n## Reference files\n\n- `references\u002Fcatalog.md` — the eight candidate kinds: how to spot them, how to justify them in TLA+ and Lean, and the typical code change.\n- `references\u002Fequivalence.md` — re-check, guard implication, refinement mappings, reachable-state equivalence, and function equality, with verified templates.\n","# proof-simplify\n\nA proof tells you what is *always* true of the system. Code written without that knowledge\ndefends against states that cannot happen: guards that never fail, locks that protect\nnothing, retries that never fire, flags that duplicate other state. Each piece costs\nreading time, test time, and latency, and each is a place for new bugs.\n\nThis skill turns proven facts into deletions. It proves every deletion safe *before* making\nit, then re-verifies afterwards.\n\nThe standard of evidence: **a simplification is justified only by a property the model\nproved, under assumptions the code actually enforces.** Anything less is a guess dressed up\nin proof vocabulary.\n\n## Preconditions\n\nYou need all four of these; without them there is nothing to justify a deletion. If any is\nmissing, run `formal-verify` (W1) first:\n- a model that passes (TLA+ at stated bounds, or Lean with `check_trust.sh` clean);\n- frozen properties (`Properties.tla` \u002F `Properties.lean`);\n- the model's sanity checks passed (must-fail invariants fail, bug toggles fail);\n- `CORRESPONDENCE.md`, including its **Assumptions** list.\n\n## Workflow\n\n1. **Harvest candidates.** Read the model and the code side by side. Use\n   `references\u002Fcatalog.md` for the eight kinds of candidate and how to spot each:\n   - a guard implied by the invariant,\n   - redundant synchronization,\n   - a dead branch or unreachable state,\n   - a dead retry or timeout path,\n   - a redundant variable or flag,\n   - mergeable (bisimilar) states,\n   - an implementation replaceable by a simpler proven-equal one,\n   - an invariant that can be encoded in types.\n\n   List each candidate with its code location, the model element it maps to, and the fact\n   that would justify it.\n2. **Prove each candidate in the model before touching code.** Techniques, from cheapest to\n   strongest (`references\u002Fequivalence.md`):\n   - **Re-check.** Apply the simplification to the model, then re-run *every* frozen property,\n     the sanity checks, and the bug toggles, at the same or larger bounds.\n   - **Guard implication.** In Lean, prove the guard follows from the invariant in every\n     reachable state. In TLA+, check `Enabled_A_without_G => G` as an invariant.\n   - **Refinement.** Show the simplified spec implements the current one: TLA+\n     `INSTANCE … WITH` checked as a PROPERTY, or a Lean simulation theorem. All safety\n     properties then transfer automatically. Liveness must be re-checked.\n   - **Reachable-state equivalence** (Lean `reach_iff`). The two versions reach exactly the\n     same states. This is the strongest form.\n   - **Function equality** (Lean `theorem simple_eq : ∀ x, simple x = current x`). Use it for\n     replacing an algorithm.\n3. **Audit assumptions.** For each candidate, list which Assumptions from CORRESPONDENCE.md\n   the proof relies on, then decide:\n   - **Remove** when every assumption is enforced by code or infrastructure you control\n     (a type, a DB constraint, a single-writer design).\n   - **Downgrade to an assertion** (a debug assert, a metric, or a log-and-continue) when the\n     proof holds but an assumption is only conventional. The next person who breaks the\n     assumption then gets a signal instead of silent corruption.\n   - **Keep** when the code sits on a trust boundary (network input, user input, disk, another\n     team's service, a rolling deploy with mixed versions), or when the assumption is outside\n     your control. Internal invariants never justify deleting validation of external input.\n4. **Apply one simplification at a time.** For each accepted candidate:\n   - make the code change,\n   - update the model to match it (the simplified model is now the model),\n   - update CORRESPONDENCE.md,\n   - run the project's tests and the reproduction tests from earlier findings,\n   - re-run the model.\n\n   Use one commit per simplification, whose message names the property that justifies it.\n5. **Report.** Add `simplifications[]` to `formal\u002Ffindings.json`, then publish the Artifact\n   report (`formal-verify\u002Freferences\u002Freport-artifact.md`, section \"Simplifications\"). For\n   each change it shows:\n   - the diff,\n   - the justifying property or theorem, and its evidence,\n   - the assumptions relied on,\n   - the decision (removed \u002F downgraded \u002F kept), and\n   - the lines-of-code delta.\n\n   Also include the candidates you rejected, with the reason. They are useful knowledge (\"the\n   lock looks redundant but protects the cron path, which is not modeled\").\n\n## Worked examples (both verified)\n\n- **TLA+: a lock that does nothing.** `assets\u002Ftla\u002FCancelOrder.tla` models a cancel handler\n  that takes a row lock *and* uses a conditional UPDATE, while the payment webhook never\n  takes the lock.\n  - `MC_current.cfg` and `MC_cas_only.cfg` pass.\n  - `MC_lock_only.cfg` fails (exit 13): the lock alone never prevented `paid → cancelled`.\n  - `CancelOrderSimple.tla` removes the lock, and `MC_refines.cfg` proves it refines the\n    current spec under a mapping that reconstructs the lock.\n  - Mutating the simplified spec to drop the CAS guard makes the check fail, so the\n    refinement check has teeth.\n\n  Decision: remove the lock, keep the CAS, and write the model's finding into the code comment.\n- **Lean: a defensive guard the invariant makes dead.**\n  `lean-model\u002Fassets\u002Flean-patterns\u002FProofPatterns\u002FRedundantGuard.lean`:\n  - `guard_implied`: the `k ∉ applied` re-check follows from the idempotency invariant.\n  - `reach_iff`: with or without it, exactly the same states are reachable.\n\n  Decision: delete it, citing `applied_nodup`.\n\nRun them:\n```bash\nT=${CLAUDE_SKILL_DIR}\u002F..\u002Ftlaplus-model\u002Fscripts\u002Ftlc.sh\nfor c in MC_current MC_cas_only MC_lock_only; do $T ${CLAUDE_SKILL_DIR}\u002Fassets\u002Ftla\u002FCancelOrder.tla --config $c.cfg; done\n$T ${CLAUDE_SKILL_DIR}\u002Fassets\u002Ftla\u002FCancelOrderSimple.tla --config MC_refines.cfg\n```\n\n## What not to do\n\n- Don't simplify on the strength of a model that never failed. Sanity checks come first.\n- Don't carry a property from a bounded check into an unbounded claim. \"Holds for 2 workers\"\n  does not justify deleting a lock that matters at 3. Either argue that the bound covers\n  it (symmetry, or the property is per-pair), prove it in Lean, or re-check at larger bounds.\n- Don't merge several simplifications into one unverified leap. Re-verify after each one.\n  Two individually safe deletions can be jointly unsafe.\n- Don't delete observability (logs, metrics) because a state is \"unreachable\". Consider\n  turning the branch into an alert.\n- Don't let a refinement proof stand in for liveness. Refinement preserves safety, so\n  re-check liveness separately.\n\n## Reference files\n\n- `references\u002Fcatalog.md` — the eight candidate kinds: how to spot them, how to justify them in TLA+ and Lean, and the typical code change.\n- `references\u002Fequivalence.md` — re-check, guard implication, refinement mappings, reachable-state equivalence, and function equality, with verified templates.\n",{"name":5,"description":7},"main","578749fd8baa6456d89d7a0037c88bc09a89213d","skills\u002Fproof-simplify",7,"https:\u002F\u002Fgithub.com\u002Fopum-ai\u002Fproof-skills","https:\u002F\u002Fgithub.com\u002Fopum-ai","2026-09-26 07:47:20",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add opum-ai\u002Fproof-skills --skill proof-simplify",{"tool":36,"command":37},"bunx","bunx skills add opum-ai\u002Fproof-skills --skill proof-simplify",{"tool":39,"command":40},"pnpm","pnpm dlx skills add opum-ai\u002Fproof-skills --skill proof-simplify","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fopum-ai\u002Fproof-skills\u002Fblob\u002Fmain\u002Fskills\u002Fproof-simplify\u002FSKILL.md",true,[44,50,54,58,62,66,70,76],{"path":45,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":48,"sourceHtmlUrl":49},"assets\u002Ftla\u002FCancelOrder.tla","ASSET","资产文件",2072,"https:\u002F\u002Fgithub.com\u002Fopum-ai\u002Fproof-skills\u002Fblob\u002Fmain\u002Fskills\u002Fproof-simplify\u002Fassets\u002Ftla\u002FCancelOrder.tla",{"path":51,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":52,"sourceHtmlUrl":53},"assets\u002Ftla\u002FCancelOrderSimple.tla",1628,"https:\u002F\u002Fgithub.com\u002Fopum-ai\u002Fproof-skills\u002Fblob\u002Fmain\u002Fskills\u002Fproof-simplify\u002Fassets\u002Ftla\u002FCancelOrderSimple.tla",{"path":55,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":56,"sourceHtmlUrl":57},"assets\u002Ftla\u002FMC_cas_only.cfg",131,"https:\u002F\u002Fgithub.com\u002Fopum-ai\u002Fproof-skills\u002Fblob\u002Fmain\u002Fskills\u002Fproof-simplify\u002Fassets\u002Ftla\u002FMC_cas_only.cfg",{"path":59,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":60,"sourceHtmlUrl":61},"assets\u002Ftla\u002FMC_current.cfg",130,"https:\u002F\u002Fgithub.com\u002Fopum-ai\u002Fproof-skills\u002Fblob\u002Fmain\u002Fskills\u002Fproof-simplify\u002Fassets\u002Ftla\u002FMC_current.cfg",{"path":63,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":64,"sourceHtmlUrl":65},"assets\u002Ftla\u002FMC_lock_only.cfg",114,"https:\u002F\u002Fgithub.com\u002Fopum-ai\u002Fproof-skills\u002Fblob\u002Fmain\u002Fskills\u002Fproof-simplify\u002Fassets\u002Ftla\u002FMC_lock_only.cfg",{"path":67,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":68,"sourceHtmlUrl":69},"assets\u002Ftla\u002FMC_refines.cfg",91,"https:\u002F\u002Fgithub.com\u002Fopum-ai\u002Fproof-skills\u002Fblob\u002Fmain\u002Fskills\u002Fproof-simplify\u002Fassets\u002Ftla\u002FMC_refines.cfg",{"path":71,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":74,"sourceHtmlUrl":75},"references\u002Fcatalog.md","REFERENCE","参考文档",5916,"https:\u002F\u002Fgithub.com\u002Fopum-ai\u002Fproof-skills\u002Fblob\u002Fmain\u002Fskills\u002Fproof-simplify\u002Freferences\u002Fcatalog.md",{"path":77,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":78,"sourceHtmlUrl":79},"references\u002Fequivalence.md",3542,"https:\u002F\u002Fgithub.com\u002Fopum-ai\u002Fproof-skills\u002Fblob\u002Fmain\u002Fskills\u002Fproof-simplify\u002Freferences\u002Fequivalence.md",[81,88,95,102,109],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":18},"01M7DDRX3VER6A4MWWRN7Y8VPX","tlaplus-model","TLA+\u002FTLC model-checking skill. Use it whenever TLA+, PlusCal, Quint, Apalache, TLC, a .tla\u002F.cfg file, or model-checker output appears. That includes a pasted TLC error, \"Invariant X is violated\", or a State 1\u002FState 2… counterexample trace the user wants explained or triaged (real bug, model artifact, or too-strong property), even if it looks answerable by reading alone. Also use it to write, run, scale, or fix specs; debug slow or exploding TLC runs; check invariants, liveness, and fairness; replay production logs against a spec; or \"model\"\u002F\"exhaustively check\" concurrent code, protocols, queues, caches, schedulers, leases, retries, and state machines for races, lost updates, double-spends, deadlocks, and ordering bugs, even for a design with no code yet. Not for runtime race detectors, Jepsen, Alloy, Lean\u002FCoq proofs, or UI state-machine libraries. Pair with formal-verify for the full bug-hunt loop.","https:\u002F\u002Fgithub.com\u002Fopum-ai\u002Fproof-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftlaplus-model\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":18},"01M7DDR8E5B0XX7GYX1WMAGMNS","lean-model","Use this skill to prove or refute properties of real software in Lean 4. The target is the user's own code, not textbook math. It covers state machines, concurrency and interleavings, async handlers, retries and idempotency, queues, batching pipelines, and graph algorithms such as topological order, acyclicity and DAG scheduling. Trigger it when the user wants a guarantee for every input or size (\"holds for all N\"), beyond what TLC, tests or a model checker showed. Also trigger it for invariant proofs by induction, a concrete counterexample trace, an executable reference model for differential testing, or setting up a Lean\u002Flake project to model code. Also use it to audit a Lean development's trust base: sorry, axioms, native_decide. Do NOT use it for pure mathematics such as analysis, algebra or Mathlib coursework and homework. Do NOT use it to translate code into Lean syntax, or for other provers like Dafny, Coq or Isabelle. Pairs with formal-verify for bug hunts and tlaplus-model for protocol exploration.","https:\u002F\u002Fgithub.com\u002Fopum-ai\u002Fproof-skills\u002Fblob\u002Fmain\u002Fskills\u002Flean-model\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":18},"01M7DDQYBK2ZP07SZ59HJG148B","formal-verify","End-to-end formal-methods bug hunting for real codebases in any language — scope a risky concern, model it in TLA+ and\u002For Lean 4, check it, turn every counterexample into a failing test, fix the code, re-verify, and publish the results as an Artifact report. Use this skill whenever the user wants to find race conditions, lost updates, deadlocks, stale caches, double-applied retries, broken idempotency, message reordering or loss bugs, state-machine violations, dataflow\u002Fpipeline loss or duplication, or graph\u002FDAG\u002Fscheduler bugs; whenever they say \"formally verify\", \"model check\", \"prove\", \"TLA+\", \"Lean\", \"invariant\", \"spec this out\", \"is this thread-safe\", \"can this race\", or ask for a concurrency\u002Fasync\u002Fdistributed review of a module or PR — even if they never name a formal-methods tool. Also the entry point for keeping specs in CI and detecting spec\u002Fcode drift. Routes to tlaplus-model, lean-model, and proof-simplify for the tool-specific work.","https:\u002F\u002Fgithub.com\u002Fopum-ai\u002Fproof-skills\u002Fblob\u002Fmain\u002Fskills\u002Fformal-verify\u002FSKILL.md",[],[],{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":18},"01M7DDQSER8Y7VY1HM87QWB481","quest","Drive this repo's task tracker with the quest CLI instead of editing backlog\u002Ftracker state directly. Use whenever creating, listing, viewing, editing, completing, or archiving tasks, drafts, milestones, or decisions in a Quest-initialized workspace. Run `quest instructions --list` for the workflow guides and `quest help [command]` for full usage.","https:\u002F\u002Fgithub.com\u002Fopum-ai\u002Fproof-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fquest\u002FSKILL.md",[],[],{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":18},"01M7DDQMPWD8GQSZGJW61W2W23","lore","Author, retrieve, and maintain OKF documentation with the lore CLI, including explicit multi-repository workspaces. Use whenever reading, writing, linking, moving, querying, or checking docs, so Story\u002FTask coupling, managed blocks, provenance, and cross-links stay coherent. Run `lore instructions` for the canonical agent loop and `lore instructions \u003Ctopic>` for just-in-time detail.","https:\u002F\u002Fgithub.com\u002Fopum-ai\u002Fproof-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Flore\u002FSKILL.md",[],[]]