[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CHTE18D6K0J5WDKYDXAWFQ":3,"skill-same:01M6CHTE18D6K0J5WDKYDXAWFQ":79},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":17,"categories":18,"keywords":29,"publishedAt":42,"linkOnly":43,"markdownContent":44,"markdownBody":45,"frontMatter":46,"refName":57,"commitSha":58,"skillDirectory":59,"forksCount":60,"repositoryHtmlUrl":61,"repositoryHomepageUrl":62,"ownerHtmlUrl":63,"ownerBlogUrl":13,"ownerDescription":13,"updatedAt":64,"install":65,"resources":78},"01M6CHTE18D6K0J5WDKYDXAWFQ","spec","功能规格说明编写","[ADD v{{VERSION}}] Create a feature specification through structured interview","[ADD v{{VERSION}}] 通过结构化访谈创建功能规格说明","MountainUnicorn\u002Fadd","MountainUnicorn","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F199411549?v=4","01M6CHRAWFWD275ANP1S2A0HXC",null,"01M6CHRB0QE1678D913B438SAR",11,"MIT","https:\u002F\u002Fgithub.com\u002FMountainUnicorn\u002Fadd\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fspec\u002FSKILL.md",[19,24],{"categoryNo":20,"categoryName":21,"taxonomyType":22,"taxonomyTypeDesc":23},"01M8C2MZSX0YJXR444XP83VR5N","产品经理","PROFESSION","适用职业",{"categoryNo":25,"categoryName":26,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8CJ01296R3BSRRH3ERZC3PJ","产品需求文档编写","SCENARIO","使用场景",[5,30,31,32,33,34,35,36,37,38,39,40,41],"telemetry","create","prd","Bash","Rules","grep","read","write","edit","interview","version","specification","2026-11-10 10:12:30",false,"---\ndescription: \"[ADD v{{VERSION}}] Create a feature specification through structured interview\"\nargument-hint: \"[feature-name] [--from-prd-section N]\"\nallowed-tools: [Read, Write, Edit, Glob, Grep, Bash, AskUserQuestion]\nreferences: [\"rules\u002Ftelemetry.md\"]\n---\n\n# ADD Spec Command v{{VERSION}}\n\nCreate a feature specification through a structured interview. The spec becomes the source of truth for implementation.\n\n## Pre-Flight\n\n1. Verify `docs\u002Fprd.md` exists. If not, tell the user to run `\u002Fadd:init` first.\n2. Read `docs\u002Fprd.md` to understand the project context\n3. Read `.add\u002Fconfig.json` to understand environment and quality settings\n4. If `--from-prd-section` is provided, pre-populate answers from that PRD section\n5. If `feature-name` argument is provided, use it. Otherwise, ask.\n\n## Phase 1: Feature Interview\n\nEstimate questions upfront. Typical spec interview is 6-10 questions, ~5 minutes.\n\n```\nLet's define a specification for this feature.\nThis will take approximately {N} questions (~5 minutes).\n\nThe spec will include acceptance criteria, user test cases,\ndata models, and everything needed to start TDD.\n```\n\n### Core Questions (ask 1-by-1)\n\n**Q1:** \"Describe the feature in one or two sentences. What should it do?\"\n→ Captures: feature description, feature name\u002Fslug\n\n**Q2:** \"Who uses this feature, and what's their goal?\"\n→ Captures: user story (As a {role}, I want {what}, so that {why})\n\n**Q3:** \"What are the must-have behaviors? List the things that MUST work for this feature to be complete.\"\n→ Captures: acceptance criteria (AC-001, AC-002, etc.)\n\n**Q4:** \"Walk me through the happy path — step by step, what does the user do and see?\"\n→ Captures: primary user test case (TC-001)\n\n**Q5:** \"What should happen when things go wrong? Think about invalid input, network errors, missing data.\"\n→ Captures: error handling, edge cases, additional test cases\n\n**Q6:** \"What data does this feature need? Think entities, fields, relationships.\"\n(Default: \"I'll infer from the acceptance criteria\")\n→ Captures: data model\n\n**Q7 (if applicable):** \"Does this feature need API endpoints? If so, what operations?\"\n→ Captures: API contract\n\n**Q8 (if UI):** \"Describe the key UI states — loading, empty, error, success.\"\n→ Captures: UI behavior, screenshot checkpoints\n\n**Q9:** \"Anything else I should know? Dependencies on other features, third-party services, specific libraries?\"\n(Default: \"Nothing additional\")\n→ Captures: dependencies, notes\n\n## Phase 2: Generate Spec\n\n1. Read `${CLAUDE_PLUGIN_ROOT}\u002Ftemplates\u002Fspec.md.template`\n2. Fill in ALL sections with substantive content from the interview\n3. Generate acceptance criteria with IDs (AC-001 through AC-NNN)\n4. Generate user test cases with IDs (TC-001 through TC-NNN)\n   - Each test case must have: precondition, steps, expected result, screenshot checkpoint\n   - Each test case must have a \"Maps to\" field (leave as TBD until tests are written)\n5. Write to `specs\u002F{feature-slug}.md`\n\n## Phase 3: Verify and Present\n\nDisplay the spec summary:\n\n```\nSpec created: specs\u002F{feature-slug}.md\n\nAcceptance Criteria: {N} ({must} must, {should} should, {nice} nice-to-have)\nUser Test Cases: {N}\nData Entities: {N}\nAPI Endpoints: {N}\n\nNext steps:\n  1. Review the spec and refine if needed\n  2. Run \u002Fadd:plan specs\u002F{feature-slug}.md to create an implementation plan\n  3. Or jump straight into \u002Fadd:tdd-cycle specs\u002F{feature-slug}.md\n```\n\n### UI Gate Check\n\nIf Q8 was answered (the feature has user-facing UI):\n\n```\nThis feature has UI components. Before implementation planning, consider running:\n\n  \u002Fadd:ux specs\u002F{feature-slug}.md\n\nThe UX skill iterates on wireframes and design decisions with you before\nany code is written. Skipping this step is the most common cause of\nrework — building the right thing wrong costs more than a design session.\n\nYou can proceed directly to \u002Fadd:plan if the UI is already fully defined.\n```\n\nIf Q8 was skipped or answered \"N\u002FA\" (no UI): omit this block entirely. Do not mention it.\n\n### AGENTS.md Active-Spec Pointer\n\nIf `AGENTS.md` exists at project root and the project is at `beta` maturity or higher, prompt:\n\n```\nUpdate AGENTS.md active-spec pointer to specs\u002F{feature-slug}.md? (Y\u002Fn)\n```\n\nOn yes, run `\u002Fadd:agents-md --write`. On no, skip silently. If `AGENTS.md` is absent or the project is below `beta`, skip this prompt entirely. This keeps AGENTS.md in sync with the currently-active spec without noise for projects that haven't opted in.\n","# ADD Spec Command v{{VERSION}}\n\nCreate a feature specification through a structured interview. The spec becomes the source of truth for implementation.\n\n## Pre-Flight\n\n1. Verify `docs\u002Fprd.md` exists. If not, tell the user to run `\u002Fadd:init` first.\n2. Read `docs\u002Fprd.md` to understand the project context\n3. Read `.add\u002Fconfig.json` to understand environment and quality settings\n4. If `--from-prd-section` is provided, pre-populate answers from that PRD section\n5. If `feature-name` argument is provided, use it. Otherwise, ask.\n\n## Phase 1: Feature Interview\n\nEstimate questions upfront. Typical spec interview is 6-10 questions, ~5 minutes.\n\n```\nLet's define a specification for this feature.\nThis will take approximately {N} questions (~5 minutes).\n\nThe spec will include acceptance criteria, user test cases,\ndata models, and everything needed to start TDD.\n```\n\n### Core Questions (ask 1-by-1)\n\n**Q1:** \"Describe the feature in one or two sentences. What should it do?\"\n→ Captures: feature description, feature name\u002Fslug\n\n**Q2:** \"Who uses this feature, and what's their goal?\"\n→ Captures: user story (As a {role}, I want {what}, so that {why})\n\n**Q3:** \"What are the must-have behaviors? List the things that MUST work for this feature to be complete.\"\n→ Captures: acceptance criteria (AC-001, AC-002, etc.)\n\n**Q4:** \"Walk me through the happy path — step by step, what does the user do and see?\"\n→ Captures: primary user test case (TC-001)\n\n**Q5:** \"What should happen when things go wrong? Think about invalid input, network errors, missing data.\"\n→ Captures: error handling, edge cases, additional test cases\n\n**Q6:** \"What data does this feature need? Think entities, fields, relationships.\"\n(Default: \"I'll infer from the acceptance criteria\")\n→ Captures: data model\n\n**Q7 (if applicable):** \"Does this feature need API endpoints? If so, what operations?\"\n→ Captures: API contract\n\n**Q8 (if UI):** \"Describe the key UI states — loading, empty, error, success.\"\n→ Captures: UI behavior, screenshot checkpoints\n\n**Q9:** \"Anything else I should know? Dependencies on other features, third-party services, specific libraries?\"\n(Default: \"Nothing additional\")\n→ Captures: dependencies, notes\n\n## Phase 2: Generate Spec\n\n1. Read `${CLAUDE_PLUGIN_ROOT}\u002Ftemplates\u002Fspec.md.template`\n2. Fill in ALL sections with substantive content from the interview\n3. Generate acceptance criteria with IDs (AC-001 through AC-NNN)\n4. Generate user test cases with IDs (TC-001 through TC-NNN)\n   - Each test case must have: precondition, steps, expected result, screenshot checkpoint\n   - Each test case must have a \"Maps to\" field (leave as TBD until tests are written)\n5. Write to `specs\u002F{feature-slug}.md`\n\n## Phase 3: Verify and Present\n\nDisplay the spec summary:\n\n```\nSpec created: specs\u002F{feature-slug}.md\n\nAcceptance Criteria: {N} ({must} must, {should} should, {nice} nice-to-have)\nUser Test Cases: {N}\nData Entities: {N}\nAPI Endpoints: {N}\n\nNext steps:\n  1. Review the spec and refine if needed\n  2. Run \u002Fadd:plan specs\u002F{feature-slug}.md to create an implementation plan\n  3. Or jump straight into \u002Fadd:tdd-cycle specs\u002F{feature-slug}.md\n```\n\n### UI Gate Check\n\nIf Q8 was answered (the feature has user-facing UI):\n\n```\nThis feature has UI components. Before implementation planning, consider running:\n\n  \u002Fadd:ux specs\u002F{feature-slug}.md\n\nThe UX skill iterates on wireframes and design decisions with you before\nany code is written. Skipping this step is the most common cause of\nrework — building the right thing wrong costs more than a design session.\n\nYou can proceed directly to \u002Fadd:plan if the UI is already fully defined.\n```\n\nIf Q8 was skipped or answered \"N\u002FA\" (no UI): omit this block entirely. Do not mention it.\n\n### AGENTS.md Active-Spec Pointer\n\nIf `AGENTS.md` exists at project root and the project is at `beta` maturity or higher, prompt:\n\n```\nUpdate AGENTS.md active-spec pointer to specs\u002F{feature-slug}.md? (Y\u002Fn)\n```\n\nOn yes, run `\u002Fadd:agents-md --write`. On no, skip silently. If `AGENTS.md` is absent or the project is below `beta`, skip this prompt entirely. This keeps AGENTS.md in sync with the currently-active spec without noise for projects that haven't opted in.\n",{"references":47,"description":7,"allowed-tools":49,"argument-hint":56},[48],"rules\u002Ftelemetry.md",[50,51,52,53,54,33,55],"Read","Write","Edit","Glob","Grep","AskUserQuestion","[feature-name] [--from-prd-section N]","main","e335248c85d50f73919320bc138766eb413c5ee3","core\u002Fskills\u002Fspec",6,"https:\u002F\u002Fgithub.com\u002FMountainUnicorn\u002Fadd","https:\u002F\u002Fgetadd.dev","https:\u002F\u002Fgithub.com\u002FMountainUnicorn","2026-10-31 22:03:50",{"source":9,"skillName":5,"commands":66,"prompt":76,"zipAvailable":77},[67,70,73],{"tool":68,"command":69},"npx","npx skills add MountainUnicorn\u002Fadd --skill spec",{"tool":71,"command":72},"bunx","bunx skills add MountainUnicorn\u002Fadd --skill spec",{"tool":74,"command":75},"pnpm","pnpm dlx skills add MountainUnicorn\u002Fadd --skill spec","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMountainUnicorn\u002Fadd\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fspec\u002FSKILL.md",true,[],[80,93,99,105,123,141],{"skillNo":81,"name":82,"nameZh":83,"description":13,"descriptionZh":84,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":85,"categories":86,"keywords":90,"publishedAt":42},"01M6CHXN68ZCGNXE9Q0K2T2RKX","add-verify","添加验证步骤","","https:\u002F\u002Fgithub.com\u002FMountainUnicorn\u002Fadd\u002Fblob\u002Fmain\u002Ftests\u002Fhooks\u002Ffixtures\u002Fdoctor\u002Fmanifest-modified\u002Fskills\u002Fadd-verify\u002FSKILL.md",[87],{"categoryNo":88,"categoryName":89,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8BQJH394GT47X57A9Q8G7HX","测试与质量保障",[91,92],"add verify","verify",{"skillNo":94,"name":82,"nameZh":83,"description":13,"descriptionZh":84,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":95,"categories":96,"keywords":98,"publishedAt":42},"01M6CHXJY4ZXKTNP0235A9KTNH","https:\u002F\u002Fgithub.com\u002FMountainUnicorn\u002Fadd\u002Fblob\u002Fmain\u002Ftests\u002Fhooks\u002Ffixtures\u002Fdoctor\u002Fmanifest-missing\u002Fskills\u002Fadd-verify\u002FSKILL.md",[97],{"categoryNo":88,"categoryName":89,"taxonomyType":27,"taxonomyTypeDesc":28},[91,92],{"skillNo":100,"name":82,"nameZh":83,"description":13,"descriptionZh":84,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":101,"categories":102,"keywords":104,"publishedAt":42},"01M6CHXG6NV1DBMWT2N6XE5555","https:\u002F\u002Fgithub.com\u002FMountainUnicorn\u002Fadd\u002Fblob\u002Fmain\u002Ftests\u002Fhooks\u002Ffixtures\u002Fdoctor\u002Fhealthy\u002Fskills\u002Fadd-verify\u002FSKILL.md",[103],{"categoryNo":88,"categoryName":89,"taxonomyType":27,"taxonomyTypeDesc":28},[91,92],{"skillNo":106,"name":40,"nameZh":107,"description":108,"descriptionZh":109,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":110,"categories":111,"keywords":118,"publishedAt":42},"01M6CHXDZFPEFBZ79GHP48S1BB","版本信息查询","[ADD v0.11.0] Show installed version, project version, and upgrade status","[新增 v0.11.0] 显示已安装版本、项目版本及升级状态","https:\u002F\u002Fgithub.com\u002FMountainUnicorn\u002Fadd\u002Fblob\u002Fmain\u002Fplugins\u002Fadd\u002Fskills\u002Fversion\u002FSKILL.md",[112,115],{"categoryNo":113,"categoryName":114,"taxonomyType":22,"taxonomyTypeDesc":23},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师",{"categoryNo":116,"categoryName":117,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8BRN0CV1NMDZ5TEJX1GVM29","插件与技能管理",[40,35,119,30,33,34,120,36,121,122],"status","check","v0","show",{"skillNo":124,"name":92,"nameZh":13,"description":125,"descriptionZh":13,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":126,"categories":127,"keywords":128,"publishedAt":42},"01M6CHXB5XG415PP88E0GACHP8","[ADD v0.11.0] Run quality gates — lint, types, tests, coverage, spec compliance","https:\u002F\u002Fgithub.com\u002FMountainUnicorn\u002Fadd\u002Fblob\u002Fmain\u002Fplugins\u002Fadd\u002Fskills\u002Fverify\u002FSKILL.md",[],[92,35,36,129,130,121,131,132,34,30,5,133,134,135,136,137,138,33,139,140],"coverage","fix","smoke","gate","quality gates","run","lint","ci","compliance","secrets","learning","quality",{"skillNo":142,"name":143,"nameZh":13,"description":144,"descriptionZh":13,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":145,"categories":146,"keywords":147,"publishedAt":42},"01M6CHX8JF3M3J8BKTBW604D37","ux","[ADD v0.11.0] Iterate on UI\u002FUX design before implementation — wireframes, flow validation, and design sign-off","https:\u002F\u002Fgithub.com\u002FMountainUnicorn\u002Fadd\u002Fblob\u002Fmain\u002Fplugins\u002Fadd\u002Fskills\u002Fux\u002FSKILL.md",[],[143,148,149,150,151,30,5,33,152,34,35,36,37,38,121,153,154,155,156],"ui","file","figma","validation","system","design-system","implementation","flow","design"]