Volver al catálogo
Curado por modeloDesarrollo

Dosier de la skill

cli-developer

Declaración de origen

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/zsh/fish completion scripts, CLI design, shell completions, and cross-platform terminal applications using commander, click, typer, or cobra.

La descripción original del autor, conservada en inglés. Describe la intención, no un rendimiento verificado.

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/zsh/fish completion scripts, CLI design, shell completions, and cross-platform terminal applications using commander, click, typer, or cobra.

developmentreferences

El contenido de investigación de este sitio está publicado en inglés y chino, y aquí se muestra en inglés.

Resumen de la investigación

Curado por modelo

Skill Atlas model curation · model-curated-1.0.0

Guides building command-line tools: plan the command hierarchy, implement with commander, click, typer or cobra, polish UX, and smoke-test across platforms.

Alcance de la revisión

Deterministic static analysis of collected SKILL.md and supporting text/code. Machine-assisted candidates and findings are static-analysis candidates; no dynamic behavior or effect is assessed.

Capacidades observables

  • Lists commands and expected --help output before writing code.
  • Implements commands with a framework suited to the language and checks --help and --version.
  • Adds shell completions, progress indicators and clear error messages.
  • Checks TTY detection for color, SIGINT handling and non-interactive fallbacks for CI.

Limitaciones y alcance

  • The sub-50ms startup target is a stated goal that is not verified here and may be hard for some runtimes.
  • Cross-platform testing on Windows, macOS and Linux needs access to those environments.
  • Only the Node.js commander example is inline; Python and Go examples are in separate references.

Relevante para

  • Developers building command-line tools
  • Teams standardizing flag naming and help text
  • Maintainers adding shell completions

Qué incluye la skill

El inventario de archivos procede del código fuente recopilado en el commit registrado. Las rutas y los tamaños son observaciones estructurales, no una medida de calidad.

archivos
6
Archivos Markdown
6
scripts
0
referencias
5
Tamaño
48,8 KB
Complejidad estructural
Baja

Inventario de archivos

RutaTipoBytes
skills/cli-developer/references/design-patterns.mdReferencia5,1 KB
skills/cli-developer/references/go-cli.mdReferencia10,7 KB
skills/cli-developer/references/node-cli.mdReferencia8,2 KB
skills/cli-developer/references/python-cli.mdReferencia10,2 KB
skills/cli-developer/references/ux-patterns.mdReferencia9,9 KB
skills/cli-developer/SKILL.mdInstrucción4,7 KB

Frontmatter de SKILL.md

{
  "name": "cli-developer",
  "description": "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/zsh/fish completion scripts, CLI design, shell completions, and cross-platform terminal applications using commander, click, typer, or cobra.",
  "license": "MIT",
  "metadata": {
    "author": "https://github.com/Jeffallan",
    "company": "https://synergetic.solutions",
    "version": "1.1.0",
    "domain": "devops",
    "triggers": "CLI, command-line, terminal app, argument parsing, shell completion, interactive prompt, progress bar, commander, click, typer, cobra",
    "role": "specialist",
    "scope": "implementation",
    "output-format": "code",
    "related-skills": "devops-engineer"
  }
}

Una lectura de la secuencia de funcionamiento

Este flujo de trabajo reconstruye la secuencia aparente a partir del material de origen. A menos que se registre explícitamente una evaluación controlada, es provisional y no un seguimiento observado.

  1. 01
    Entrada

    Analyze UX

    Identify workflows and command hierarchy, then list all commands with expected --help output.

  2. 02
    Acción

    Implement and check help

    Build with the framework for the language, then run the CLI with --help and --version.

  3. 03
    Decisión

    Respect the terminal

    Do not use colors when output is not a TTY; detect it before applying color.

  4. 04
    Salida

    Deliver CLI package

    Provide the command structure, configuration handling, core code, completions and UX notes.

Posibles superficies de riesgo

Los hallazgos estáticos señalan puntos que conviene revisar antes de instalar. No establecen que una skill sea segura, maliciosa ni eficaz.

Se recomienda atención

80 deterministic lexical finding(s) require review across the collected text. Findings can occur in documentation and do not prove execution or exploitability; binary-only files were not scanned.

Acceso a la redObservado
Escrituras de archivosObservado
Uso de credencialesObservado
Nota

File modification is described or implemented

65 ocurrencias

This line contains a possible file-write or redirection operation. Check destination paths and overwrite behavior; the static review did not write any file. This rule matched 65 location(s) in the collected text; 3 representative location(s) are cited. Matching text may be documentation, and the analyzer did not execute it.

