new-cli-command

Community

Add a custom CLI command to Forge Starter

Authorweiloon1234
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill provides a standardized approach to scaffold and wire up a new CLI command inside Forge Starter, ensuring consistent entry points, registration, and argument parsing.

Core Features & Use Cases

  • CLI scaffolding: generates a new command file and module wiring with a consistent id and clap-based args.
  • AppContext integration: ensures the command runs within Forge's AppContext (database, email, jobs, services) and registers in the command registry.
  • Standardized workflow: enforces a thin handler pattern that delegates work to services and follows the recommended error handling.

Quick Start

Run the scaffolder to create a new CLI command and wire it into the registry by executing PROCESS=cli cargo run -- make:command --name ImportUsers

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: new-cli-command
Download link: https://github.com/weiloon1234/Forge-Starter/archive/main.zip#new-cli-command

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.