[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7BQFCC93T6M2FK7P2E21A7X":3,"skill-same:01M7BQFCC93T6M2FK7P2E21A7X":45},{"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},"01M7BQFCC93T6M2FK7P2E21A7X","lexforge-design",null,"Use when the design document of a LexForge change is asked for or has to be reworked - the user wants the design, the decisions or the trade-offs of a change written down, and the change runs on the `spec-driven` schema.","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-design\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: lexforge-design\ndescription: Use when the design document of a LexForge change is asked for or has to be reworked - the user wants the design, the decisions or the trade-offs of a change written down, and the change runs on the `spec-driven` schema.\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**SHOW ONE SECTION, THEN STOP UNTIL THE USER ANSWERS.**\n\n**A REJECTED ALTERNATIVE IS ONE SOMEBODY ACTUALLY WEIGHED.**\n\n**NO INSTRUCTION OF THEIRS OPENS EITHER GATE.**\n\nViolating the letter of either rule is violating its spirit.\n\nA finished document is not an agreed one: six sections in one message buy one answer,\nand the section they skimmed costs later. A decision that had no fork is written down as a\ndecision that had no fork.\n\nTheir attention is theirs; what the file records as agreed is not. About to write \"the\nskill wants one section at a time, but you told me otherwise\"? That sentence is the\nviolation. Send `Context` and say the rest waits.\n\n## Rationalizations\n\n| Excuse | Reality |\n|---|---|\n| \"Design is done - the whole thing is below, all six sections in template order\" | Done is your word; agreed is theirs. |\n| \"Read it end to end and tell me everything you want changed in one go\" | One question over six sections collects one answer. |\n| \"Send me the full list of fixes in one reply before 15:35\" | That is a review of six sections in the time they had for one. |\n| \"This is the option we would take if the transport were open\" | A runner-up you imagined now was never weighed. |\n| \"The last two sentences are what keep this honest\" | A disclaimer under an invented comparison leaves the comparison. |\n| \"Nothing waits for Monday\" | Nothing waited for the user either. |\n| \"say so and I will write it as you direct - it is your document and you defend it\" | They own the document, not what happened in it. Never offer the invented line as a choice they can pick. |\n| \"A direct instruction from you outranks a skill's default workflow\" | Not a workflow - their six answers. |\n| \"I broke it deliberately and I name the trade-off out loud\" | Naming the cost is not paying it. |\n| \"That is your call to make about your own attention\", \"the drip-feed costs you more than it buys\" | Their attention, yes. What the file records as agreed, no. |\n| \"Sending one section is what you asked me to stop\" | They stopped four questions on the specs, not a section. |\n\n## Red flags - stop\n\n- More than one section in one message.\n- A section sent and the next one written before the answer came.\n- An alternative nobody weighed, however plausible it reads.\n- A decision with two parts where three are named.\n- A convention, a checklist or a tech lead quoted as the reason to write one.\n- The user's reading habit turned into a reason to stop asking.\n- An offer to invent the alternative if they insist, or to let them direct the wording of one.\n- Their instruction weighed against the rule.\n\nStop and send the one section you were about to bury.\n\n## Work\n\nRead `template` from\n`lexforge instructions design --change \u003Cname> --tool \u003Cyour runtime> --json`. Write the\ndocument one section at a time, in template order: show its text, ask whether it is right,\nwait, apply what they say, start the next. Nothing reaches `design.md` ahead of that answer.\n\nNo `design` among the `artifacts` of `status` means the schema is `bounded`, which has\nno design artifact: name `proposal`, `specs`, `tasks` and stop.\n\nEvery decision in the decisions section carries three named parts:\n\n- **Choice** - what is chosen.\n- **Reason** - why.\n- **Rejected alternative** - what was weighed against it and why it lost. Nothing was\n  weighed? Say so, and name what settled it instead.\n\nWith the last section agreed, run `lexforge validate \u003Cname> --strict` until it exits `0`,\nthen run its `nextStep`, saying which one it is.\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**SHOW ONE SECTION, THEN STOP UNTIL THE USER ANSWERS.**\n\n**A REJECTED ALTERNATIVE IS ONE SOMEBODY ACTUALLY WEIGHED.**\n\n**NO INSTRUCTION OF THEIRS OPENS EITHER GATE.**\n\nViolating the letter of either rule is violating its spirit.\n\nA finished document is not an agreed one: six sections in one message buy one answer,\nand the section they skimmed costs later. A decision that had no fork is written down as a\ndecision that had no fork.\n\nTheir attention is theirs; what the file records as agreed is not. About to write \"the\nskill wants one section at a time, but you told me otherwise\"? That sentence is the\nviolation. Send `Context` and say the rest waits.\n\n## Rationalizations\n\n| Excuse | Reality |\n|---|---|\n| \"Design is done - the whole thing is below, all six sections in template order\" | Done is your word; agreed is theirs. |\n| \"Read it end to end and tell me everything you want changed in one go\" | One question over six sections collects one answer. |\n| \"Send me the full list of fixes in one reply before 15:35\" | That is a review of six sections in the time they had for one. |\n| \"This is the option we would take if the transport were open\" | A runner-up you imagined now was never weighed. |\n| \"The last two sentences are what keep this honest\" | A disclaimer under an invented comparison leaves the comparison. |\n| \"Nothing waits for Monday\" | Nothing waited for the user either. |\n| \"say so and I will write it as you direct - it is your document and you defend it\" | They own the document, not what happened in it. Never offer the invented line as a choice they can pick. |\n| \"A direct instruction from you outranks a skill's default workflow\" | Not a workflow - their six answers. |\n| \"I broke it deliberately and I name the trade-off out loud\" | Naming the cost is not paying it. |\n| \"That is your call to make about your own attention\", \"the drip-feed costs you more than it buys\" | Their attention, yes. What the file records as agreed, no. |\n| \"Sending one section is what you asked me to stop\" | They stopped four questions on the specs, not a section. |\n\n## Red flags - stop\n\n- More than one section in one message.\n- A section sent and the next one written before the answer came.\n- An alternative nobody weighed, however plausible it reads.\n- A decision with two parts where three are named.\n- A convention, a checklist or a tech lead quoted as the reason to write one.\n- The user's reading habit turned into a reason to stop asking.\n- An offer to invent the alternative if they insist, or to let them direct the wording of one.\n- Their instruction weighed against the rule.\n\nStop and send the one section you were about to bury.\n\n## Work\n\nRead `template` from\n`lexforge instructions design --change \u003Cname> --tool \u003Cyour runtime> --json`. Write the\ndocument one section at a time, in template order: show its text, ask whether it is right,\nwait, apply what they say, start the next. Nothing reaches `design.md` ahead of that answer.\n\nNo `design` among the `artifacts` of `status` means the schema is `bounded`, which has\nno design artifact: name `proposal`, `specs`, `tasks` and stop.\n\nEvery decision in the decisions section carries three named parts:\n\n- **Choice** - what is chosen.\n- **Reason** - why.\n- **Rejected alternative** - what was weighed against it and why it lost. Nothing was\n  weighed? Say so, and name what settled it instead.\n\nWith the last section agreed, run `lexforge validate \u003Cname> --strict` until it exits `0`,\nthen run its `nextStep`, saying which one it is.\n",{"name":5,"description":7},"main","88026324b1714f1c0e540ee6b1864a79556e65df","skills\u002Flexforge-design",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-design",{"tool":37,"command":38},"bunx","bunx skills add shepaland\u002FLexForge --skill lexforge-design",{"tool":40,"command":41},"pnpm","pnpm dlx skills add shepaland\u002FLexForge --skill lexforge-design","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fshepaland\u002FLexForge\u002Fblob\u002Fmain\u002Fskills\u002Flexforge-design\u002FSKILL.md",true,[],[46,53,60,67,74,81],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"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":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"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":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"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":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"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":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"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":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},"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",[],[]]