clap-patterns

Installation
SKILL.md

Clap Patterns Skill

Common patterns and idioms for using Clap v4+ effectively in Rust CLI applications.

Derive API vs Builder API

When to Use Derive API

  • CLI structure known at compile time
  • Want type safety and compile-time validation
  • Prefer declarative style
  • Standard CLI patterns are sufficient
Related skills
Installs
20
GitHub Stars
8
First Seen
Jan 24, 2026