[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CWJCA85ZF9SEKVZJN1QAR4":3,"skill-same:01M6CWJCA85ZF9SEKVZJN1QAR4":68},{"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":33,"linkOnly":34,"markdownContent":35,"markdownBody":36,"frontMatter":37,"refName":44,"commitSha":45,"skillDirectory":46,"forksCount":47,"repositoryHtmlUrl":48,"repositoryHomepageUrl":49,"ownerHtmlUrl":50,"ownerBlogUrl":51,"ownerDescription":52,"updatedAt":53,"install":54,"resources":67},"01M6CWJCA85ZF9SEKVZJN1QAR4","manpage-sync",null,"Regenerate man pages and shell completion scripts from the shipctl command tree whenever commands, flags, or subcommands change. Use when a new command or flag is added, when the help text changes, or when asked to \"update the man pages\" or \"sync completions\".","zakelfassi\u002Fskills-driven-development","zakelfassi","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1274085?v=4","01M6CWHB4BNG8NYGSW0YS08B7E","Zak El Fassi","01M6CWHB8QCK700M6B2S6Y1QPD",18,"MIT","https:\u002F\u002Fgithub.com\u002Fzakelfassi\u002Fskills-driven-development\u002Fblob\u002Fmain\u002Fexamples\u002Fcli-tool\u002Fskills\u002Fmanpage-sync\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32],"sync","manpage sync","codex","change","update","help","shell","text","command","session","use","flags","three","commands","2026-11-10 10:12:30",false,"---\nname: manpage-sync\ndescription: Regenerate man pages and shell completion scripts from the shipctl command tree whenever commands, flags, or subcommands change. Use when a new command or flag is added, when the help text changes, or when asked to \"update the man pages\" or \"sync completions\".\nmetadata:\n  forged-by: codex-agent\n  forged-from: session-2026-04-15\n  forged-reason: \"Man pages drifted after three consecutive flag additions — users complained that --help and man shipctl showed different defaults\"\n  usage-count: \"8\"\n  last-used: \"2026-04-28\"\n---\n\n# Manpage Sync\n\nRegenerate man pages and shell completion scripts to match the current command tree.\n\n## Inputs\n- Scope: `all` (default), `man`, or `completions`\n- Output directory for man pages (defaults to `docs\u002Fman\u002F`)\n- Output directory for completions (defaults to `completions\u002F`)\n\n## Steps\n\n1. **Build the latest binary**\n   ```bash\n   cargo build --release\n   # or: go build -o dist\u002Fshipctl .\u002Fcmd\u002Fshipctl\n   ```\n   Man page generation requires the actual binary to self-report its command tree.\n\n2. **Generate man pages**\n   ```bash\n   # Using help2man:\n   help2man --no-discard-stderr .\u002Ftarget\u002Frelease\u002Fshipctl \\\n     -o docs\u002Fman\u002Fshipctl.1 \\\n     --name \"cross-platform deployment CLI\"\n\n   # For each subcommand:\n   help2man --no-discard-stderr \".\u002Ftarget\u002Frelease\u002Fshipctl {subcommand}\" \\\n     -o \"docs\u002Fman\u002Fshipctl-{subcommand}.1\" \\\n     --name \"shipctl {subcommand}\"\n\n   # Alternatively, if the binary has built-in man generation:\n   .\u002Ftarget\u002Frelease\u002Fshipctl man --output-dir docs\u002Fman\u002F\n   ```\n\n3. **Generate shell completions**\n   ```bash\n   .\u002Ftarget\u002Frelease\u002Fshipctl completions bash > completions\u002Fshipctl.bash\n   .\u002Ftarget\u002Frelease\u002Fshipctl completions zsh  > completions\u002F_shipctl\n   .\u002Ftarget\u002Frelease\u002Fshipctl completions fish > completions\u002Fshipctl.fish\n   .\u002Ftarget\u002Frelease\u002Fshipctl completions powershell > completions\u002Fshipctl.ps1\n   ```\n\n4. **Verify the output**\n   - Run `man -l docs\u002Fman\u002Fshipctl.1` and skim for obvious formatting errors\n   - Spot-check that new flags appear in completions: `grep \"{new-flag}\" completions\u002Fshipctl.bash`\n   - Confirm no old flags that were removed still appear\n\n5. **Commit the generated files**\n   ```bash\n   git add docs\u002Fman\u002F completions\u002F\n   git commit -m \"docs(manpages): regenerate for $(.\u002Ftarget\u002Frelease\u002Fshipctl --version)\"\n   ```\n\n6. **Update install instructions** if a new section or man page was added\n   Edit `docs\u002Finstall.md` → the \"Shell completions\" and \"Man pages\" sections.\n\n## Conventions\n- Man pages are committed to `docs\u002Fman\u002F`; they are generated, never hand-edited\n- Completion scripts are committed to `completions\u002F`; same rule\n- This skill is run in CI after any command-tree change (see `.github\u002Fworkflows\u002Fdocs.yml`)\n- Section numbers: `shipctl(1)`, `shipctl-release(1)`, `shipctl-build(1)`, etc.\n\n## Edge Cases\n- **`help2man` not installed:** Install via `brew install help2man` (macOS) or `apt-get install help2man` (Linux); on CI it is pre-installed.\n- **Subcommand man page is empty:** The binary must output `--help` text on stderr for `help2man` to parse; add the `--no-discard-stderr` flag.\n- **Completion file conflicts with a system package:** Rename to `shipctl.bash-completion` and instruct users to source it explicitly.\n- **Binary not built yet:** Run `cargo build --release` first; if the build fails, fix it before trying to regenerate.\n","# Manpage Sync\n\nRegenerate man pages and shell completion scripts to match the current command tree.\n\n## Inputs\n- Scope: `all` (default), `man`, or `completions`\n- Output directory for man pages (defaults to `docs\u002Fman\u002F`)\n- Output directory for completions (defaults to `completions\u002F`)\n\n## Steps\n\n1. **Build the latest binary**\n   ```bash\n   cargo build --release\n   # or: go build -o dist\u002Fshipctl .\u002Fcmd\u002Fshipctl\n   ```\n   Man page generation requires the actual binary to self-report its command tree.\n\n2. **Generate man pages**\n   ```bash\n   # Using help2man:\n   help2man --no-discard-stderr .\u002Ftarget\u002Frelease\u002Fshipctl \\\n     -o docs\u002Fman\u002Fshipctl.1 \\\n     --name \"cross-platform deployment CLI\"\n\n   # For each subcommand:\n   help2man --no-discard-stderr \".\u002Ftarget\u002Frelease\u002Fshipctl {subcommand}\" \\\n     -o \"docs\u002Fman\u002Fshipctl-{subcommand}.1\" \\\n     --name \"shipctl {subcommand}\"\n\n   # Alternatively, if the binary has built-in man generation:\n   .\u002Ftarget\u002Frelease\u002Fshipctl man --output-dir docs\u002Fman\u002F\n   ```\n\n3. **Generate shell completions**\n   ```bash\n   .\u002Ftarget\u002Frelease\u002Fshipctl completions bash > completions\u002Fshipctl.bash\n   .\u002Ftarget\u002Frelease\u002Fshipctl completions zsh  > completions\u002F_shipctl\n   .\u002Ftarget\u002Frelease\u002Fshipctl completions fish > completions\u002Fshipctl.fish\n   .\u002Ftarget\u002Frelease\u002Fshipctl completions powershell > completions\u002Fshipctl.ps1\n   ```\n\n4. **Verify the output**\n   - Run `man -l docs\u002Fman\u002Fshipctl.1` and skim for obvious formatting errors\n   - Spot-check that new flags appear in completions: `grep \"{new-flag}\" completions\u002Fshipctl.bash`\n   - Confirm no old flags that were removed still appear\n\n5. **Commit the generated files**\n   ```bash\n   git add docs\u002Fman\u002F completions\u002F\n   git commit -m \"docs(manpages): regenerate for $(.\u002Ftarget\u002Frelease\u002Fshipctl --version)\"\n   ```\n\n6. **Update install instructions** if a new section or man page was added\n   Edit `docs\u002Finstall.md` → the \"Shell completions\" and \"Man pages\" sections.\n\n## Conventions\n- Man pages are committed to `docs\u002Fman\u002F`; they are generated, never hand-edited\n- Completion scripts are committed to `completions\u002F`; same rule\n- This skill is run in CI after any command-tree change (see `.github\u002Fworkflows\u002Fdocs.yml`)\n- Section numbers: `shipctl(1)`, `shipctl-release(1)`, `shipctl-build(1)`, etc.\n\n## Edge Cases\n- **`help2man` not installed:** Install via `brew install help2man` (macOS) or `apt-get install help2man` (Linux); on CI it is pre-installed.\n- **Subcommand man page is empty:** The binary must output `--help` text on stderr for `help2man` to parse; add the `--no-discard-stderr` flag.\n- **Completion file conflicts with a system package:** Rename to `shipctl.bash-completion` and instruct users to source it explicitly.\n- **Binary not built yet:** Run `cargo build --release` first; if the build fails, fix it before trying to regenerate.\n",{"name":5,"metadata":38,"description":7},{"forged-by":39,"last-used":40,"forged-from":41,"usage-count":42,"forged-reason":43},"codex-agent","2026-04-28","session-2026-04-15","8","Man pages drifted after three consecutive flag additions — users complained that --help and man shipctl showed different defaults","main","e959db0147cafe70b738efbd5a128985763fd0df","examples\u002Fcli-tool\u002Fskills\u002Fmanpage-sync",1,"https:\u002F\u002Fgithub.com\u002Fzakelfassi\u002Fskills-driven-development","https:\u002F\u002Fskdd.dev","https:\u002F\u002Fgithub.com\u002Fzakelfassi","https:\u002F\u002Fzakelfassi.com","I build systems and write about what they do to us. Founder @TalkAndComment.","2026-11-06 14:19:15",{"source":8,"skillName":5,"commands":55,"prompt":65,"zipAvailable":66},[56,59,62],{"tool":57,"command":58},"npx","npx skills add zakelfassi\u002Fskills-driven-development --skill manpage-sync",{"tool":60,"command":61},"bunx","bunx skills add zakelfassi\u002Fskills-driven-development --skill manpage-sync",{"tool":63,"command":64},"pnpm","pnpm dlx skills add zakelfassi\u002Fskills-driven-development --skill manpage-sync","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fzakelfassi\u002Fskills-driven-development\u002Fblob\u002Fmain\u002Fexamples\u002Fcli-tool\u002Fskills\u002Fmanpage-sync\u002FSKILL.md",true,[],[69,85,90,109,126,147],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":33},"01M6CWKMXZDBQ8TK30ZV1X2KM7","skillforge","Create or update a reusable agent skill. Use when you notice a repeated pattern, when a workflow should be persisted for future sessions, or when asked to forge\u002Fcreate\u002Fscaffold a new skill.","https:\u002F\u002Fgithub.com\u002Fzakelfassi\u002Fskills-driven-development\u002Fblob\u002Fmain\u002Fskillforge\u002FSKILL.md",[],[71,76,77,78,79,80,29,81,23,82,83,84],"workflow","agentskills","pattern","new skill","reusable","forge","create","scaffold","sessions",{"skillNo":86,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":33},"01M6CWKJF5Y1PQBZ4QWA9DDES1","https:\u002F\u002Fgithub.com\u002Fzakelfassi\u002Fskills-driven-development\u002Fblob\u002Fmain\u002Fplugins\u002Fskdd-claude\u002Fskills\u002Fskillforge\u002FSKILL.md",[],[71,76,81,84,77,78,79,80,29,23,82,83],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":33},"01M6CWKFTNP9RBAD9SBEKRVMR2","deploy-preview","Deploy a preview branch to the staging environment for review. Use when a feature branch is ready for visual review, when someone asks to \"deploy this for review\", or before opening a PR.","https:\u002F\u002Fgithub.com\u002Fzakelfassi\u002Fskills-driven-development\u002Fblob\u002Fmain\u002Fexamples\u002Fwebapp-starter\u002Fskills\u002Fdeploy-preview\u002FSKILL.md",[],[97,98,99,100,101,102,103,104,29,28,105,106,107,21,108],"deploy preview","deploy","preview","visual","branches","time","ready","opening a pr","environment","branch","pr","review",{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":33},"01M6CWKCSCQ6PV8TVKV2MDRAHH","component-scaffold","Create a new React component with co-located test, story, and styles. Use when creating new UI components, when asked to scaffold\u002Fgenerate a component, or when building new pages.","https:\u002F\u002Fgithub.com\u002Fzakelfassi\u002Fskills-driven-development\u002Fblob\u002Fmain\u002Fexamples\u002Fwebapp-starter\u002Fskills\u002Fcomponent-scaffold\u002FSKILL.md",[],[116,117,83,29,118,119,120,28,121,122,123,82,124,102,125],"component scaffold","component","components","structure","Story","ui","file","generate","react","test",{"skillNo":127,"name":128,"nameZh":6,"description":129,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":130,"categories":131,"keywords":132,"publishedAt":33},"01M6CWKA7S16TW2KZZ7ADK9YSA","bug-triage","Triage a bug report into an actionable GitHub issue with severity, reproduction steps, and assignment. Use when a bug is reported, when error logs need investigation, or when asked to file\u002Ftriage an issue.","https:\u002F\u002Fgithub.com\u002Fzakelfassi\u002Fskills-driven-development\u002Fblob\u002Fmain\u002Fexamples\u002Fwebapp-starter\u002Fskills\u002Fbug-triage\u002FSKILL.md",[],[133,134,135,136,122,137,138,139,140,141,142,143,144,29,145,28,146],"triage","bug","bug triage","logs","report","toolkit","bug report","github","severity","project","issue","github issue","ops","investigation",{"skillNo":148,"name":149,"nameZh":6,"description":150,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":151,"categories":152,"keywords":153,"publishedAt":33},"01M6CWK6Y4VB6HFNKP84WA3C6G","api-endpoint","Scaffold a REST API endpoint with route, controller, validation, and tests. Use when creating new API endpoints, adding resources, or when asked to build a new backend route.","https:\u002F\u002Fgithub.com\u002Fzakelfassi\u002Fskills-driven-development\u002Fblob\u002Fmain\u002Fexamples\u002Fwebapp-starter\u002Fskills\u002Fapi-endpoint\u002FSKILL.md",[],[154,155,156,157,78,102,119,158,159,160,29,28,161,162,163,83,21],"endpoint","api","api endpoint","route","build","endpoints","backend","controller","REST","validation"]