[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75MFH9ZAZ40SMBP2QR7J209":3,"skill-same:01M75MFH9ZAZ40SMBP2QR7J209":53},{"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":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M75MFH9ZAZ40SMBP2QR7J209","create-cli",null,"Design or refactor a command-line interface: commands, flags, help, output, errors, config precedence, prompts, and safe defaults.","jkomyno\u002F.dotfiles","jkomyno","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F12381818?v=4","01M75MA8EK2FJFP0274GEB1RNB","Alberto Schiabel","01M75MA8FKQN5GTW089WN3838D",5,"MIT","https:\u002F\u002Fgithub.com\u002Fjkomyno\u002F.dotfiles\u002Fblob\u002Fmain\u002Ftarget\u002Fhome\u002F.agents\u002Fskills\u002Fcreate-cli\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: create-cli\ndescription: \"Design or refactor a command-line interface: commands, flags, help, output, errors, config precedence, prompts, and safe defaults.\"\n---\n\n# Create CLI\n\nDesign CLI surface area (syntax + behavior), human-first, script-friendly.\n\n## Do This First\n\n- Read `agent-scripts\u002Fskills\u002Fcreate-cli\u002Freferences\u002Fcli-guidelines.md` and apply it as the default rubric.\n- Upstream\u002Ffull guidelines: https:\u002F\u002Fclig.dev\u002F (propose changes: https:\u002F\u002Fgithub.com\u002Fcli-guidelines\u002Fcli-guidelines)\n- Ask only the minimum clarifying questions needed to lock the interface.\n\n## Clarify (fast)\n\nAsk, then proceed with best-guess defaults if user is unsure:\n\n- Command name + one-sentence purpose.\n- Primary user: humans, scripts, or both.\n- Input sources: args vs stdin; files vs URLs; secrets (never via flags).\n- Output contract: human text, `--json`, `--plain`, exit codes.\n- Interactivity: prompts allowed? need `--no-input`? confirmations for destructive ops?\n- Config model: flags\u002Fenv\u002Fconfig-file; precedence; XDG vs repo-local.\n- Platform\u002Fruntime constraints: macOS\u002FLinux\u002FWindows; single binary vs runtime.\n\n## Deliverables (what to output)\n\nWhen designing a CLI, produce a compact spec the user can implement:\n\n- Command tree + USAGE synopsis.\n- Args\u002Fflags table (types, defaults, required\u002Foptional, examples).\n- Subcommand semantics (what each does; idempotence; state changes).\n- Output rules: stdout vs stderr; TTY detection; `--json`\u002F`--plain`; `--quiet`\u002F`--verbose`.\n- Error + exit code map (top failure modes).\n- Safety rules: `--dry-run`, confirmations, `--force`, `--no-input`.\n- Config\u002Fenv rules + precedence (flags > env > project config > user config > system).\n- Shell completion story (if relevant): install\u002Fdiscoverability; generation command or bundled scripts.\n- 5–10 example invocations (common flows; include piped\u002Fstdin examples).\n\n## Default Conventions (unless user says otherwise)\n\n- `-h\u002F--help` always shows help and ignores other args.\n- `--version` prints version to stdout.\n- Primary data to stdout; diagnostics\u002Ferrors to stderr.\n- Add `--json` for machine output; consider `--plain` for stable line-based text.\n- Prompts only when stdin is a TTY; `--no-input` disables prompts.\n- Destructive operations: interactive confirmation + non-interactive requires `--force` or explicit `--confirm=...`.\n- Respect `NO_COLOR`, `TERM=dumb`; provide `--no-color`.\n- Handle Ctrl-C: exit fast; bounded cleanup; be crash-only when possible.\n\n## Templates (copy into your answer)\n\n### CLI spec skeleton\n\nFill these sections, drop anything irrelevant:\n\n1. **Name**: `mycmd`\n2. **One-liner**: `...`\n3. **USAGE**:\n   - `mycmd [global flags] \u003Csubcommand> [args]`\n4. **Subcommands**:\n   - `mycmd init ...`\n   - `mycmd run ...`\n5. **Global flags**:\n   - `-h, --help`\n   - `--version`\n   - `-q, --quiet` \u002F `-v, --verbose` (define exactly)\n   - `--json` \u002F `--plain` (if applicable)\n6. **I\u002FO contract**:\n   - stdout:\n   - stderr:\n7. **Exit codes**:\n   - `0` success\n   - `1` generic failure\n   - `2` invalid usage (parse\u002Fvalidation)\n   - (add command-specific codes only when actually useful)\n8. **Env\u002Fconfig**:\n   - env vars:\n   - config file path + precedence:\n9. **Examples**:\n   - …\n\n## Notes\n\n- Prefer recommending a parsing library (language-specific) only when asked; otherwise keep this skill language-agnostic.\n- If the request is “design parameters”, do not drift into implementation.\n","# Create CLI\n\nDesign CLI surface area (syntax + behavior), human-first, script-friendly.\n\n## Do This First\n\n- Read `agent-scripts\u002Fskills\u002Fcreate-cli\u002Freferences\u002Fcli-guidelines.md` and apply it as the default rubric.\n- Upstream\u002Ffull guidelines: https:\u002F\u002Fclig.dev\u002F (propose changes: https:\u002F\u002Fgithub.com\u002Fcli-guidelines\u002Fcli-guidelines)\n- Ask only the minimum clarifying questions needed to lock the interface.\n\n## Clarify (fast)\n\nAsk, then proceed with best-guess defaults if user is unsure:\n\n- Command name + one-sentence purpose.\n- Primary user: humans, scripts, or both.\n- Input sources: args vs stdin; files vs URLs; secrets (never via flags).\n- Output contract: human text, `--json`, `--plain`, exit codes.\n- Interactivity: prompts allowed? need `--no-input`? confirmations for destructive ops?\n- Config model: flags\u002Fenv\u002Fconfig-file; precedence; XDG vs repo-local.\n- Platform\u002Fruntime constraints: macOS\u002FLinux\u002FWindows; single binary vs runtime.\n\n## Deliverables (what to output)\n\nWhen designing a CLI, produce a compact spec the user can implement:\n\n- Command tree + USAGE synopsis.\n- Args\u002Fflags table (types, defaults, required\u002Foptional, examples).\n- Subcommand semantics (what each does; idempotence; state changes).\n- Output rules: stdout vs stderr; TTY detection; `--json`\u002F`--plain`; `--quiet`\u002F`--verbose`.\n- Error + exit code map (top failure modes).\n- Safety rules: `--dry-run`, confirmations, `--force`, `--no-input`.\n- Config\u002Fenv rules + precedence (flags > env > project config > user config > system).\n- Shell completion story (if relevant): install\u002Fdiscoverability; generation command or bundled scripts.\n- 5–10 example invocations (common flows; include piped\u002Fstdin examples).\n\n## Default Conventions (unless user says otherwise)\n\n- `-h\u002F--help` always shows help and ignores other args.\n- `--version` prints version to stdout.\n- Primary data to stdout; diagnostics\u002Ferrors to stderr.\n- Add `--json` for machine output; consider `--plain` for stable line-based text.\n- Prompts only when stdin is a TTY; `--no-input` disables prompts.\n- Destructive operations: interactive confirmation + non-interactive requires `--force` or explicit `--confirm=...`.\n- Respect `NO_COLOR`, `TERM=dumb`; provide `--no-color`.\n- Handle Ctrl-C: exit fast; bounded cleanup; be crash-only when possible.\n\n## Templates (copy into your answer)\n\n### CLI spec skeleton\n\nFill these sections, drop anything irrelevant:\n\n1. **Name**: `mycmd`\n2. **One-liner**: `...`\n3. **USAGE**:\n   - `mycmd [global flags] \u003Csubcommand> [args]`\n4. **Subcommands**:\n   - `mycmd init ...`\n   - `mycmd run ...`\n5. **Global flags**:\n   - `-h, --help`\n   - `--version`\n   - `-q, --quiet` \u002F `-v, --verbose` (define exactly)\n   - `--json` \u002F `--plain` (if applicable)\n6. **I\u002FO contract**:\n   - stdout:\n   - stderr:\n7. **Exit codes**:\n   - `0` success\n   - `1` generic failure\n   - `2` invalid usage (parse\u002Fvalidation)\n   - (add command-specific codes only when actually useful)\n8. **Env\u002Fconfig**:\n   - env vars:\n   - config file path + precedence:\n9. **Examples**:\n   - …\n\n## Notes\n\n- Prefer recommending a parsing library (language-specific) only when asked; otherwise keep this skill language-agnostic.\n- If the request is “design parameters”, do not drift into implementation.\n",{"name":5,"description":7},"main","9e160012bf175f264279507807d206dbe17e9aac","target\u002Fhome\u002F.agents\u002Fskills\u002Fcreate-cli",3,"https:\u002F\u002Fgithub.com\u002Fjkomyno\u002F.dotfiles","https:\u002F\u002Fgithub.com\u002Fjkomyno","https:\u002F\u002Fjkomyno.dev","AX engineer working on agentic dev tools. Previously Senior SWE @prisma & mathematical optimisation @cvut. International tech speaker.","2026-11-14 21:45:28",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add jkomyno\u002F.dotfiles --skill create-cli",{"tool":39,"command":40},"bunx","bunx skills add jkomyno\u002F.dotfiles --skill create-cli",{"tool":42,"command":43},"pnpm","pnpm dlx skills add jkomyno\u002F.dotfiles --skill create-cli","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjkomyno\u002F.dotfiles\u002Fblob\u002Fmain\u002Ftarget\u002Fhome\u002F.agents\u002Fskills\u002Fcreate-cli\u002FSKILL.md",true,[47],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"references\u002Fcli-guidelines.md","REFERENCE","参考文档",9116,"https:\u002F\u002Fgithub.com\u002Fjkomyno\u002F.dotfiles\u002Fblob\u002Fmain\u002Ftarget\u002Fhome\u002F.agents\u002Fskills\u002Fcreate-cli\u002Freferences\u002Fcli-guidelines.md",[54,62,69,76,83,91],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":61},"01M7DY814SMBRJFBZF4NTY2ZCK","potetomode","Load pstack's poteto-mode workflow for concise responses, deliberate delegation, simple code, and verified work. Use when the user requests potetomode or \u002Fpotetomode.","https:\u002F\u002Fgithub.com\u002Fjkomyno\u002F.dotfiles\u002Fblob\u002Fmain\u002Ftarget\u002Fhome\u002F.agents\u002Fskills\u002Fpotetomode\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":61},"01M7DY7YG4V89VKPN5ZQ64EXAV","bro","Restate the last assistant message in plain, concise language using pstack's bro skill. Use when the user requests bro or \u002Fbro.","https:\u002F\u002Fgithub.com\u002Fjkomyno\u002F.dotfiles\u002Fblob\u002Fmain\u002Ftarget\u002Fhome\u002F.agents\u002Fskills\u002Fbro\u002FSKILL.md",[],[],{"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":19},"01M75MJWVSC460HY537YJ5W6MX","wayfinder","Plan a huge chunk of work (more than one agent session can hold) as a shared map of decision tickets on your issue tracker, and resolve them one at a time until the way to the destination is clear.","https:\u002F\u002Fgithub.com\u002Fjkomyno\u002F.dotfiles\u002Fblob\u002Fmain\u002Ftarget\u002Fhome\u002F.agents\u002Fskills\u002Fwayfinder\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M75MJSKK9BZGSTMZ308DM1HA","using-exe-dev","Operate exe.dev virtual machines. Use when the task mentions exe.dev, exe VMs, *.exe.xyz hosts, or exe.dev infrastructure.","https:\u002F\u002Fgithub.com\u002Fjkomyno\u002F.dotfiles\u002Fblob\u002Fmain\u002Ftarget\u002Fhome\u002F.agents\u002Fskills\u002Fusing-exe-dev\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":87,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M75MJNT911P56SE62DZSQTX8","unlazy","Prove substantial work complete with file-backed gates and runnable checks. Use for exhaustive completion, a Depth Tree, or a completion ledger.","https:\u002F\u002Fgithub.com\u002Fjkomyno\u002F.dotfiles\u002Fblob\u002Fmain\u002Ftarget\u002Fhome\u002F.agents\u002Fskills\u002Funlazy\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjkomyno\u002F.dotfiles\u002Fblob\u002Fmain\u002Ftarget\u002Fhome\u002F.agents\u002Fskills\u002Funlazy\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":19},"01M75MJHN22B60A6BNT0W4H7NH","sync-skills","Sync vendored third-party skills against their upstream repositories, re-apply local patches, and flag new upstream skills. Invoke explicitly with \u002Fsync-skills.","https:\u002F\u002Fgithub.com\u002Fjkomyno\u002F.dotfiles\u002Fblob\u002Fmain\u002Ftarget\u002Fhome\u002F.agents\u002Fskills\u002Fsync-skills\u002FSKILL.md",[],[]]