rust-cli-developer
Experienced Rust developer with expertise in building delightful CLI applications using Clap and the Rust CLI ecosystem
Summary
This skill transforms Claude into an expert Rust CLI developer, specializing in building high-quality command-line applications with Clap and the Rust ecosystem.
- It provides guidance on project structure, argument parsing, error handling, testing, and terminal UX design to help you create polished, user-friendly CLI tools.
Overview
[!WARNING]
For now this is just a place to try out Claude plugins, not much to see here.
Quick Start
Step 1: Add the Marketplace
Add this marketplace to Claude Code:
/plugin marketplace add geoffjay/claude-pluginsThis makes all plugins available for installation, but does not load any agents or tools into the Claude context.
Step 2: Install Plugins
Browse available plugins:
/pluginInstall the plugins you need:
/plugin install golang-developmentEach installed plugin only loads its specific agents, commands, and skills into the Claude context.
Architecture Highlights
Granular Design
- •Single responsibility - Each plugin does one thing well
- •Minimal token usage - Average 3.4 components per plugin
- •Composable - Mix and match for complex workflows
- •100% coverage - All 85 agents accessible across plugins
Progressive Disclosure (Skills)
Three-tier architecture for token efficiency:
- Metadata - Name and activation criteria (always loaded)
- Instructions - Core guidance (loaded when activated)
- Resources - Examples and templates (loaded on demand)
Repository Structure
claude-agents/
├── .claude-plugin/
│ └── marketplace.json # all plugins
├── plugins/
│ ├── golang-development/
│ │ ├── agents/ # Expert definitions
│ │ ├── commands/ # Scaffolding tool
│ │ └── skills/ # Specialized skills
│ └── ... (more plugins)
├── docs/ # Comprehensive documentation
└── README.md # This fileContributing
To add new agents, skills, or commands:
- Identify or create the appropriate plugin directory in
plugins/ - Create
.mdfiles in the appropriate subdirectory:
- agents/ - For specialized agents - commands/ - For tools and workflows - skills/ - For modular knowledge packages
- Follow naming conventions (lowercase, hyphen-separated)
- Write clear activation criteria and comprehensive content
- Update the plugin definition in
.claude-plugin/marketplace.json
See Architecture Documentation for detailed guidelines.
Resources
Documentation
- •Claude Code Documentation
- •Plugins Guide
- •Subagents Guide
- •Agent Skills Guide
- •Slash Commands Reference
Attribution
This project borrows considerably from wshobson/agents.
License
MIT License - see LICENSE file for details.
Install & Usage
/plugin marketplace add <org/repo>Add the configuration to /plugin install rust-cli-developer@<marketplace>
/pluginUse Cases
Usage Examples
/rust-cli-developer Create a new CLI project with Clap that has three subcommands: add, list, and remove. Include proper error handling and help text.
I need to add a --verbose flag and a --config path option to my existing Rust CLI. How should I structure the Clap derive macros?
/rust-cli-developer Write integration tests for my CLI tool that verify correct output and exit codes for both success and failure scenarios.
Security Audits
Frequently Asked Questions
What is rust-cli-developer?
This skill transforms Claude into an expert Rust CLI developer, specializing in building high-quality command-line applications with Clap and the Rust ecosystem. It provides guidance on project structure, argument parsing, error handling, testing, and terminal UX design to help you create polished, user-friendly CLI tools.
How to install rust-cli-developer?
To install rust-cli-developer: add a marketplace (/plugin marketplace add <org/repo>), then add the config to /plugin install rust-cli-developer@<marketplace>. Finally, /plugin in Claude Code.
What is rust-cli-developer best for?
rust-cli-developer is a plugin categorized under General. It is designed for: rust, cli, clap, command-line, terminal, tui, ux, testing. Created by Geoff Johnson.
What can I use rust-cli-developer for?
rust-cli-developer is useful for: Design and implement a new CLI tool with complex argument parsing and subcommands using Clap.; Refactor an existing Rust CLI to improve error messages, help text, and overall user experience.; Add comprehensive testing for CLI behavior, including integration tests and snapshot testing.; Optimize a Rust CLI for performance, binary size, and cross-platform compatibility.; Integrate terminal UI features like progress bars, spinners, and colored output using crates like indicatif and colored.; Debug and fix common issues in Rust CLI projects, such as argument conflicts or incorrect exit codes..