[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79SPX3FF55SJMWEK3THYFP6":3,"skill-same:01M79SPX3FF55SJMWEK3THYFP6":52},{"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":32,"commitSha":33,"skillDirectory":34,"forksCount":13,"repositoryHtmlUrl":35,"repositoryHomepageUrl":6,"ownerHtmlUrl":36,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":37,"install":38,"resources":51},"01M79SPX3FF55SJMWEK3THYFP6","cli-developer",null,"Use when building CLI tools, implementing argument parsing, or adding interactive prompts. Invoke for parsing flags and subcommands, displaying progress bars and spinners, generating bash\u002Fzsh\u002Ffish completion scripts, CLI design, shell completions, and cross-platform terminal applications using commander, click, typer, or cobra.","Snuc1925\u002FSWE-AI-Agent","Snuc1925","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F87866086?v=4","01M79SEFKVJ24BEZS59RCHPNSX","01M79SEFMJFYTNK7S8WF299CWN",0,"MIT","https:\u002F\u002Fgithub.com\u002FSnuc1925\u002FSWE-AI-Agent\u002Fblob\u002Fmain\u002Fskill-library\u002Fdeveloper-tools\u002Fcli-developer\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: cli-developer\ndescription: Use when building CLI tools, implementing argument parsing, or adding interactive prompts. Invoke for parsing flags and subcommands, displaying progress bars and spinners, generating bash\u002Fzsh\u002Ffish completion scripts, CLI design, shell completions, and cross-platform terminal applications using commander, click, typer, or cobra.\nlicense: MIT\nmetadata:\n  author: https:\u002F\u002Fgithub.com\u002FJeffallan\n  version: \"1.1.0\"\n  domain: devops\n  triggers: CLI, command-line, terminal app, argument parsing, shell completion, interactive prompt, progress bar, commander, click, typer, cobra\n  role: specialist\n  scope: implementation\n  output-format: code\n  related-skills: devops-engineer\n---\n\n# CLI Developer\n\n## Core Workflow\n\n1. **Analyze UX** — Identify user workflows, command hierarchy, common tasks. Validate by listing all commands and their expected `--help` output before writing code.\n2. **Design commands** — Plan subcommands, flags, arguments, configuration. Confirm flag naming is consistent and no existing signatures are broken.\n3. **Implement** — Build with the appropriate CLI framework for the language (see Reference Guide below). After wiring up commands, run `\u003Ccli> --help` to verify help text renders correctly and `\u003Ccli> --version` to confirm version output.\n4. **Polish** — Add completions, help text, error messages, progress indicators. Verify TTY detection for color output and graceful SIGINT handling.\n5. **Test** — Run cross-platform smoke tests; benchmark startup time (target: \u003C50ms).\n\n## Reference Guide\n\nLoad detailed guidance based on context:\n\n| Topic | Reference | Load When |\n|-------|-----------|-----------|\n| Design Patterns | `references\u002Fdesign-patterns.md` | Subcommands, flags, config, architecture |\n| Node.js CLIs | `references\u002Fnode-cli.md` | commander, yargs, inquirer, chalk |\n| Python CLIs | `references\u002Fpython-cli.md` | click, typer, argparse, rich |\n| Go CLIs | `references\u002Fgo-cli.md` | cobra, viper, bubbletea |\n| UX Patterns | `references\u002Fux-patterns.md` | Progress bars, colors, help text |\n\n## Quick-Start Example\n\n### Node.js (commander)\n\n```js\n#!\u002Fusr\u002Fbin\u002Fenv node\n\u002F\u002F npm install commander\nconst { program } = require('commander');\n\nprogram\n  .name('mytool')\n  .description('Example CLI')\n  .version('1.0.0');\n\nprogram\n  .command('greet \u003Cname>')\n  .description('Greet a user')\n  .option('-l, --loud', 'uppercase the greeting')\n  .action((name, opts) => {\n    const msg = `Hello, ${name}!`;\n    console.log(opts.loud ? msg.toUpperCase() : msg);\n  });\n\nprogram.parse();\n```\n\nFor Python (click\u002Ftyper) and Go (cobra) quick-start examples, see `references\u002Fpython-cli.md` and `references\u002Fgo-cli.md`.\n\n## Constraints\n\n### MUST DO\n- Keep startup time under 50ms\n- Provide clear, actionable error messages\n- Support `--help` and `--version` flags\n- Use consistent flag naming conventions\n- Handle SIGINT (Ctrl+C) gracefully\n- Validate user input early\n- Support both interactive and non-interactive modes\n- Test on Windows, macOS, and Linux\n\n### MUST NOT DO\n\n- **Block on synchronous I\u002FO unnecessarily** — use async reads or stream processing instead.\n- **Print to stdout when output will be piped** — write logs\u002Fdiagnostics to stderr.\n- **Use colors when output is not a TTY** — detect before applying color:\n  ```js\n  \u002F\u002F Node.js\n  const useColor = process.stdout.isTTY;\n  ```\n  ```python\n  # Python\n  import sys\n  use_color = sys.stdout.isatty()\n  ```\n  ```go\n  \u002F\u002F Go\n  import \"golang.org\u002Fx\u002Fterm\"\n  useColor := term.IsTerminal(int(os.Stdout.Fd()))\n  ```\n- **Break existing command signatures** — treat flag\u002Fsubcommand renames as breaking changes.\n- **Require interactive input in CI\u002FCD environments** — always provide non-interactive fallbacks via flags or env vars.\n- **Hardcode paths or platform-specific logic** — use `os.homedir()` \u002F `os.UserHomeDir()` \u002F `Path.home()` instead.\n- **Ship without shell completions** — all three frameworks above have built-in completion generation.\n\n## Output Templates\n\nWhen implementing CLI features, provide:\n1. Command structure (main entry point, subcommands)\n2. Configuration handling (files, env vars, flags)\n3. Core implementation with error handling\n4. Shell completion scripts if applicable\n5. Brief explanation of UX decisions\n\n## Knowledge Reference\n\nCLI frameworks (commander, yargs, oclif, click, typer, argparse, cobra, viper), terminal UI (chalk, inquirer, rich, bubbletea), testing (snapshot testing, E2E), distribution (npm, pip, homebrew, releases), performance optimization\n\n[Documentation](https:\u002F\u002Fjeffallan.github.io\u002Fclaude-skills\u002Fskills\u002Fdevops\u002Fcli-developer\u002F)\n","# CLI Developer\n\n## Core Workflow\n\n1. **Analyze UX** — Identify user workflows, command hierarchy, common tasks. Validate by listing all commands and their expected `--help` output before writing code.\n2. **Design commands** — Plan subcommands, flags, arguments, configuration. Confirm flag naming is consistent and no existing signatures are broken.\n3. **Implement** — Build with the appropriate CLI framework for the language (see Reference Guide below). After wiring up commands, run `\u003Ccli> --help` to verify help text renders correctly and `\u003Ccli> --version` to confirm version output.\n4. **Polish** — Add completions, help text, error messages, progress indicators. Verify TTY detection for color output and graceful SIGINT handling.\n5. **Test** — Run cross-platform smoke tests; benchmark startup time (target: \u003C50ms).\n\n## Reference Guide\n\nLoad detailed guidance based on context:\n\n| Topic | Reference | Load When |\n|-------|-----------|-----------|\n| Design Patterns | `references\u002Fdesign-patterns.md` | Subcommands, flags, config, architecture |\n| Node.js CLIs | `references\u002Fnode-cli.md` | commander, yargs, inquirer, chalk |\n| Python CLIs | `references\u002Fpython-cli.md` | click, typer, argparse, rich |\n| Go CLIs | `references\u002Fgo-cli.md` | cobra, viper, bubbletea |\n| UX Patterns | `references\u002Fux-patterns.md` | Progress bars, colors, help text |\n\n## Quick-Start Example\n\n### Node.js (commander)\n\n```js\n#!\u002Fusr\u002Fbin\u002Fenv node\n\u002F\u002F npm install commander\nconst { program } = require('commander');\n\nprogram\n  .name('mytool')\n  .description('Example CLI')\n  .version('1.0.0');\n\nprogram\n  .command('greet \u003Cname>')\n  .description('Greet a user')\n  .option('-l, --loud', 'uppercase the greeting')\n  .action((name, opts) => {\n    const msg = `Hello, ${name}!`;\n    console.log(opts.loud ? msg.toUpperCase() : msg);\n  });\n\nprogram.parse();\n```\n\nFor Python (click\u002Ftyper) and Go (cobra) quick-start examples, see `references\u002Fpython-cli.md` and `references\u002Fgo-cli.md`.\n\n## Constraints\n\n### MUST DO\n- Keep startup time under 50ms\n- Provide clear, actionable error messages\n- Support `--help` and `--version` flags\n- Use consistent flag naming conventions\n- Handle SIGINT (Ctrl+C) gracefully\n- Validate user input early\n- Support both interactive and non-interactive modes\n- Test on Windows, macOS, and Linux\n\n### MUST NOT DO\n\n- **Block on synchronous I\u002FO unnecessarily** — use async reads or stream processing instead.\n- **Print to stdout when output will be piped** — write logs\u002Fdiagnostics to stderr.\n- **Use colors when output is not a TTY** — detect before applying color:\n  ```js\n  \u002F\u002F Node.js\n  const useColor = process.stdout.isTTY;\n  ```\n  ```python\n  # Python\n  import sys\n  use_color = sys.stdout.isatty()\n  ```\n  ```go\n  \u002F\u002F Go\n  import \"golang.org\u002Fx\u002Fterm\"\n  useColor := term.IsTerminal(int(os.Stdout.Fd()))\n  ```\n- **Break existing command signatures** — treat flag\u002Fsubcommand renames as breaking changes.\n- **Require interactive input in CI\u002FCD environments** — always provide non-interactive fallbacks via flags or env vars.\n- **Hardcode paths or platform-specific logic** — use `os.homedir()` \u002F `os.UserHomeDir()` \u002F `Path.home()` instead.\n- **Ship without shell completions** — all three frameworks above have built-in completion generation.\n\n## Output Templates\n\nWhen implementing CLI features, provide:\n1. Command structure (main entry point, subcommands)\n2. Configuration handling (files, env vars, flags)\n3. Core implementation with error handling\n4. Shell completion scripts if applicable\n5. Brief explanation of UX decisions\n\n## Knowledge Reference\n\nCLI frameworks (commander, yargs, oclif, click, typer, argparse, cobra, viper), terminal UI (chalk, inquirer, rich, bubbletea), testing (snapshot testing, E2E), distribution (npm, pip, homebrew, releases), performance optimization\n\n[Documentation](https:\u002F\u002Fjeffallan.github.io\u002Fclaude-skills\u002Fskills\u002Fdevops\u002Fcli-developer\u002F)\n",{"name":5,"license":14,"metadata":23,"description":7},{"role":24,"scope":25,"author":26,"domain":27,"version":28,"triggers":29,"output-format":30,"related-skills":31},"specialist","implementation","https:\u002F\u002Fgithub.com\u002FJeffallan","devops","1.1.0","CLI, command-line, terminal app, argument parsing, shell completion, interactive prompt, progress bar, commander, click, typer, cobra","code","devops-engineer","main","459326d435e3b6ae17300b946bd4b7458ecd2bae","skill-library\u002Fdeveloper-tools\u002Fcli-developer","https:\u002F\u002Fgithub.com\u002FSnuc1925\u002FSWE-AI-Agent","https:\u002F\u002Fgithub.com\u002FSnuc1925","2026-07-29 09:46:52",{"source":8,"skillName":5,"commands":39,"prompt":49,"zipAvailable":50},[40,43,46],{"tool":41,"command":42},"npx","npx skills add Snuc1925\u002FSWE-AI-Agent --skill cli-developer",{"tool":44,"command":45},"bunx","bunx skills add Snuc1925\u002FSWE-AI-Agent --skill cli-developer",{"tool":47,"command":48},"pnpm","pnpm dlx skills add Snuc1925\u002FSWE-AI-Agent --skill cli-developer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSnuc1925\u002FSWE-AI-Agent\u002Fblob\u002Fmain\u002Fskill-library\u002Fdeveloper-tools\u002Fcli-developer\u002FSKILL.md",true,[],[53,62,70,78,85,93],{"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":57,"licenseFileUrl":58,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":18},"01M79T5E59T5HMWZVTFJA9QXN1","linear","Manage issues, projects & team workflows in Linear. Use when the user wants to read, create or updates tickets in Linear.","Apache-2.0","https:\u002F\u002Fgithub.com\u002FSnuc1925\u002FSWE-AI-Agent\u002Fblob\u002Fmain\u002Fskill-library\u002Fworkflow-planning\u002Flinear\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FSnuc1925\u002FSWE-AI-Agent\u002Fblob\u002Fmain\u002Fskill-library\u002Fworkflow-planning\u002Flinear\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":57,"licenseFileUrl":66,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":18},"01M79T535TSDZ09RXZ2YPEE3TN","define-goal","Help the user define a concrete, measurable goal before starting work, especially when they ask to use the goal tool, create a goal, set an objective, clarify success criteria, or turn a fuzzy intention into a quantitative outcome. Use this skill for goal creation and goal refinement only; it does not manage durable snapshots, decision logs, or long-running execution artifacts.","https:\u002F\u002Fgithub.com\u002FSnuc1925\u002FSWE-AI-Agent\u002Fblob\u002Fmain\u002Fskill-library\u002Fworkflow-planning\u002Fdefine-goal\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FSnuc1925\u002FSWE-AI-Agent\u002Fblob\u002Fmain\u002Fskill-library\u002Fworkflow-planning\u002Fdefine-goal\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":57,"licenseFileUrl":74,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":18},"01M79T4TE9NAVN5REZVETVXBCN","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","https:\u002F\u002Fgithub.com\u002FSnuc1925\u002FSWE-AI-Agent\u002Fblob\u002Fmain\u002Fskill-library\u002Ftesting\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FSnuc1925\u002FSWE-AI-Agent\u002Fblob\u002Fmain\u002Fskill-library\u002Ftesting\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":18},"01M79T4HSEDWY2NXVRDZ3RX7J4","test-master","Generates test files, creates mocking strategies, analyzes code coverage, designs test architectures, and produces test plans and defect reports across functional, performance, and security testing disciplines. Use when writing unit tests, integration tests, or E2E tests; creating test strategies or automation frameworks; analyzing coverage gaps; performance testing with k6 or Artillery; security testing with OWASP methods; debugging flaky tests; or working on QA, regression, test automation, quality gates, shift-left testing, or test maintenance.","https:\u002F\u002Fgithub.com\u002FSnuc1925\u002FSWE-AI-Agent\u002Fblob\u002Fmain\u002Fskill-library\u002Ftesting\u002Ftest-master\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":57,"licenseFileUrl":89,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":18},"01M79T43SW5P3Y37F6Y82T76EM","playwright","Use when the task requires automating a real browser from the terminal (navigation, form filling, snapshots, screenshots, data extraction, UI-flow debugging) via `playwright-cli` or the bundled wrapper script.","https:\u002F\u002Fgithub.com\u002FSnuc1925\u002FSWE-AI-Agent\u002Fblob\u002Fmain\u002Fskill-library\u002Ftesting\u002Fplaywright\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FSnuc1925\u002FSWE-AI-Agent\u002Fblob\u002Fmain\u002Fskill-library\u002Ftesting\u002Fplaywright\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":57,"licenseFileUrl":97,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":18},"01M79T3ZYPH547MMC5FFBY1APS","playwright-interactive","Persistent browser and Electron interaction through `js_repl` for fast iterative UI debugging.","https:\u002F\u002Fgithub.com\u002FSnuc1925\u002FSWE-AI-Agent\u002Fblob\u002Fmain\u002Fskill-library\u002Ftesting\u002Fplaywright-interactive\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FSnuc1925\u002FSWE-AI-Agent\u002Fblob\u002Fmain\u002Fskill-library\u002Ftesting\u002Fplaywright-interactive\u002FSKILL.md",[],[]]