Platform cli

From ravnhq/ai-toolkit · View interactive version

Platform cli is an AI agent skill from the GitHub repository ravnhq/ai-toolkit. Design and implementation patterns for building command-line tools with modern UX. Use when designing a CLI, reviewing CLI UX, defining commands and flags, or implementing error handling and signal handling.

How to use this skill

Skill file

CLI Development Patterns

Modern CLI design patterns for commands, flags, output, errors, signals, config, and distribution.

Rules

Core CLI design rules extracted as discrete, actionable patterns. See rules index for the full list organized by:

References

See references/cli-patterns.md for comprehensive guidance organized by:

Examples

Positive Trigger

User: "Design CLI commands, flags, and exit codes for a deployment tool."

Expected behavior: Use platform-cli guidance, follow its workflow, and return actionable output.

Non-Trigger

User: "Write a migration plan for PostgreSQL partitioning."

Expected behavior: Do not prioritize platform-cli; choose a more relevant skill or proceed without it.

Troubleshooting

Skill Does Not Trigger

Guidance Conflicts With Another Skill

Output Is Too Generic

Workflow

  1. Identify whether the request clearly matches platform-cli scope and triggers.
  2. Apply the skill rules and referenced guidance to produce a concrete result.
  3. Validate output quality against constraints; if gaps remain, refine once with explicit assumptions.
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.