[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M74AA65VBXVA11AA8JPBNYW6":3,"skill-same:01M74AA65VBXVA11AA8JPBNYW6":51},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":26,"commitSha":27,"skillDirectory":28,"forksCount":14,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":31,"install":32,"resources":44},"01M74AA65VBXVA11AA8JPBNYW6","correctness",null,"Review a working change for defects (logic, state, lifecycle, concurrency, regression) and for drift from its ticket, docs, and rules, then apply what you accept.","lithammer\u002Fai","lithammer","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F177685?v=4","01M72XZ1CBM905458R0T7AGP87","Peter Lithammer","01M72XZ1CYWE22YVYQ43NJQZQB",0,"MIT","https:\u002F\u002Fgithub.com\u002Flithammer\u002Fai\u002Fblob\u002Fmain\u002Fskills\u002Fcorrectness\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: correctness\ndescription: Review a working change for defects (logic, state, lifecycle, concurrency, regression) and for drift from its ticket, docs, and rules, then apply what you accept.\ndisable-model-invocation: true\nargument-hint: \"[target]\"\n---\n\n# Correctness\n\n## Run\n\n1. Diff the review target: the current branch against its merge-base\n   with the default branch, plus uncommitted changes, unless the\n   invocation names another target.\n2. Spawn five reviewers in parallel: one for Logic and Concurrency, one\n   for State, one for Lifecycle, one for Regression, and one for the\n   Contract axes, leaving out Spec when the change has no ticket.\n3. Spawn one verifier with the Evidence and Verify sections copied\n   verbatim, the review target, and every finding as its line, trigger,\n   and failure, without the reviewer's reasoning.\n4. Merge the confirmed and dependent findings that one fix resolves,\n   keeping each one's trigger.\n5. Apply each confirmed Contradictions finding whose fix changes only a\n   comment, docstring, doc, or example to match what the code does.\n6. Present each other merged finding with its triggers and failure, the\n   fix you would apply, any fact it depends on, and your recommendation\n   with its reason, and wait for the person to accept or decline it.\n   List the refuted ones in a line each with the code the verifier\n   cites, so the person can overrule it. Apply the accepted ones.\n7. End with the findings by axis, sorted by file and line, which you\n   applied, and the decisions they leave the person, each with your\n   recommendation.\n\nGive every reviewer the Scope, Evidence, and Report sections and its own\naxis sections, copied verbatim, plus the review target and the ticket.\nGive each Behavior reviewer the paragraph under Behavior as well, and\nthe Contract reviewer the path of the user-level instruction file your\nharness loads. Add nothing of your own reading.\n\n## Scope\n\nReview the axes your task names. Other reviewers cover the other axes;\nleave their findings to them.\n\n## Evidence\n\nA finding names the input or state, the changed line, and the failure\nthat follows: a wrong result, a crash, lost data, or a broken contract.\nReport a defect only when the change causes or worsens it, or when the\ncode fails an explicit requirement of the change, and cite the line\nthat does. Trace the trigger through callers, guards, types, and\nconfiguration before you report it; a guard that rules it out refutes\nit. A defect that another defect hides today still counts; it depends\non that fix.\n\n## Behavior\n\nTrace the change end to end on every Behavior axis: follow each changed\npath from where its input enters to where its effects land, in storage,\nevents, responses, or another process, across files.\n\n### Logic\n\nWhat input makes a changed line compute the wrong answer? Apply boundary\nvalue analysis to each condition, index, and range the change touches.\nTreat input from across a trust boundary as tainted, and trace it to\nevery sink it reaches. Check that queries, units, and clocks mean what\nthe code takes them to mean. Find silent failures: an error swallowed,\nor a fallback that reports success under a broken assumption.\n\n### State\n\nWhat invariant can the change leave broken? Name the invariants the\nchanged code relies on or maintains, then find every write that can\nbreak one, outside the diff as well. An invariant can hold before and\nafter a multi-step update but not between its steps; find who reads it\nthere. Where data has a single source of truth, find the copies, caches,\nand derived values the change lets drift from it.\n\n### Lifecycle\n\nWhat does the change start, hold, schedule, or store, and when does each\nend? Check exception safety: on every exit, early returns and failures\nhalfway included, it is released or completed. Find what never ends or\nexpires and builds up. Ask what happens when its owner ends first, when\nthe process restarts and memory is lost, and when it runs twice: an\noperation that can be retried must be idempotent. An effect that escapes\nbefore its transaction commits outlives a rollback. What the change\nstores may meet data written before it, or code from another version;\nreport that only when the repository shows them meeting: existing\nrecords, a rolling deploy, or a published format.\n\n### Concurrency\n\nWhat runs at once on shared state? Establish the happens-before order\nthe changed code relies on, and find where nothing enforces it. A\ncheck-then-act breaks when the state can change between the check and\nthe act. Report a race only when tasks that really run at once share\nthe state.\n\n### Regression\n\nWhat did the old code guarantee that the new code no longer does? Read\nthe old code beside the new: for each line the change deletes or\nreplaces, and each path it moves or rewrites, name what it enforced (a\nguard, an order, a window, a side effect, a retry) and find where the\nnew code enforces it again. Respect Chesterton's fence: a guarantee\nnobody wrote down still counts.\n\n## Contract\n\n### Spec\n\nDoes the change do what its ticket asks? Find requirements missing or\nonly partly met, requirements met wrongly, and changes to observable\nbehavior that the ticket did not ask for. Quote the requirement. A\nticket title is context, not a specification; without a usable spec,\nsay so and leave this axis.\n\n### Contradictions\n\nDoes the change leave the code and its own claims disagreeing? Check the\ncomments, docstrings, and docs the change touches or makes stale against\nwhat the code now does. Quote both claims with their locations and say\nwhich is wrong.\n\n### Conventions\n\nDoes a changed line break a rule from the instruction files that govern\nit? Find them: the user-level file your task names, and each `AGENTS.md`\nor `CLAUDE.md` at the repository root or in an ancestor directory of a\nchanged file, and the repository's `CODING_STANDARDS.md`, `REVIEW.md`,\nand `CONTRIBUTING.md` when present, with the files they import or point\nto. A directory's file binds only the files at or below it. Quote the\nrule with its file and the line that breaks it; the spirit of a rule is\nnot evidence.\n\nThe design decisions bind it too: the ADRs in `docs\u002Fadr\u002F` and the root\n`GLOSSARY.md`, and when a `GLOSSARY-MAP.md` lists contexts, the ADRs and\nglossary of each context the change touches. An ADR binds while its\nstatus is current and nothing supersedes it; quote its decision as you\nwould a rule. A glossary defines the domain terms the code and ticket\nuse. A missing document is not a finding.\n\n## Report\n\nReturn each finding with its file and line, its axis, the input or\nstate that triggers it, the failure that follows, and any fact it\ndepends on that the code does not show.\n\n## Verify\n\nFindings may repeat across reviewers; trace a shared mechanism once and\ngive each finding its own verdict. For each finding, read the cited line\nand trace its trigger to its failure through callers, guards, types, and\nconfiguration. Give one verdict:\n\n- confirmed: the trace holds, and the change causes or worsens it.\n- depends: it holds only if a fact the code does not show is true; name\n  the fact.\n- refuted: cite the code, at file and line, that rules it out, or the\n  old code that had the same defect, or say that it names no failure.\n\nRefute only by citing code. A finding you doubt but cannot rule out\ndepends on the fact you would need.\n","# Correctness\n\n## Run\n\n1. Diff the review target: the current branch against its merge-base\n   with the default branch, plus uncommitted changes, unless the\n   invocation names another target.\n2. Spawn five reviewers in parallel: one for Logic and Concurrency, one\n   for State, one for Lifecycle, one for Regression, and one for the\n   Contract axes, leaving out Spec when the change has no ticket.\n3. Spawn one verifier with the Evidence and Verify sections copied\n   verbatim, the review target, and every finding as its line, trigger,\n   and failure, without the reviewer's reasoning.\n4. Merge the confirmed and dependent findings that one fix resolves,\n   keeping each one's trigger.\n5. Apply each confirmed Contradictions finding whose fix changes only a\n   comment, docstring, doc, or example to match what the code does.\n6. Present each other merged finding with its triggers and failure, the\n   fix you would apply, any fact it depends on, and your recommendation\n   with its reason, and wait for the person to accept or decline it.\n   List the refuted ones in a line each with the code the verifier\n   cites, so the person can overrule it. Apply the accepted ones.\n7. End with the findings by axis, sorted by file and line, which you\n   applied, and the decisions they leave the person, each with your\n   recommendation.\n\nGive every reviewer the Scope, Evidence, and Report sections and its own\naxis sections, copied verbatim, plus the review target and the ticket.\nGive each Behavior reviewer the paragraph under Behavior as well, and\nthe Contract reviewer the path of the user-level instruction file your\nharness loads. Add nothing of your own reading.\n\n## Scope\n\nReview the axes your task names. Other reviewers cover the other axes;\nleave their findings to them.\n\n## Evidence\n\nA finding names the input or state, the changed line, and the failure\nthat follows: a wrong result, a crash, lost data, or a broken contract.\nReport a defect only when the change causes or worsens it, or when the\ncode fails an explicit requirement of the change, and cite the line\nthat does. Trace the trigger through callers, guards, types, and\nconfiguration before you report it; a guard that rules it out refutes\nit. A defect that another defect hides today still counts; it depends\non that fix.\n\n## Behavior\n\nTrace the change end to end on every Behavior axis: follow each changed\npath from where its input enters to where its effects land, in storage,\nevents, responses, or another process, across files.\n\n### Logic\n\nWhat input makes a changed line compute the wrong answer? Apply boundary\nvalue analysis to each condition, index, and range the change touches.\nTreat input from across a trust boundary as tainted, and trace it to\nevery sink it reaches. Check that queries, units, and clocks mean what\nthe code takes them to mean. Find silent failures: an error swallowed,\nor a fallback that reports success under a broken assumption.\n\n### State\n\nWhat invariant can the change leave broken? Name the invariants the\nchanged code relies on or maintains, then find every write that can\nbreak one, outside the diff as well. An invariant can hold before and\nafter a multi-step update but not between its steps; find who reads it\nthere. Where data has a single source of truth, find the copies, caches,\nand derived values the change lets drift from it.\n\n### Lifecycle\n\nWhat does the change start, hold, schedule, or store, and when does each\nend? Check exception safety: on every exit, early returns and failures\nhalfway included, it is released or completed. Find what never ends or\nexpires and builds up. Ask what happens when its owner ends first, when\nthe process restarts and memory is lost, and when it runs twice: an\noperation that can be retried must be idempotent. An effect that escapes\nbefore its transaction commits outlives a rollback. What the change\nstores may meet data written before it, or code from another version;\nreport that only when the repository shows them meeting: existing\nrecords, a rolling deploy, or a published format.\n\n### Concurrency\n\nWhat runs at once on shared state? Establish the happens-before order\nthe changed code relies on, and find where nothing enforces it. A\ncheck-then-act breaks when the state can change between the check and\nthe act. Report a race only when tasks that really run at once share\nthe state.\n\n### Regression\n\nWhat did the old code guarantee that the new code no longer does? Read\nthe old code beside the new: for each line the change deletes or\nreplaces, and each path it moves or rewrites, name what it enforced (a\nguard, an order, a window, a side effect, a retry) and find where the\nnew code enforces it again. Respect Chesterton's fence: a guarantee\nnobody wrote down still counts.\n\n## Contract\n\n### Spec\n\nDoes the change do what its ticket asks? Find requirements missing or\nonly partly met, requirements met wrongly, and changes to observable\nbehavior that the ticket did not ask for. Quote the requirement. A\nticket title is context, not a specification; without a usable spec,\nsay so and leave this axis.\n\n### Contradictions\n\nDoes the change leave the code and its own claims disagreeing? Check the\ncomments, docstrings, and docs the change touches or makes stale against\nwhat the code now does. Quote both claims with their locations and say\nwhich is wrong.\n\n### Conventions\n\nDoes a changed line break a rule from the instruction files that govern\nit? Find them: the user-level file your task names, and each `AGENTS.md`\nor `CLAUDE.md` at the repository root or in an ancestor directory of a\nchanged file, and the repository's `CODING_STANDARDS.md`, `REVIEW.md`,\nand `CONTRIBUTING.md` when present, with the files they import or point\nto. A directory's file binds only the files at or below it. Quote the\nrule with its file and the line that breaks it; the spirit of a rule is\nnot evidence.\n\nThe design decisions bind it too: the ADRs in `docs\u002Fadr\u002F` and the root\n`GLOSSARY.md`, and when a `GLOSSARY-MAP.md` lists contexts, the ADRs and\nglossary of each context the change touches. An ADR binds while its\nstatus is current and nothing supersedes it; quote its decision as you\nwould a rule. A glossary defines the domain terms the code and ticket\nuse. A missing document is not a finding.\n\n## Report\n\nReturn each finding with its file and line, its axis, the input or\nstate that triggers it, the failure that follows, and any fact it\ndepends on that the code does not show.\n\n## Verify\n\nFindings may repeat across reviewers; trace a shared mechanism once and\ngive each finding its own verdict. For each finding, read the cited line\nand trace its trigger to its failure through callers, guards, types, and\nconfiguration. Give one verdict:\n\n- confirmed: the trace holds, and the change causes or worsens it.\n- depends: it holds only if a fact the code does not show is true; name\n  the fact.\n- refuted: cite the code, at file and line, that rules it out, or the\n  old code that had the same defect, or say that it names no failure.\n\nRefute only by citing code. A finding you doubt but cannot rule out\ndepends on the fact you would need.\n",{"name":5,"description":7,"argument-hint":24,"disable-model-invocation":25},"[target]",true,"main","6c43d36bf64f0af6cc48a23a75649b8be0ba247c","skills\u002Fcorrectness","https:\u002F\u002Fgithub.com\u002Flithammer\u002Fai","https:\u002F\u002Fgithub.com\u002Flithammer","2026-11-13 19:30:46",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":25},[34,37,40],{"tool":35,"command":36},"npx","npx skills add lithammer\u002Fai --skill correctness",{"tool":38,"command":39},"bunx","bunx skills add lithammer\u002Fai --skill correctness",{"tool":41,"command":42},"pnpm","pnpm dlx skills add lithammer\u002Fai --skill correctness","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flithammer\u002Fai\u002Fblob\u002Fmain\u002Fskills\u002Fcorrectness\u002FSKILL.md",[45],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"agents\u002Fopenai.yaml","REFERENCE","参考文档",181,"https:\u002F\u002Fgithub.com\u002Flithammer\u002Fai\u002Fblob\u002Fmain\u002Fskills\u002Fcorrectness\u002Fagents\u002Fopenai.yaml",[52,59,67,74,81,88],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M74AAAPNY933TSRZHM4PSKZ3","shape","Review a working change for its shape (cause, ownership, states, names, size, reuse, cost), then apply what you accept.","https:\u002F\u002Fgithub.com\u002Flithammer\u002Fai\u002Fblob\u002Fmain\u002Fskills\u002Fshape\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":66},"01M72Y19CBNJ6SDBY29A9JZ0GV","zero-tech-debt","Rework a change as if the intended UX and architecture existed from day one, deleting compatibility cruft and accidental complexity.","https:\u002F\u002Fgithub.com\u002Flithammer\u002Fai\u002Fblob\u002Fmain\u002Fskills\u002Fzero-tech-debt\u002FSKILL.md",[],[],"2026-11-10 22:39:42",{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":66},"01M72Y1441P3HZAT87MT4MWMQQ","waterfall-review","Review a code change by dispatching specialized review subagents in parallel — each focused on a single dimension (correctness, security, architecture, etc.) — then triaging their findings into a unified report. Works standalone on a branch or as part of the waterfall flow after implementation. Invoke when the user explicitly asks to review a branch or diff, or as a step inside waterfall-implement; avoid auto-triggering on casual mentions of \"review\".","https:\u002F\u002Fgithub.com\u002Flithammer\u002Fai\u002Fblob\u002Fmain\u002Fskills\u002Fwaterfall\u002Fwaterfall-review\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":66},"01M72Y0ZGMWP5EZHRD5DB3SHKM","waterfall-refactor","Identify refactoring opportunities in code that a feature will touch. Runs at strategic level during design (looking for structural moves that could change which approach is chosen) or tactical level before implementation (looking for pre-work that gives the feature a better foundation). Primarily invoked by waterfall-design or waterfall-implement; avoid auto-triggering on casual mentions of \"refactor\".","https:\u002F\u002Fgithub.com\u002Flithammer\u002Fai\u002Fblob\u002Fmain\u002Fskills\u002Fwaterfall\u002Fwaterfall-refactor\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":66},"01M72Y0X02J7VCBG9S3AJV7W16","waterfall-plan","Detail a chosen design approach into an implementation plan (objective, file manifest, execution order, test strategy), then auto-proceed to waterfall-challenge. Convergent phase of the waterfall flow.","https:\u002F\u002Fgithub.com\u002Flithammer\u002Fai\u002Fblob\u002Fmain\u002Fskills\u002Fwaterfall\u002Fwaterfall-plan\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":66},"01M72Y0T92QZ341Y26XJ7H50AQ","waterfall-implement","Implement a planned and challenged feature one increment at a time. Each increment is delegated to a subagent, then run through a review-fix loop until clean. Orchestrator stays in oversight.","https:\u002F\u002Fgithub.com\u002Flithammer\u002Fai\u002Fblob\u002Fmain\u002Fskills\u002Fwaterfall\u002Fwaterfall-implement\u002FSKILL.md",[],[]]