Claude Marketplaces
SkillsMCP serversMarketplacesDigestTools
Submit

This week in Claude

Every Monday: Claude Code, Agent SDK, MCP, and the Anthropic platform moves worth your time.

Skills by category
Frontend DevelopmentBackend & APIsTesting & QASecurityDevOps & CI/CDGit & Pull RequestsDocumentationCode Review & QualityAI & Agent BuildingSkill Development
MCP servers by category
Sales & MarketingWeb & Browser AutomationDatabasesAI & LLM ToolsCloud & InfrastructureCommunication & MessagingDeveloper ToolsDesign & CreativeDocuments & KnowledgeSearch & Web Crawling
Marketplaces by category
AI Agents & OrchestrationLLM IntegrationDevelopment ToolsFrontend & UIBackend & APIsDatabasesTesting & Code QualityDevOps & CloudSecurity & ComplianceGit & Version Control
Claude Marketplaces

An independent directory of skills, plugins and MCP servers for Claude Code. Not affiliated with Anthropic.

Browse

  • Skills
  • MCP servers
  • Marketplaces
  • Weekly digest
  • Skill index
  • MCP index
  • Marketplace index

Site

  • About
  • Tools
  • Submit
  • Feedback
  • Privacy
  • llms.txt
  • Plugins reference

Maker

  • Snug
  • Agent Caffeine
  • knobs
  • Wax
  • Vectoys
  • mertduzgun.com
Crafted at
Skills/Git & Pull Requests
https-deeplearning-ai avatar

Reviewing Cli Command

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

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
View on GitHubSave

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

  • Validates input before processing
  • Exit codes: 0=success, 1=error, 2=invalid input
  • Errors via display.error()
  • Uses raise typer.Exit(code) after errors
  • Uses raise typer.Abort() for cancellation
# GOOD:
if id < 1:
    display.error("ID must be positive")
    raise typer.Exit(EXIT_INVALID_INPUT)

# BAD:
if id < 1:
    print("Error: ID must be positive")
    return

Output

  • All output through display module
  • No print(), typer.echo(), or console.print()
# GOOD:
display.success(f"Added '{task.title}'")

# BAD:
print(f"Added '{task.title}'")

Destructive Actions

  • Has --force / -f flag
  • typer.confirm() with default=False
  • Shows "Cancelled" on abort
# GOOD:
if not force:
    confirm = typer.confirm(f"Delete '{task.title}'?", default=False)
    if not confirm:
        display.info("Cancelled")
        raise typer.Abort()

# BAD: defaults to Yes
confirm = typer.confirm(f"Delete?", default=True)

Help Text

  • Docstring exists
  • Imperative mood ("Add a task" not "Adds a task")
  • First line < 60 characters

Common Mistakes

MistakeFix
print()display.success/error/warning/info()
Wrong exit code0=success, 1=error, 2=invalid
Missing --force on deleteAdd force option with default False
Confirmation defaults Yesdefault=False in typer.confirm()
Old Typer syntaxAnnotated[type, typer.Argument()]
Missing app = typer.Typer()Each command file needs its own app
Not registeredadd_typer(app) in commands/__init__.py

Review Output Format

## Review: <command_name>

[OK] Uses Annotated syntax
[OK] Has docstring in imperative mood
[X] Missing --force flag on destructive command
[X] Uses print() instead of display module
[!] Help text could be shorter

### Summary
<brief summary of issues found>

### Suggested Fixes
<code suggestions if needed>

Sponsors

SnugThe clipboard manager you and your agent can use, safelyAgent CaffeineClose your lid, come back to finished workWaxBlock anything with supervision, without erasing your iPhoneOpen StepsSponsoredFree and open-source skills that make AI coding agents easier to understand, verify, and control.

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
  • Adding Cli Command
  • Generating Cli Tests
  • Learning A Tool

Recommended

More Git & Pull Requests
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 asks0installs
2hypnguyen1209 avatarcrypto-analysishypnguyen1209/offensive-claudeCryptographic assessment — cipher identification, TLS auditing, hash analysis, key strength evaluation, side-channel detection, crypto implementation review0installs
3iopsystems avatarreleaseiopsystems/rezolusCreate a release PR with version bump and changelog update0installs
4jdrhyne 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", "m0installs
5JetBrains avatarissues-deduplicationJetBrains/ideavimHandles deduplication of YouTrack issues. Use when cleaning up duplicate issues, consolidating related bug reports, or organizing issue tracker.0installs
6jlowin avatarreviewing-codejlowin/fastmcpReview code for quality, maintainability, and correctness. Use when reviewing pull requests, evaluating code changes, or providing feedback on implementations. 0installs