One-click install
npx skills add https://github.com/AI-Driven-Highspeed-Development/adhd_framework_v3 --skill cli-dev-ai-driven-highspeed-development
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cli-dev
Source: https://github.com/AI-Driven-Highspeed-Development/adhd_framework_v3/tree/main/modules/dev/instruction_core/data/skills/cli-dev
Command: npx skills add https://github.com/AI-Driven-Highspeed-Development/adhd_framework_v3 --skill cli-dev-ai-driven-highspeed-development

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and assets (resource) components.

What problem does it solve?

CLI development often requires consistent, centralized registration of commands across modules. This skill provides a standardized pattern to register CLI commands through the ADHD Framework's CLIManager, ensuring handlers, arguments, and refresh wiring follow agreed conventions.

Core Features & Use Cases

  • Centralized CLI registration via CLIManager
  • Standard handler signatures (args: argparse.Namespace, returns int)
  • Enforced refresh wiring by calling register_cli() in refresh.py
  • Guidance for creating *_cli.py, registering commands, and understanding the architecture
  • Use case: when adding new CLI commands to a module or updating an existing CLI flow

Quick Start

Create a *_cli.py file, implement a register_cli() function, and wire it through the module's refresh.py to register commands.

Frequently Asked Questions about cli-dev

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

FAQPage Schema
How do I register CLI commands consistently across Python modules?

Register CLI commands consistently across Python modules by using a centralized CLIManager to define handlers and arguments in *_cli.py files, ensuring all modules follow the same command architecture conventions.

What is the required handler signature for Python CLI commands using argparse?

The required handler signature for Python CLI commands using argparse must accept an argparse.Namespace input parameter and return an integer exit code, ensuring standardized command execution and result handling via _print_result.

How do I wire a new CLI command into the ADHD Framework module architecture?

Wire a new CLI command into the ADHD Framework architecture by creating a *_cli.py file with a register_cli() function, then calling that function from the module's refresh.py file to activate the command registration.

Why does my Python CLI command registration fail during module refresh?

Python CLI command registration fails during module refresh if the refresh.py file does not explicitly call register_cli() to connect the *_cli.py definitions to the centralized CLIManager, breaking the command wiring convention.

Can I use argparse for command-line argument parsing within the ADHD Framework?

Yes, you can use argparse for command-line argument parsing within the ADHD Framework, as the centralized CLIManager specifically enforces argparse.Namespace input for handler signatures to process parsed arguments.

What's the best way to standardize Python CLI development patterns across multiple modules?

The best way to standardize Python CLI development patterns across multiple modules is implementing a centralized registration manager that enforces consistent handler signatures, argument parsing via argparse, and mandatory refresh wiring.