[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7BQFSEJ6KSYMP7N46TTFXYZ":3,"skill-same:01M7BQFSEJ6KSYMP7N46TTFXYZ":55},{"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":28,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M7BQFSEJ6KSYMP7N46TTFXYZ","lexforge-spec",null,"Use when the delta specs of a LexForge change are asked for or have to be fixed - the user wants requirements or scenarios for a change, or `lexforge validate` reports a finding in a delta spec.","shepaland\u002FLexForge","shepaland","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F122363057?v=4","01M7BQEZBGE97WJ1V279CSYC3A","01M7BQEZC62M44EBNTXM79BCK7",1,"MIT","https:\u002F\u002Fgithub.com\u002Fshepaland\u002FLexForge\u002Fblob\u002Fmain\u002Fskills\u002Flexforge-spec\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: lexforge-spec\ndescription: Use when the delta specs of a LexForge change are asked for or have to be fixed - the user wants requirements or scenarios for a change, or `lexforge validate` reports a finding in a delta spec.\n---\n\n\u003C!-- model-block:start -->\n## Model\n\nDefault by provider; the project assignment takes precedence.\n\n| Provider | Model |\n|---|---|\n| anthropic | claude-opus-5 |\n| openai | gpt-5.6-sol |\n| google | gemini-3.1-pro-preview |\n| deepseek | deepseek-v4-pro |\n| z.ai | glm-4.7 |\n\nA provider outside the table names nothing, so work on the model at work.\n\u003C!-- model-block:end -->\n\u003C!-- queue-rule:start -->\n## Queue rule\n\nFirst run `lexforge status --change \u003Cname> --tool \u003Cyour runtime> --json`; parse JSON.\nBefore it: no template, questions or files. No change named: run `lexforge status --json`\nand ask which. Find your `id` in `artifacts`:\n\n- `ready`: work.\n- `blocked`: name `blockedBy` and `lexforge instructions \u003Cfirst blockedBy> --change \u003Cname> --tool \u003Cyour runtime>`; stop.\n- `done`: show `resolvedOutputPath`, ask before rewriting.\n- `skipped`: name the skip in `.lexforge.yaml` and `nextStep`; stop.\n\nAfter writing, run `nextStep` yourself and continue. Ask required questions inside an artifact and wait for the response; this governs only handover between artifacts.\nRun status again to read `isPlanningComplete`; stop when `true`, show the artifacts and\nname the move to implementation. Closed gates stay closed under deadlines. Asked to\nskip, name the options: write the artifact or set `skip_\u003Cartifact id>: true` in\n`.lexforge.yaml`; then stop. Do not set the skip on the user’s behalf.\n\n`engineeringStacks: \"missing\"` in status or `engineering-stacks-missing` in an error means the\nproject has not named its stacks. Ask the user which it uses: node, python, jvm, go, dotnet,\nphp, ruby, rust, react, vue, angular, svelte. Wait for the answer, then run\n`lexforge stacks set \u003Cstack>...`. Run `lexforge stacks set --none` only when the user says the\nproject uses none of them. Never choose the stacks yourself, even when the files show only one.\nA guess the user can undo later is still a guess.\nNever write them into `lexforge\u002Fconfig.yaml` by hand.\nAsk even when told not to ask about setup. Unset is not an answer.\n\nExit `2`: read `error.code`. `workspace-not-found` \u002F `workspace-incomplete`: run\n`lexforge init --tools \u003Cyour runtime>` at the root (`agents` if none matches), then retry\nthe command that refused. Never construct workspace files by hand.\n`change-not-found`: list active changes. `artifact-unknown`: name schema artifacts.\nOther errors: show `error.message` and stop. Use exit codes and JSON, never human lines.\n\nWrite only in the change directory and `lexforge\u002Fconfig.yaml`; implementation waits.\nWrite artifacts in `language` from instructions. If `languageExplicit: false`, ask the artifact\nlanguage and save `language:` in config; with `true`, ask nothing.\n\n\u003C!-- version-gate:start -->\n## Version gate\n\nExit `2` with `error.code` `update-available`: show `error.message` to the user and wait for the user's answer. Never run `npm install` yourself.\n\nExit `2` with `error.code` `skills-outdated`: run the `lexforge init` command that `error.message` names. Then run the command that refused again. If it refuses with `skills-outdated` a second time, show `error.message` and stop.\n\u003C!-- version-gate:end -->\n\n\u003C!-- model-gate:start -->\n## Model gate\n\nRead `provider` and `model` from `lexforge instructions \u003Cartifact> --change \u003Cname> --tool \u003Cyour runtime> --json`\nfor artifacts; otherwise use your entry in `stages` from\n`lexforge status --change \u003Cname> --tool \u003Cyour runtime> --json`.\nThe `stage` is your skill name without `lexforge-` (`apply`, `debug`, `verify`, `archive`).\nName your runtime from `lexforge init --tools`; omit `--tool` only if none matches.\n\nAn empty assignment, no workspace, no change, or no stage entry uses the model block\nabove for your provider. An unlisted provider imposes no model.\nOn the assigned model, work without model commentary. Otherwise start a subagent on\nthat model, hand it the work, and do none of it yourself. Disclosure or later review\nis not delegation. If unreachable, name the model and stop: restore access or let the\nuser change the assignment in `lexforge\u002Fconfig.yaml`; do not change it yourself.\n\u003C!-- model-gate:end -->\n\u003C!-- queue-rule:end -->\n\n## The rule\n\n**NEVER WRITE A REQUIREMENT THE USER HAS NOT CONFIRMED.**\n\nViolating the letter of this rule is violating its spirit.\n\nA delta spec records behaviour a user of the product observes; a build step is not\nbehaviour. `empty-delta` means either behaviour changed, or `skip_specs: true` is\ndeclared — only the user knows which. Ask them.\n\n## Rationalizations\n\n| Excuse | Reality |\n|---|---|\n| \"Nothing in it is invented\", \"Every sentence comes from `proposal.md`\" | A source is not a confirmation. |\n| \"This requirement exists to clear `empty-delta`\" | You just named the purpose. |\n| \"Deleted on Monday\" | A planned cleanup is not a cleanup. |\n| \"A decision he already delegated\", \"just in his head instead of in the repo\" | They delegated work, not answers; `status` reads the repo. |\n| \"A workflow-ordering hint, not a reason to refuse work\", \"Don't run `lexforge status` on stage\" | `blocked` is a gate; hiding it is worse. |\n\n## Red flags - stop\n\n- A requirement the user never confirmed.\n- A file whose `status` is not `ready`.\n- A warning about a missing artifact, then the file anyway.\n- A status called a hint or a formality.\n- A fix promised for later.\n\nStop and ask the question you avoided.\n\n## Work\n\nFollow `template` from `lexforge instructions specs --change \u003Cname> --tool \u003Cyour runtime> --json`: one file\nper capability at `specs\u002F\u003Ccapability-path>\u002Fspec.md`. Run\n`lexforge validate \u003Cname> --strict` until it exits `0`, then run its `nextStep`, saying\nwhich one it is.\n\nA requirement that changes a screen, names a class or describes an exchange between\ncomponents: follow `mockups-and-contracts.md` before you write it.\n\nA requirement that changes a store or introduces a service: follow `data-and-services.md` before you\nwrite it.\n","\u003C!-- model-block:start -->\n## Model\n\nDefault by provider; the project assignment takes precedence.\n\n| Provider | Model |\n|---|---|\n| anthropic | claude-opus-5 |\n| openai | gpt-5.6-sol |\n| google | gemini-3.1-pro-preview |\n| deepseek | deepseek-v4-pro |\n| z.ai | glm-4.7 |\n\nA provider outside the table names nothing, so work on the model at work.\n\u003C!-- model-block:end -->\n\u003C!-- queue-rule:start -->\n## Queue rule\n\nFirst run `lexforge status --change \u003Cname> --tool \u003Cyour runtime> --json`; parse JSON.\nBefore it: no template, questions or files. No change named: run `lexforge status --json`\nand ask which. Find your `id` in `artifacts`:\n\n- `ready`: work.\n- `blocked`: name `blockedBy` and `lexforge instructions \u003Cfirst blockedBy> --change \u003Cname> --tool \u003Cyour runtime>`; stop.\n- `done`: show `resolvedOutputPath`, ask before rewriting.\n- `skipped`: name the skip in `.lexforge.yaml` and `nextStep`; stop.\n\nAfter writing, run `nextStep` yourself and continue. Ask required questions inside an artifact and wait for the response; this governs only handover between artifacts.\nRun status again to read `isPlanningComplete`; stop when `true`, show the artifacts and\nname the move to implementation. Closed gates stay closed under deadlines. Asked to\nskip, name the options: write the artifact or set `skip_\u003Cartifact id>: true` in\n`.lexforge.yaml`; then stop. Do not set the skip on the user’s behalf.\n\n`engineeringStacks: \"missing\"` in status or `engineering-stacks-missing` in an error means the\nproject has not named its stacks. Ask the user which it uses: node, python, jvm, go, dotnet,\nphp, ruby, rust, react, vue, angular, svelte. Wait for the answer, then run\n`lexforge stacks set \u003Cstack>...`. Run `lexforge stacks set --none` only when the user says the\nproject uses none of them. Never choose the stacks yourself, even when the files show only one.\nA guess the user can undo later is still a guess.\nNever write them into `lexforge\u002Fconfig.yaml` by hand.\nAsk even when told not to ask about setup. Unset is not an answer.\n\nExit `2`: read `error.code`. `workspace-not-found` \u002F `workspace-incomplete`: run\n`lexforge init --tools \u003Cyour runtime>` at the root (`agents` if none matches), then retry\nthe command that refused. Never construct workspace files by hand.\n`change-not-found`: list active changes. `artifact-unknown`: name schema artifacts.\nOther errors: show `error.message` and stop. Use exit codes and JSON, never human lines.\n\nWrite only in the change directory and `lexforge\u002Fconfig.yaml`; implementation waits.\nWrite artifacts in `language` from instructions. If `languageExplicit: false`, ask the artifact\nlanguage and save `language:` in config; with `true`, ask nothing.\n\n\u003C!-- version-gate:start -->\n## Version gate\n\nExit `2` with `error.code` `update-available`: show `error.message` to the user and wait for the user's answer. Never run `npm install` yourself.\n\nExit `2` with `error.code` `skills-outdated`: run the `lexforge init` command that `error.message` names. Then run the command that refused again. If it refuses with `skills-outdated` a second time, show `error.message` and stop.\n\u003C!-- version-gate:end -->\n\n\u003C!-- model-gate:start -->\n## Model gate\n\nRead `provider` and `model` from `lexforge instructions \u003Cartifact> --change \u003Cname> --tool \u003Cyour runtime> --json`\nfor artifacts; otherwise use your entry in `stages` from\n`lexforge status --change \u003Cname> --tool \u003Cyour runtime> --json`.\nThe `stage` is your skill name without `lexforge-` (`apply`, `debug`, `verify`, `archive`).\nName your runtime from `lexforge init --tools`; omit `--tool` only if none matches.\n\nAn empty assignment, no workspace, no change, or no stage entry uses the model block\nabove for your provider. An unlisted provider imposes no model.\nOn the assigned model, work without model commentary. Otherwise start a subagent on\nthat model, hand it the work, and do none of it yourself. Disclosure or later review\nis not delegation. If unreachable, name the model and stop: restore access or let the\nuser change the assignment in `lexforge\u002Fconfig.yaml`; do not change it yourself.\n\u003C!-- model-gate:end -->\n\u003C!-- queue-rule:end -->\n\n## The rule\n\n**NEVER WRITE A REQUIREMENT THE USER HAS NOT CONFIRMED.**\n\nViolating the letter of this rule is violating its spirit.\n\nA delta spec records behaviour a user of the product observes; a build step is not\nbehaviour. `empty-delta` means either behaviour changed, or `skip_specs: true` is\ndeclared — only the user knows which. Ask them.\n\n## Rationalizations\n\n| Excuse | Reality |\n|---|---|\n| \"Nothing in it is invented\", \"Every sentence comes from `proposal.md`\" | A source is not a confirmation. |\n| \"This requirement exists to clear `empty-delta`\" | You just named the purpose. |\n| \"Deleted on Monday\" | A planned cleanup is not a cleanup. |\n| \"A decision he already delegated\", \"just in his head instead of in the repo\" | They delegated work, not answers; `status` reads the repo. |\n| \"A workflow-ordering hint, not a reason to refuse work\", \"Don't run `lexforge status` on stage\" | `blocked` is a gate; hiding it is worse. |\n\n## Red flags - stop\n\n- A requirement the user never confirmed.\n- A file whose `status` is not `ready`.\n- A warning about a missing artifact, then the file anyway.\n- A status called a hint or a formality.\n- A fix promised for later.\n\nStop and ask the question you avoided.\n\n## Work\n\nFollow `template` from `lexforge instructions specs --change \u003Cname> --tool \u003Cyour runtime> --json`: one file\nper capability at `specs\u002F\u003Ccapability-path>\u002Fspec.md`. Run\n`lexforge validate \u003Cname> --strict` until it exits `0`, then run its `nextStep`, saying\nwhich one it is.\n\nA requirement that changes a screen, names a class or describes an exchange between\ncomponents: follow `mockups-and-contracts.md` before you write it.\n\nA requirement that changes a store or introduces a service: follow `data-and-services.md` before you\nwrite it.\n",{"name":5,"description":7},"main","88026324b1714f1c0e540ee6b1864a79556e65df","skills\u002Flexforge-spec",0,"https:\u002F\u002Fgithub.com\u002Fshepaland\u002FLexForge","https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Flexforge","https:\u002F\u002Fgithub.com\u002Fshepaland","2026-10-25 22:05:47",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add shepaland\u002FLexForge --skill lexforge-spec",{"tool":37,"command":38},"bunx","bunx skills add shepaland\u002FLexForge --skill lexforge-spec",{"tool":40,"command":41},"pnpm","pnpm dlx skills add shepaland\u002FLexForge --skill lexforge-spec","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fshepaland\u002FLexForge\u002Fblob\u002Fmain\u002Fskills\u002Flexforge-spec\u002FSKILL.md",true,[45,51],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"data-and-services.md","REFERENCE","参考文档",6049,"https:\u002F\u002Fgithub.com\u002Fshepaland\u002FLexForge\u002Fblob\u002Fmain\u002Fskills\u002Flexforge-spec\u002Fdata-and-services.md",{"path":52,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":53,"sourceHtmlUrl":54},"mockups-and-contracts.md",2354,"https:\u002F\u002Fgithub.com\u002Fshepaland\u002FLexForge\u002Fblob\u002Fmain\u002Fskills\u002Flexforge-spec\u002Fmockups-and-contracts.md",[56,63,70,77,84,91],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":18},"01M7BQH5XPYKM4043980E7X639","sample-verify","Use when the install mechanics need a second skill to copy - stands in for the real verify skill","https:\u002F\u002Fgithub.com\u002Fshepaland\u002FLexForge\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills\u002Fsample-verify\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":18},"01M7BQH26ZAX9F7DEFGBQ3K5XV","sample-plan","Use when the install mechanics need a skill to copy - stands in for the real planning skill","https:\u002F\u002Fgithub.com\u002Fshepaland\u002FLexForge\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills\u002Fsample-plan\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":18},"01M7BQH07Q9JQ32D1YQCHR6FWZ","three-fields","Use when a structure check needs a frontmatter with a field that does not belong there","https:\u002F\u002Fgithub.com\u002Fshepaland\u002FLexForge\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills-structure\u002Fthree-fields\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":18},"01M7BQGYJ0XG6WFD65J7KYZ9FQ","no-use-when","Runs the structure checks over a description that opens with the wrong words","https:\u002F\u002Fgithub.com\u002Fshepaland\u002FLexForge\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills-structure\u002Fno-use-when\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":18},"01M7BQGWV5RJVW6F8GTKP98RM3","another-name","Use when a structure check needs a name that disagrees with the directory around it","https:\u002F\u002Fgithub.com\u002Fshepaland\u002FLexForge\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills-structure\u002Fname-mismatch\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":18},"01M7BQGTVJP3CKFQTMPNMSGYNS","minimal","Use when a structure check needs a skill that breaks no rule - the baseline fixture","https:\u002F\u002Fgithub.com\u002Fshepaland\u002FLexForge\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills-structure\u002Fminimal\u002FSKILL.md",[],[]]