Skip to content
Back to skills

Cli Design

ASecurity

Design or review a CLI command, argument model, terminal output, exit codes, cancellation, and automation contract.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 13, 2026
ai-agents

Works with

  • terminal
  • cli

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned October 13, 2026

npx -y skills add z-Zihan/Evir --skill cli-design --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cli Design?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cli Design
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/z-zihan-cli-design/badge)](https://www.skillsdirectory.com/skills/z-zihan-cli-design)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cli-design
description: Design or review a CLI command, argument model, terminal output, exit codes, cancellation, and automation contract.
---

# CLI Design

1. Identify interactive users, scripts, supported platforms, input sources, and stable outputs.
2. Make commands and flags composable. Reject ambiguous positional arguments, silent coercion, and undocumented precedence.
3. Keep machine output on stdout and progress/errors on stderr. Define stable exit codes and `--json` schemas when automation needs them.
4. Use safe defaults. Destructive or external actions need explicit scope, preview, confirmation, and non-interactive refusal rules.
5. Specify cancellation, timeouts, partial results, no-color mode, narrow terminals, and localization boundaries.
6. Test help, missing values, unknown flags, conflicting flags, pipes, non-TTY execution, Ctrl+C, and platform path differences.

Return the command grammar, examples, output contract, error matrix, safety rules, and acceptance tests.

Files in this skill

  • SKILL.md1009 B
  • manifest.json1.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.