This walks Claude through a structured checklist for reviewing Typer CLI commands, covering everything from file structure and the Annotated syntax to exit codes and destructive action patterns. You'd use it when you want feedback on a CLI implementation or need to verify it follows conventions. The checklist format is thorough, hitting common mistakes like using print() instead of a display module, wrong exit codes, and confirmation prompts that default to yes. The output format gives you a clear breakdown of what passes and what needs fixing. It's opinionated about structure, which is good if you're working in a codebase with established patterns, less useful if you're just exploring Typer basics.

GitHub stars
1.3K
last updated
Jun 8, 2026

Install

$ npx -y skills add https-deeplearning-ai/sc-agent-skills-files --skill reviewing-cli-command --agent claude-code

Installs into .claude/skills of the current project.

Files

Reviewing CLI Commands

Checklist for reviewing Typer CLI command implementations.

Review Process

  1. Read the command file
  2. Check each section below
  3. Report findings using output format at bottom

Structure

  • File in src/<cli_app>/commands/
  • Has app = typer.Typer() and @app.command()
  • Command groups use @app.command() for each subcommand
  • Registered in commands/__init__.py with add_typer()
  • Single commands: add_typer(app) without name
  • Command groups: add_typer(app, name="group")

Arguments & Options

  • Uses Annotated syntax
  • Arguments for required positional input
  • Options for optional named parameters
  • Short flags where appropriate (-f, -q)
  • Help text: lowercase, no period, brief
# GOOD:
name: Annotated[str, typer.Argument(help="item name")]
force: Annotated[bool, typer.Option("--force", "-f", help="skip confirmation")] = False

# BAD:
name: str = typer.Argument(..., help="The name of the item.")

Error Handling

Sponsors

Details

Repository
github.com/https-deeplearning-ai/sc-agent-skills-files
Categories
Git & Pull Requests, Code Review & Quality, AI & Agent Building, Debugging, CLI & Terminal
First seen
Jun 11, 2026

More from https-deeplearning-ai/sc-agent-skills-files

All 4
1huangjia2019 avatarcode-reviewinghuangjia2019/claude-code-engineeringReview code for quality, security, and best practices. Use when the user asks for code review, wants feedback on their code, mentions reviewing changes, or asks0skills.sh installs
2hypnguyen1209 avatarcrypto-analysishypnguyen1209/offensive-claudeCryptographic assessment — cipher identification, TLS auditing, hash analysis, key strength evaluation, side-channel detection, crypto implementation review0skills.sh installs
3jdrhyne avatardesign-auditjdrhyne/agent-skillsPremium UI/UX design auditor with Jobs/Ive philosophy. Use when reviewing, evaluating, or elevating existing UI — triggers on "audit my design", "review UI", "m0skills.sh installs
4jlowin avatarreviewing-codejlowin/fastmcpReview code for quality, maintainability, and correctness. Use when reviewing pull requests, evaluating code changes, or providing feedback on implementations. 0skills.sh installs
5k-dense-ai avatarverifying-results-before-claimingk-dense-ai/science-superpowersThis is the pre-commit hook for your brain before you report any finding.0skills.sh installs
6kaelio avatardbt_ingestkaelio/ktxMap dbt `schema.yml` / `properties.yml` models and sources into ktx semantic-layer overlays and column notes. Covers `sources:` vs `models:`, column `data_tests0skills.sh installs