[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6HR4FQ18C57RYJXT0H39NF1":3,"skill-same:01M6HR4FQ18C57RYJXT0H39NF1":80},{"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":35,"linkOnly":36,"markdownContent":37,"markdownBody":38,"frontMatter":39,"refName":43,"commitSha":44,"skillDirectory":5,"forksCount":45,"repositoryHtmlUrl":46,"repositoryHomepageUrl":6,"ownerHtmlUrl":47,"ownerBlogUrl":6,"ownerDescription":48,"updatedAt":49,"install":50,"resources":63},"01M6HR4FQ18C57RYJXT0H39NF1","bend-laws",null,"Prove business rules with Bend laws and check shipped TypeScript or Go against the proven model. Use for formal proof, LAWS.bend or PROOF.bend, or acceptance criteria that must hold for every input.","malinskibeniamin\u002Fskills","malinskibeniamin","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F9860550?v=4","01M6HR395Z9MM67BCKMW1WKTJS","Beniamin Malinski","01M6HR39AP95WH9NHANQ91FAJ0",4,"MIT","https:\u002F\u002Fgithub.com\u002Fmalinskibeniamin\u002Fskills\u002Fblob\u002Fmain\u002Fbend-laws\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34],"Bend","bend laws","typescript","go","acceptance","model","Rules","check","business","use","acceptance criteria","input","proof","with","for","prove","2026-11-10 10:12:30",false,"---\nname: bend-laws\ndescription: \"Prove business rules with Bend laws and check shipped TypeScript or Go against the proven model. Use for formal proof, LAWS.bend or PROOF.bend, or acceptance criteria that must hold for every input.\"\npaths:\n  - \"**\u002F*.bend\"\n  - \"**\u002Flaws\u002F**\"\n---\n\nWhen proving changed behavior or maintaining verification, read the [Poteto adaptation](..\u002Fshared\u002FPOTETO-NATIVE.md#verification).\n\nA law is an acceptance criterion that a proof must meet for every input. [Bend](https:\u002F\u002Fbend-lang.com)\nchecks the proofs against a reference model of the rule. A table generated from that model\nties the shipped code to the laws.\n\n## Fit\n\nUse laws for rules that decide money, access, or safety and are finite or integer\narithmetic: modes, permissions, statuses, thresholds, time windows, rounding. Route\nstrings, parsers, JSON, floats (Bend's F32 is axiomatic and there is no F64), and UI to\nproperty tests (fast-check, rapid) instead; proving them costs more than it catches.\n\n## Ownership\n\n| File in `laws\u002F\u003Crule>\u002F` | Owner |\n|---|---|\n| `LAWS.bend` | Human. The `bend-laws-guard` hook denies agent writes; a human opts a session in with `BEND_LAWS_AUTHOR=1`. |\n| `policy.bend` (model), `PROOF.bend`, `oracle.bend` | Agent |\n| `decisions.txt` | Generated by `laws\u002Fcheck.sh --write` |\n\n## Workflow\n\n1. Read the shipped rule and its tests. List every input and the decision it returns.\n   Done when the input domain is enumerated (finite) or its boundaries are named.\n2. Draft the laws in a scratch directory as `LAWS_draft.bend` (import paths allow only\n   letters, digits, `_` and `-`), and prove them there. Give each law one plain-English\n   comment. Done when the human has reviewed the draft and committed it as `LAWS.bend`.\n   - Call only the functions under test. Define every helper a law uses inside\n     `LAWS.bend`, so the model cannot weaken a law by redefining its vocabulary.\n   - State what must hold. Anything a law leaves open is whatever the model does, so pair\n     each prohibition (\"never runs X\") with the requirement (\"runs only what declares Y\").\n   - Write imported constructors qualified and braced: `case P.Yes{}:`. A bare\n     `case Yes:` on an imported type binds every value and the law passes vacuously\n     (bendlang\u002Fbend#1328); `check.sh` and the hook reject it.\n3. Model the rule in `policy.bend`, mirroring the shipped code's branch order, and prove\n   each law in `PROOF.bend` as `def Laws.\u003Claw>(...)`. Done when `bend PROOF.bend` prints\n   `ALL PROOFS CHECK`.\n4. Mutate the model once per law: change a branch the law guards and confirm `bend\n   PROOF.bend` prints `SOME PROOFS FAIL` at that law; then revert. Done when every law\n   has rejected a mutant. A law no mutant fails is vacuous.\n5. Write `oracle.bend`, whose `main` prints the `# @generated` header and one\n   `\u003Cinputs> \u003Cdecision>` line per input, then run `laws\u002Fcheck.sh --write`.\n6. Compare the shipped code: a unit test parses `decisions.txt` and asserts the shipped\n   function returns every row. For a finite domain, also assert each input appears\n   once, with the domain derived from the code's types so a new value breaks the build.\n   For an unbounded domain, generate inputs with property tests, seed the law\n   boundaries, and compare against the model compiled with `bend -o model.mjs`. Done\n   when a mutant in the shipped code fails the test.\n7. Copy [templates\u002Finstall-bend.sh](templates\u002Finstall-bend.sh) and\n   [templates\u002Fcheck.sh](templates\u002Fcheck.sh) into `laws\u002F`, then add a required CI job\n   that runs both. Add CODEOWNERS for `laws\u002F**\u002FLAWS.bend` and `laws\u002F**\u002Fdecisions.txt`.\n   Done when the job fails on a missing `LAWS.bend` and passes once it lands.\n\nTo change a rule: the human edits the law, the agent updates the model and proofs, runs\n`check.sh --write`, then changes the shipped code until its unit test matches. Review\nevery `decisions.txt` diff as a behavior change.\n\nBefore writing Bend, run `bend guide`; read [REFERENCE.md](REFERENCE.md) for the syntax\ntraps, proof patterns, `--verdict` setup and upgrades.\n\n## Guardrails\n\n- Propose law changes to the human; never edit `LAWS.bend` or work around the hook.\n- Keep `@unsafe`, `def f?` and foreign code out of law directories: they switch off the\n  soundness a proof relies on. Bend's gate and `check.sh` both reject them.\n- Keep the Bend version pinned in `install-bend.sh`; upgrade deliberately and re-prove.\n- Keep source on the machine: sending code to BendAI or publishing to the Bend hub\n  needs explicit approval.\n","When proving changed behavior or maintaining verification, read the [Poteto adaptation](..\u002Fshared\u002FPOTETO-NATIVE.md#verification).\n\nA law is an acceptance criterion that a proof must meet for every input. [Bend](https:\u002F\u002Fbend-lang.com)\nchecks the proofs against a reference model of the rule. A table generated from that model\nties the shipped code to the laws.\n\n## Fit\n\nUse laws for rules that decide money, access, or safety and are finite or integer\narithmetic: modes, permissions, statuses, thresholds, time windows, rounding. Route\nstrings, parsers, JSON, floats (Bend's F32 is axiomatic and there is no F64), and UI to\nproperty tests (fast-check, rapid) instead; proving them costs more than it catches.\n\n## Ownership\n\n| File in `laws\u002F\u003Crule>\u002F` | Owner |\n|---|---|\n| `LAWS.bend` | Human. The `bend-laws-guard` hook denies agent writes; a human opts a session in with `BEND_LAWS_AUTHOR=1`. |\n| `policy.bend` (model), `PROOF.bend`, `oracle.bend` | Agent |\n| `decisions.txt` | Generated by `laws\u002Fcheck.sh --write` |\n\n## Workflow\n\n1. Read the shipped rule and its tests. List every input and the decision it returns.\n   Done when the input domain is enumerated (finite) or its boundaries are named.\n2. Draft the laws in a scratch directory as `LAWS_draft.bend` (import paths allow only\n   letters, digits, `_` and `-`), and prove them there. Give each law one plain-English\n   comment. Done when the human has reviewed the draft and committed it as `LAWS.bend`.\n   - Call only the functions under test. Define every helper a law uses inside\n     `LAWS.bend`, so the model cannot weaken a law by redefining its vocabulary.\n   - State what must hold. Anything a law leaves open is whatever the model does, so pair\n     each prohibition (\"never runs X\") with the requirement (\"runs only what declares Y\").\n   - Write imported constructors qualified and braced: `case P.Yes{}:`. A bare\n     `case Yes:` on an imported type binds every value and the law passes vacuously\n     (bendlang\u002Fbend#1328); `check.sh` and the hook reject it.\n3. Model the rule in `policy.bend`, mirroring the shipped code's branch order, and prove\n   each law in `PROOF.bend` as `def Laws.\u003Claw>(...)`. Done when `bend PROOF.bend` prints\n   `ALL PROOFS CHECK`.\n4. Mutate the model once per law: change a branch the law guards and confirm `bend\n   PROOF.bend` prints `SOME PROOFS FAIL` at that law; then revert. Done when every law\n   has rejected a mutant. A law no mutant fails is vacuous.\n5. Write `oracle.bend`, whose `main` prints the `# @generated` header and one\n   `\u003Cinputs> \u003Cdecision>` line per input, then run `laws\u002Fcheck.sh --write`.\n6. Compare the shipped code: a unit test parses `decisions.txt` and asserts the shipped\n   function returns every row. For a finite domain, also assert each input appears\n   once, with the domain derived from the code's types so a new value breaks the build.\n   For an unbounded domain, generate inputs with property tests, seed the law\n   boundaries, and compare against the model compiled with `bend -o model.mjs`. Done\n   when a mutant in the shipped code fails the test.\n7. Copy [templates\u002Finstall-bend.sh](templates\u002Finstall-bend.sh) and\n   [templates\u002Fcheck.sh](templates\u002Fcheck.sh) into `laws\u002F`, then add a required CI job\n   that runs both. Add CODEOWNERS for `laws\u002F**\u002FLAWS.bend` and `laws\u002F**\u002Fdecisions.txt`.\n   Done when the job fails on a missing `LAWS.bend` and passes once it lands.\n\nTo change a rule: the human edits the law, the agent updates the model and proofs, runs\n`check.sh --write`, then changes the shipped code until its unit test matches. Review\nevery `decisions.txt` diff as a behavior change.\n\nBefore writing Bend, run `bend guide`; read [REFERENCE.md](REFERENCE.md) for the syntax\ntraps, proof patterns, `--verdict` setup and upgrades.\n\n## Guardrails\n\n- Propose law changes to the human; never edit `LAWS.bend` or work around the hook.\n- Keep `@unsafe`, `def f?` and foreign code out of law directories: they switch off the\n  soundness a proof relies on. Bend's gate and `check.sh` both reject them.\n- Keep the Bend version pinned in `install-bend.sh`; upgrade deliberately and re-prove.\n- Keep source on the machine: sending code to BendAI or publishing to the Bend hub\n  needs explicit approval.\n",{"name":5,"paths":40,"description":7},[41,42],"**\u002F*.bend","**\u002Flaws\u002F**","main","7ff748aa4575e7e65de115ca97b7848b195b79a6",1,"https:\u002F\u002Fgithub.com\u002Fmalinskibeniamin\u002Fskills","https:\u002F\u002Fgithub.com\u002Fmalinskibeniamin","Software Engineer ","2026-11-14 18:47:37",{"source":8,"skillName":5,"commands":51,"prompt":61,"zipAvailable":62},[52,55,58],{"tool":53,"command":54},"npx","npx skills add malinskibeniamin\u002Fskills --skill bend-laws",{"tool":56,"command":57},"bunx","bunx skills add malinskibeniamin\u002Fskills --skill bend-laws",{"tool":59,"command":60},"pnpm","pnpm dlx skills add malinskibeniamin\u002Fskills --skill bend-laws","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmalinskibeniamin\u002Fskills\u002Fblob\u002Fmain\u002Fbend-laws\u002FSKILL.md",true,[64,70,76],{"path":65,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":68,"sourceHtmlUrl":69},"REFERENCE.md","REFERENCE","参考文档",5033,"https:\u002F\u002Fgithub.com\u002Fmalinskibeniamin\u002Fskills\u002Fblob\u002Fmain\u002Fbend-laws\u002FREFERENCE.md",{"path":71,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":74,"sourceHtmlUrl":75},"templates\u002Fcheck.sh","SCRIPT","脚本",3167,"https:\u002F\u002Fgithub.com\u002Fmalinskibeniamin\u002Fskills\u002Fblob\u002Fmain\u002Fbend-laws\u002Ftemplates\u002Fcheck.sh",{"path":77,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":78,"sourceHtmlUrl":79},"templates\u002Finstall-bend.sh",2332,"https:\u002F\u002Fgithub.com\u002Fmalinskibeniamin\u002Fskills\u002Fblob\u002Fmain\u002Fbend-laws\u002Ftemplates\u002Finstall-bend.sh",[81,89,94,102,107,127],{"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":88},"01M78NG2MYRG3FXKPFPMBVS4RG","learn-taste","Turn a session's design corrections into scoped, reasoned rules for future agents. Use for \u002Flearn-taste or requests to remember design feedback, not general workflow retrospectives.","https:\u002F\u002Fgithub.com\u002Fmalinskibeniamin\u002Fskills\u002Fblob\u002Fmain\u002Flearn-taste\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":90,"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":91,"categories":92,"keywords":93,"publishedAt":88},"01M78NFPCMGMDPV8ZD4BD32EGD","https:\u002F\u002Fgithub.com\u002Fmalinskibeniamin\u002Fskills\u002Fblob\u002Fmain\u002Fcodex-skills\u002Flearn-taste\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":101},"01M764SFRK0WMV75MV8G9JPJVJ","pull-requests","Use when finalizing a pull request or continuing an existing one; preserve the requested endpoint and draft state.","https:\u002F\u002Fgithub.com\u002Fmalinskibeniamin\u002Fskills\u002Fblob\u002Fmain\u002Ft3code-skills\u002Fpull-requests\u002FSKILL.md",[],[],"2026-11-12 13:55:43",{"skillNo":103,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":101},"01M764RH2WQHQ7XVHEZT10QCQM","https:\u002F\u002Fgithub.com\u002Fmalinskibeniamin\u002Fskills\u002Fblob\u002Fmain\u002Fcodex-skills\u002Fpull-requests\u002FSKILL.md",[],[],{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":35},"01M70WY35N42VJT16W9MA8CCGX","hill-climb","Optimize a defined outcome through bounded evaluation loops. Use for hill-climb requests or repeated improvement against an executable eval, benchmark, or visual comparison; not a one-pass review.","https:\u002F\u002Fgithub.com\u002Fmalinskibeniamin\u002Fskills\u002Fblob\u002Fmain\u002Fhill-climb\u002FSKILL.md",[],[114,115,116,117,118,119,33,120,121,122,28,123,124,125,126],"hill climb","Evaluation","loops","optimize","improvement","requests","outcome","benchmark","eval","comparison","visual","review","bounded",{"skillNo":128,"name":129,"nameZh":6,"description":130,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":131,"sourceHtmlUrl":132,"categories":133,"keywords":134,"publishedAt":35},"01M70WXTA2JQ9SN3QZPHHCYB90","gestures","Build or fix web drag, swipe, sheet, reorder, and hold interactions: direct tracking, rubber banding, release velocity, momentum, snap points, and interruption. Not native React Native or Swift.","https:\u002F\u002Fgithub.com\u002Fmalinskibeniamin\u002Fskills\u002Fblob\u002Fmain\u002Fgestures\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fmalinskibeniamin\u002Fskills\u002Fblob\u002Fmain\u002Fgestures\u002FSKILL.md",[],[129,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149],"swift","react","swipe","direct","tracking","fix","sheet","release","build","native","velocity","web","drag","react native","snap"]