add-command

Scaffold and wire a new CLI command into the nucleo framework.

2|Updated Mar 28, 2026
One-click install
npx skills add https://github.com/mateonunez/nucleo --skill add-command-mateonunez
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-command
Source: https://github.com/mateonunez/nucleo/tree/main/.claude/skills/add-command
Command: npx skills add https://github.com/mateonunez/nucleo --skill add-command-mateonunez

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Creating and wiring a new CLI command within the nucleo framework is manual and error-prone, and this guide helps automate scaffolding, registration, and dispatch wiring.

Core Features & Use Cases

  • Scaffold a new command file in the commands directory following existing patterns (for example ping.rs or echo.rs)
  • Register the new command in the commands module and extend the Command enum and main dispatch
  • Demonstrate a typical workflow: add a new command that handles a simple GET-like action or a POST-like action

Quick Start

Follow the steps to scaffold and wire a new command into the nucleo CLI.

Frequently Asked Questions about add-command

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a new CLI command to a Rust framework?

To add a new CLI command to nucleo, you scaffold a command file in the commands directory, register it in the commands module, and extend the Command enum and main dispatch wiring.

What is command scaffolding in nucleo?

Command scaffolding in nucleo automates creating a new command file following existing patterns, guiding registration in the commands module, and extending the Command enum and main dispatch wiring.

How do I register a new command in the nucleo CLI module?

You register a new command in the nucleo CLI by adding it to the commands module, extending the Command enum, and updating the main dispatch wiring to route inputs to your new command file.

Does adding a command to nucleo require manual file creation?

Adding a command to nucleo does not require manual file creation from scratch; it automates scaffolding a new command file in the commands directory by following existing patterns like ping.rs or echo.rs.

What's the best way to wire a GET-like action into a Rust CLI?

The best way to wire a GET-like action into a Rust CLI like nucleo is to scaffold a new command file following existing patterns, then register it in the commands module and extend the main dispatch.

Do I need a SKILL.md to scaffold a nucleo CLI command?

You need a SKILL.md file with a name and description to scaffold a nucleo CLI command, along with a Markdown body containing actionable instructions and optional scripts to augment behavior.