[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71K4SXMA10D4VA1TPCHPTSJ":3,"skill-same:01M71K4SXMA10D4VA1TPCHPTSJ":88},{"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":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":45,"commitSha":46,"skillDirectory":47,"forksCount":48,"repositoryHtmlUrl":49,"repositoryHomepageUrl":6,"ownerHtmlUrl":50,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":51,"install":52,"resources":65},"01M71K4SXMA10D4VA1TPCHPTSJ","docs-scaffold",null,"5-phase documentation scaffolder — auto-detect project type, audit existing docs, generate CLAUDE.md \u002F DECISIONS.md \u002F runbook \u002F README \u002F diagrams \u002F CHANGELOG from KeiSeiKit templates. Each phase is a click-driven file in this skill directory.","KeiSeiLab\u002FKeiSeiKit","KeiSeiLab","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F283315582?v=4","01M71K2EW81JRFHSGF0T844B32","KeiSei Lab","01M71K2EWXTB52KWC65E55S6M2",7,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FKeiSeiLab\u002FKeiSeiKit\u002Fblob\u002Fmain\u002Fskills\u002Fdocs-scaffold\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"scaffold","docs scaffold","docs","diagrams","phase","auto-detect","Existing","detect","click","type","project","documentation","auto","use","README","decisions","runbook","file","changelog","generate","2026-11-10 10:12:30",false,"---\nname: docs-scaffold\ndescription: 5-phase documentation scaffolder — auto-detect project type, audit existing docs, generate CLAUDE.md \u002F DECISIONS.md \u002F runbook \u002F README \u002F diagrams \u002F CHANGELOG from KeiSeiKit templates. Each phase is a click-driven file in this skill directory.\nargument-hint: \u003Cproject directory | omit to use $PWD>\n---\n\n# Docs-Scaffold — Project Documentation Pipeline (index)\n\n## When to use\n\n- Bootstrapping documentation for a new or existing repo (CLAUDE.md, DECISIONS.md, README, runbook, CHANGELOG).\n- Auditing gaps in existing docs and generating missing files from KeiSeiKit templates.\n- Auto-detecting project type and stack to produce the right starter documentation set.\n\n> See `_blocks\u002Fpipeline-5phase-template.md` for the 5-phase wizard contract\n> and `_blocks\u002Frule-pure-click-contract.md` for the AskUserQuestion rule.\n> Skill-specific phase tables are inline below.\n\nYou are bootstrapping or auditing the documentation layer of a repository.\nThe pipeline runs 5 phases in order; each phase owns one concern and has\nits own verify-criterion. Never skip a phase. Never re-order.\n\nThis `SKILL.md` is the INDEX. Each phase lives in its own file.\n\n---\n\n## Pipeline overview (5 phases)\n\n| Phase | File | Purpose | AskUserQuestion |\n|---|---|---|---|\n| 1 | [phase-1-intake.md](phase-1-intake.md) | Auto-detect stack + audit existing docs + pick gaps | 1× |\n| 2 | [phase-2-scaffold.md](phase-2-scaffold.md) | Run `kei-docs-scaffold.sh` with selected type | 1× |\n| 3 | [phase-3-decisions.md](phase-3-decisions.md) | Walk through first ADR (optional) | 1× |\n| 4 | [phase-4-diagrams.md](phase-4-diagrams.md) | Seed Mermaid architecture starter | 1× |\n| 5 | [phase-5-changelog.md](phase-5-changelog.md) | Init CHANGELOG via `kei-changelog` | 1× |\n\nMinimum AskUserQuestion count: **5** (one per phase). Phases 3-5 each have\nan early \"Skip this phase\" option to keep a lightweight run short.\n\n---\n\n## Variables the pipeline produces\n\n| Name | Set in | Meaning |\n|---|---|---|\n| `DIR` | Phase 1a | Target repo directory (defaults to `$PWD`) |\n| `STACK` | Phase 1a | Detected stack label (Rust \u002F Flutter \u002F Node \u002F …) |\n| `EXISTING` | Phase 1b | Set of docs already present (CLAUDE.md, DECISIONS.md, …) |\n| `GAPS` | Phase 1c | User-selected subset to scaffold |\n| `SCAFFOLDED` | Phase 2 | Files actually written (could be \u003C `GAPS` if `--force` declined) |\n| `ADR_N` | Phase 3 | Number of ADR entries appended (0 if skipped) |\n| `DIAGRAMS` | Phase 4 | Mermaid files seeded (0 if skipped) |\n| `CHANGELOG_STATUS` | Phase 5 | initialized \u002F updated \u002F skipped |\n\n---\n\n## Final report (emit after Phase 5)\n\n```\n=== DOCS-SCAFFOLD REPORT ===\nTarget:      \u003CDIR>\nStack:       \u003CSTACK>\nExisting:    \u003Clist>\nScaffolded:  \u003Clist of new files>\nADRs added:  \u003CADR_N>\nDiagrams:    \u003CDIAGRAMS>\nChangelog:   \u003CCHANGELOG_STATUS>\nNext action: \u003Cwhat user should run \u002F review \u002F commit>\n```\n\n---\n\n## Rules (apply throughout)\n\n- **Pure-click contract.** Every phase has exactly one `AskUserQuestion`\n  call. Only Phase 1a takes free-text (the target directory path).\n- **NO DOWNGRADE (RULE -1).** If scaffolding fails, return 2-3 concrete\n  alternative paths; never \"can't be done\".\n- **NO HALLUCINATION (RULE 0.4).** Every primitive \u002F block \u002F template\n  referenced MUST exist on disk. Phase 1 greps before citing. Phase 2\n  verifies `kei-docs-scaffold.sh` is executable before invoking.\n- **Plan Mode First (RULE 0.5).** This skill IS the plan. No Edit\u002FWrite\n  before the corresponding phase's confirm click.\n- **Constructor Pattern (RULE ZERO).** This `SKILL.md` stays \u003C 200 LOC.\n  Each phase file \u003C 80 LOC.\n- **Surgical Changes.** Scaffold only creates files; never modifies code.\n  Only touches: `CLAUDE.md`, `DECISIONS.md`, `docs\u002Frunbook.md`,\n  `README.md`, `docs\u002Fdiagrams\u002F*.mmd`, `CHANGELOG.md`. Never edits source.\n- **Idempotent.** Re-runs skip existing files unless `--force` is passed\n  in Phase 2. No duplicate ADR numbering in Phase 3.\n- **Public-publish gate.** README scaffold refuses to write if the repo is\n  on the banned-public list (see `~\u002F.claude\u002Frules\u002Fsecurity.md`). User\n  must type \"yes, deploy\" + \"confirm publication\" to override.\n\n---\n\n## References\n\n- Phases: [phase-1-intake.md](phase-1-intake.md) · [phase-2-scaffold.md](phase-2-scaffold.md) · [phase-3-decisions.md](phase-3-decisions.md) · [phase-4-diagrams.md](phase-4-diagrams.md) · [phase-5-changelog.md](phase-5-changelog.md)\n- Primitive: `_primitives\u002Fkei-docs-scaffold.sh` — detector + generator (POSIX sh)\n- Primitive: `_primitives\u002F_rust\u002Fkei-changelog\u002F` — Conventional Commit → CHANGELOG.md\n- Blocks: `_blocks\u002Fdocs-claude-md.md`, `_blocks\u002Fdocs-decisions-adr.md`, `_blocks\u002Fdocs-runbook.md`, `_blocks\u002Fdocs-readme-template.md`, `_blocks\u002Fdocs-architecture-diagrams.md`\n- Rules: `~\u002F.claude\u002Frules\u002Fdoc-conventions.md`, `~\u002F.claude\u002Frules\u002Fsecurity.md`\n","# Docs-Scaffold — Project Documentation Pipeline (index)\n\n## When to use\n\n- Bootstrapping documentation for a new or existing repo (CLAUDE.md, DECISIONS.md, README, runbook, CHANGELOG).\n- Auditing gaps in existing docs and generating missing files from KeiSeiKit templates.\n- Auto-detecting project type and stack to produce the right starter documentation set.\n\n> See `_blocks\u002Fpipeline-5phase-template.md` for the 5-phase wizard contract\n> and `_blocks\u002Frule-pure-click-contract.md` for the AskUserQuestion rule.\n> Skill-specific phase tables are inline below.\n\nYou are bootstrapping or auditing the documentation layer of a repository.\nThe pipeline runs 5 phases in order; each phase owns one concern and has\nits own verify-criterion. Never skip a phase. Never re-order.\n\nThis `SKILL.md` is the INDEX. Each phase lives in its own file.\n\n---\n\n## Pipeline overview (5 phases)\n\n| Phase | File | Purpose | AskUserQuestion |\n|---|---|---|---|\n| 1 | [phase-1-intake.md](phase-1-intake.md) | Auto-detect stack + audit existing docs + pick gaps | 1× |\n| 2 | [phase-2-scaffold.md](phase-2-scaffold.md) | Run `kei-docs-scaffold.sh` with selected type | 1× |\n| 3 | [phase-3-decisions.md](phase-3-decisions.md) | Walk through first ADR (optional) | 1× |\n| 4 | [phase-4-diagrams.md](phase-4-diagrams.md) | Seed Mermaid architecture starter | 1× |\n| 5 | [phase-5-changelog.md](phase-5-changelog.md) | Init CHANGELOG via `kei-changelog` | 1× |\n\nMinimum AskUserQuestion count: **5** (one per phase). Phases 3-5 each have\nan early \"Skip this phase\" option to keep a lightweight run short.\n\n---\n\n## Variables the pipeline produces\n\n| Name | Set in | Meaning |\n|---|---|---|\n| `DIR` | Phase 1a | Target repo directory (defaults to `$PWD`) |\n| `STACK` | Phase 1a | Detected stack label (Rust \u002F Flutter \u002F Node \u002F …) |\n| `EXISTING` | Phase 1b | Set of docs already present (CLAUDE.md, DECISIONS.md, …) |\n| `GAPS` | Phase 1c | User-selected subset to scaffold |\n| `SCAFFOLDED` | Phase 2 | Files actually written (could be \u003C `GAPS` if `--force` declined) |\n| `ADR_N` | Phase 3 | Number of ADR entries appended (0 if skipped) |\n| `DIAGRAMS` | Phase 4 | Mermaid files seeded (0 if skipped) |\n| `CHANGELOG_STATUS` | Phase 5 | initialized \u002F updated \u002F skipped |\n\n---\n\n## Final report (emit after Phase 5)\n\n```\n=== DOCS-SCAFFOLD REPORT ===\nTarget:      \u003CDIR>\nStack:       \u003CSTACK>\nExisting:    \u003Clist>\nScaffolded:  \u003Clist of new files>\nADRs added:  \u003CADR_N>\nDiagrams:    \u003CDIAGRAMS>\nChangelog:   \u003CCHANGELOG_STATUS>\nNext action: \u003Cwhat user should run \u002F review \u002F commit>\n```\n\n---\n\n## Rules (apply throughout)\n\n- **Pure-click contract.** Every phase has exactly one `AskUserQuestion`\n  call. Only Phase 1a takes free-text (the target directory path).\n- **NO DOWNGRADE (RULE -1).** If scaffolding fails, return 2-3 concrete\n  alternative paths; never \"can't be done\".\n- **NO HALLUCINATION (RULE 0.4).** Every primitive \u002F block \u002F template\n  referenced MUST exist on disk. Phase 1 greps before citing. Phase 2\n  verifies `kei-docs-scaffold.sh` is executable before invoking.\n- **Plan Mode First (RULE 0.5).** This skill IS the plan. No Edit\u002FWrite\n  before the corresponding phase's confirm click.\n- **Constructor Pattern (RULE ZERO).** This `SKILL.md` stays \u003C 200 LOC.\n  Each phase file \u003C 80 LOC.\n- **Surgical Changes.** Scaffold only creates files; never modifies code.\n  Only touches: `CLAUDE.md`, `DECISIONS.md`, `docs\u002Frunbook.md`,\n  `README.md`, `docs\u002Fdiagrams\u002F*.mmd`, `CHANGELOG.md`. Never edits source.\n- **Idempotent.** Re-runs skip existing files unless `--force` is passed\n  in Phase 2. No duplicate ADR numbering in Phase 3.\n- **Public-publish gate.** README scaffold refuses to write if the repo is\n  on the banned-public list (see `~\u002F.claude\u002Frules\u002Fsecurity.md`). User\n  must type \"yes, deploy\" + \"confirm publication\" to override.\n\n---\n\n## References\n\n- Phases: [phase-1-intake.md](phase-1-intake.md) · [phase-2-scaffold.md](phase-2-scaffold.md) · [phase-3-decisions.md](phase-3-decisions.md) · [phase-4-diagrams.md](phase-4-diagrams.md) · [phase-5-changelog.md](phase-5-changelog.md)\n- Primitive: `_primitives\u002Fkei-docs-scaffold.sh` — detector + generator (POSIX sh)\n- Primitive: `_primitives\u002F_rust\u002Fkei-changelog\u002F` — Conventional Commit → CHANGELOG.md\n- Blocks: `_blocks\u002Fdocs-claude-md.md`, `_blocks\u002Fdocs-decisions-adr.md`, `_blocks\u002Fdocs-runbook.md`, `_blocks\u002Fdocs-readme-template.md`, `_blocks\u002Fdocs-architecture-diagrams.md`\n- Rules: `~\u002F.claude\u002Frules\u002Fdoc-conventions.md`, `~\u002F.claude\u002Frules\u002Fsecurity.md`\n",{"name":5,"description":7,"argument-hint":44},"\u003Cproject directory | omit to use $PWD>","main","32e85218a997294f68da27ff3dfd638196186ae5","skills\u002Fdocs-scaffold",8,"https:\u002F\u002Fgithub.com\u002FKeiSeiLab\u002FKeiSeiKit","https:\u002F\u002Fgithub.com\u002FKeiSeiLab","2026-10-11 11:17:46",{"source":8,"skillName":5,"commands":53,"prompt":63,"zipAvailable":64},[54,57,60],{"tool":55,"command":56},"npx","npx skills add KeiSeiLab\u002FKeiSeiKit --skill docs-scaffold",{"tool":58,"command":59},"bunx","bunx skills add KeiSeiLab\u002FKeiSeiKit --skill docs-scaffold",{"tool":61,"command":62},"pnpm","pnpm dlx skills add KeiSeiLab\u002FKeiSeiKit --skill docs-scaffold","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FKeiSeiLab\u002FKeiSeiKit\u002Fblob\u002Fmain\u002Fskills\u002Fdocs-scaffold\u002FSKILL.md",true,[66,72,76,80,84],{"path":67,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":71},"phase-1-intake.md","REFERENCE","参考文档",2469,"https:\u002F\u002Fgithub.com\u002FKeiSeiLab\u002FKeiSeiKit\u002Fblob\u002Fmain\u002Fskills\u002Fdocs-scaffold\u002Fphase-1-intake.md",{"path":73,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":74,"sourceHtmlUrl":75},"phase-2-scaffold.md",2504,"https:\u002F\u002Fgithub.com\u002FKeiSeiLab\u002FKeiSeiKit\u002Fblob\u002Fmain\u002Fskills\u002Fdocs-scaffold\u002Fphase-2-scaffold.md",{"path":77,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":78,"sourceHtmlUrl":79},"phase-3-decisions.md",1989,"https:\u002F\u002Fgithub.com\u002FKeiSeiLab\u002FKeiSeiKit\u002Fblob\u002Fmain\u002Fskills\u002Fdocs-scaffold\u002Fphase-3-decisions.md",{"path":81,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":82,"sourceHtmlUrl":83},"phase-4-diagrams.md",2228,"https:\u002F\u002Fgithub.com\u002FKeiSeiLab\u002FKeiSeiKit\u002Fblob\u002Fmain\u002Fskills\u002Fdocs-scaffold\u002Fphase-4-diagrams.md",{"path":85,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":86,"sourceHtmlUrl":87},"phase-5-changelog.md",2657,"https:\u002F\u002Fgithub.com\u002FKeiSeiLab\u002FKeiSeiKit\u002Fblob\u002Fmain\u002Fskills\u002Fdocs-scaffold\u002Fphase-5-changelog.md",[89,116,140,164,190,212],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":39},"01M71K887N78V089XR5BWT0JAV","wave-audit","3-wave parallel audit — Wave 1 discovery (4 agents), Wave 2 verification (4 agents), Wave 3 cross-optimization (1 synthesizer). Each wave runs agents in parallel. Combines security review, runtime analysis, quality check, and constructor pattern into one unified workflow with evidence grading and Go\u002FNo-Go verdict.","https:\u002F\u002Fgithub.com\u002FKeiSeiLab\u002FKeiSeiKit\u002Fblob\u002Fmain\u002Fskills\u002Fwave-audit\u002FSKILL.md",[],[96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115],"wave audit","audit","unified workflow","workflow","analysis","review","verification","security review","pattern","grading","go","security","parallel","evidence","runtime","quality check","discovery","Optimization","one","check",{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":39},"01M71K85100JQS4Y10EGCTWQXW","vm-provision","End-to-end VPS provisioning — select provider → plan → provision → harden → verify (ssh-check + firewall-diff hard-gate) → handoff. 6 phases, ≥6 AskUserQuestion calls, defensive-only. Stops if either verification primitive fails.","https:\u002F\u002Fgithub.com\u002FKeiSeiLab\u002FKeiSeiKit\u002Fblob\u002Fmain\u002Fskills\u002Fvm-provision\u002FSKILL.md",[],[123,124,125,126,127,128,129,130,131,132,114,133,134,115,102,135,136,137,138,139],"vm","vm provision","firewall","diff","provider","select","end","calls","only","either","api","hetzner","plan","defensive","verify","intent","line",{"skillNo":141,"name":142,"nameZh":6,"description":143,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":144,"licenseFileUrl":6,"sourceHtmlUrl":145,"categories":146,"keywords":147,"publishedAt":39},"01M71K80ZRH2H5ES83QS97BB91","visual-explainer","Generate beautiful, self-contained HTML pages that visually explain systems, code changes, plans, and data. Use when the user asks for a diagram, architecture overview, diff review, plan review, project recap, comparison table, or any visual explanation of technical concepts. Also use proactively when you are about to render a complex ASCII table (4+ rows or 3+ columns) — present it as a styled HTML page instead.","MIT","https:\u002F\u002Fgithub.com\u002FKeiSeiLab\u002FKeiSeiKit\u002Fblob\u002Fmain\u002Fskills\u002Fvisual-explainer\u002FSKILL.md",[],[148,149,150,29,151,152,153,154,135,38,155,156,157,158,159,160,161,162,163,32],"visual","visual explainer","explainer","files","image","you","architecture","present","concepts","table","as","view","for","ascii table","ascii","surf",{"skillNo":165,"name":166,"nameZh":6,"description":167,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":168,"categories":169,"keywords":170,"publishedAt":39},"01M71K7VSD5ZWN26QJEC4T0770","video-gen","Use when generating video from frame sequences — FFmpeg extraction, WebP\u002FAVIF conversion, sprite sheets, scroll-synced playback, video encoding\u002Ftranscoding. Covers the full pipeline from video source to web-ready frame sequence or optimized video.","https:\u002F\u002Fgithub.com\u002FKeiSeiLab\u002FKeiSeiKit\u002Fblob\u002Fmain\u002Fskills\u002Fvideo-gen\u002FSKILL.md",[],[171,172,173,174,175,176,177,178,179,180,152,181,182,183,184,185,186,187,188,189],"Video","gen","video gen","ready","pipeline","default","generated","synced","false","when","conversion","directory","sequences","sequence","source","full","path","webp","target",{"skillNo":191,"name":192,"nameZh":6,"description":193,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":194,"categories":195,"keywords":196,"publishedAt":39},"01M71K7R88RM8ENVCRZHZSMM5T","test-matrix","Use when a project needs testing BEYOND unit tests — fuzzing, property-based, load, E2E, or mutation. Five-phase hub-and-spoke pipeline composes the right mix per language × critical path × CI target, scaffolds configs + corpus + fixtures, wires CI jobs, and defines the crash\u002Fregression triage workflow. Pure-click: every decision except intake is an AskUserQuestion.","https:\u002F\u002Fgithub.com\u002FKeiSeiLab\u002FKeiSeiKit\u002Fblob\u002Fmain\u002Fskills\u002Ftest-matrix\u002FSKILL.md",[],[197,198,199,200,189,27,29,201,175,202,203,204,205,206,207,208,209,32,210,211],"test","matrix","test matrix","unit","regression","mix","intake","testing","decision","ci","tests","e2e","mutation","load","fuzzing",{"skillNo":213,"name":214,"nameZh":6,"description":215,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":216,"categories":217,"keywords":218,"publishedAt":39},"01M71K7N3ZY9FMMH3CSE1H8K5J","test-gen","Use when generating tests for untested code — happy path, edge cases, error handling","https:\u002F\u002Fgithub.com\u002FKeiSeiLab\u002FKeiSeiKit\u002Fblob\u002Fmain\u002Fskills\u002Ftest-gen\u002FSKILL.md",[],[219,172,197,220,189,160,221,207,222,32,180,36,223,224,225,187],"test gen","error","true","edge","code","error handling","name"]