Media

Network access is mentioned

9 ocurrencias

A URL or network client appears in this source line. Review destinations, data sent, and trust boundaries; static text cannot establish actual network activity. This rule matched 9 location(s) in the collected text; 3 representative location(s) are cited. Matching text may be documentation, and the analyzer did not execute it.

Alta

Elevated privileges are referenced

4 ocurrencias

Privilege-elevation syntax is present. Confirm whether elevation is necessary and inspect every operation performed under it; static analysis cannot prove that elevation succeeded. This rule matched 4 location(s) in the collected text; 3 representative location(s) are cited. Matching text may be documentation, and the analyzer did not execute it.

Alta

Credential or secret material is referenced

2 ocurrencias

This line resembles a credential literal or reads a sensitive environment value. Do not expose its contents; verify whether it is a placeholder, required secret, or accidentally committed material. This rule matched 2 location(s) in the collected text; 2 representative location(s) are cited. Matching text may be documentation, and the analyzer did not execute it.

Nota de seguridad editorial

Review any generated install or distribution steps and make sure the CLI never prints secrets or hardcodes platform-specific paths.

Dónde puede consumirse el contexto

Las capas de descubrimiento, activación y recursos tienen significados distintos. Los valores exactos solo aparecen cuando el método oficial de recuento se ejecutó con un modelo identificado.

Recuento exacto de tokens no disponible

All token values, including per-file inventory, are null until the pipeline performs an official exact count with an explicit model.

No se registró ninguna medición de tokens con el método oficial requerido. Este dosier no la sustituye por recuentos de caracteres, tamaños de archivo ni estimaciones.

Evaluación controlada

Sin evaluación controlada

Esta skill solo cuenta con las evidencias indicadas arriba. No se afirma ninguna tasa de éxito, eficiencia de tokens, latencia ni ventaja de calidad.

Sin probar

Úsala con el código fuente a la vista

Comando de instalación
git clone https://github.com/Jeffallan/claude-skills.git cd claude-skills # Copy this skill directory into one of: # ~/.claude/skills/cli-developer # .claude/skills/cli-developer
  1. Open the pinned source at https://github.com/Jeffallan/claude-skills/blob/67c1961b180dc92cf08983344627109e983e8f51/skills/cli-developer/SKILL.md.
  2. Review the license, prerequisites and all bundled reference files.
  3. Install the skill into a personal or project-level Claude Code skills directory.
  4. Restart or refresh Claude Code so the skill can be discovered.
Verificar la instalación

Confirm cli-developer/SKILL.md exists at the destination, then ask Claude Code to use the cli-developer skill on a small test task.

Requisitos previos

  • The sub-50ms startup target is a stated goal that is not verified here and may be hard for some runtimes.
  • Cross-platform testing on Windows, macOS and Linux needs access to those environments.
  • Only the Node.js commander example is inline; Python and Go examples are in separate references.

Prompts de ejemplo

Representative task

Use the cli-developer skill to design and implement a Node.js commander CLI called mytool with a greet subcommand, --help and --version, shell completions and a non-interactive mode.

Inspect before use

Read the cli-developer skill at https://github.com/Jeffallan/claude-skills/blob/67c1961b180dc92cf08983344627109e983e8f51/skills/cli-developer/SKILL.md and its referenced files. Explain its workflow, required tools, permissions and the main risks before I decide whether to install it.

Una decisión, con sus límites

Fortalezas

  • Concrete MUST NOT rules such as no color when output is not a TTY and no required prompts in CI.
  • Treats flag or subcommand renames as breaking changes.

Aspectos a considerar

  • Mandates shell completions and tri-platform testing, which can be overkill for small scripts.
  • Framework choice is left to references rather than decided in the main file.
Conclusión de la investigación

A solid UX checklist for CLI work, best for tools that will be distributed to other users.

Trazable por construcción

El dosier es una lectura acotada en el tiempo de un artefacto público, no un respaldo. Usa el enlace al código fuente para inspeccionar el material original exacto.

Jeffallanclaude-skillsskills/cli-developer
Tipo de origen
Comunidad
Commit
67c1961b180dc92cf08983344627109e983e8f51
Recopilado
20 nov 2026
Última comprobación
20 nov 2026
Licencia original
MIT
Estrellas del repositorio
12.469
Base del contenido

Deterministic lexical parsing, YAML frontmatter validation, file inventory, source-described workflow extraction, and heuristic provisional classification of the supplied files only. Generated by machine; no LLM, execution, or dynamic testing.