BeClaude

rust-cli-developer

8Community RegistryGeneralby Geoff Johnson · MIT

Experienced Rust developer with expertise in building delightful CLI applications using Clap and the Rust CLI ecosystem

First seen 4/17/2026

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:

bash
/plugin marketplace add geoffjay/claude-plugins

This 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:

bash
/plugin

Install the plugins you need:

bash
/plugin install golang-development

Each 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:

  1. Metadata - Name and activation criteria (always loaded)
  2. Instructions - Core guidance (loaded when activated)
  3. Resources - Examples and templates (loaded on demand)

Repository Structure

code
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 file

→ View architecture details

Contributing

To add new agents, skills, or commands:

  1. Identify or create the appropriate plugin directory in plugins/
  2. Create .md files in the appropriate subdirectory:

- agents/ - For specialized agents - commands/ - For tools and workflows - skills/ - For modular knowledge packages

  1. Follow naming conventions (lowercase, hyphen-separated)
  2. Write clear activation criteria and comprehensive content
  3. Update the plugin definition in .claude-plugin/marketplace.json

See Architecture Documentation for detailed guidelines.

Resources

Documentation

Attribution

This project borrows considerably from wshobson/agents.

License

MIT License - see LICENSE file for details.

Install & Usage

1
Add a marketplace
/plugin marketplace add <org/repo>
2
Install the plugin

Add the configuration to /plugin install rust-cli-developer@<marketplace>

3
Manage with /plugin
/plugin

Use Cases

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.

Usage Examples

1

/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.

2

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?

3

/rust-cli-developer Write integration tests for my CLI tool that verify correct output and exit codes for both success and failure scenarios.

View source on GitHub
rustcliclapcommand-lineterminaltuiuxtesting

Security Audits

LicensePassSourceWarnRepositoryPass

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..