dev-cli-development
OfficialExtend AIDB's CLI, streamline your workflows.
Authorai-debugger-inc
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Developing new command-line interface (CLI) tools or extending existing ones can be complex, requiring knowledge of framework patterns, service architecture, and proper error handling. This Skill provides a comprehensive guide to developing AIDB's dev-cli commands and services using the Click framework, ensuring consistency, reusability, and robust error management. It helps developers quickly build powerful CLI tools.
Core Features & Use Cases
- Command & Service Development: Learn to create new CLI commands and encapsulate business logic in reusable services.
- Click Framework Best Practices: Master decorator stacking, custom parameter types, and context injection for robust CLI design.
- Unified Error Handling: Implement consistent error management across all CLI commands using
@handle_exceptions. - Use Case: When you need to automate a repetitive development task, such as building all language adapters or running a specific test suite with custom parameters, use this skill to create a new
dev-clicommand that simplifies the operation for yourself and other developers.
Quick Start
Show me how to add a new dev-cli command with an option and register it.
Dependency Matrix
Required Modules
None requiredComponents
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: dev-cli-development Download link: https://github.com/ai-debugger-inc/aidb/archive/main.zip#dev-cli-development Please download this .zip file, extract it, and install it in the .claude/skills/ directory.