cli-entity-creator

Generate CLI command scaffolds for new domain entities in ores.cli.

25|5|Updated Jun 15, 2024
One-click install
npx skills add https://github.com/OreStudio/OreStudio --skill cli-entity-creator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cli-entity-creator
Source: https://github.com/OreStudio/OreStudio/tree/main/.claude/skills/cli-entity-creator
Command: npx skills add https://github.com/OreStudio/OreStudio --skill cli-entity-creator

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a standardized way to scaffold and wire up end-to-end CLI support for new domain entities within the ores.cli project, dramatically reducing boilerplate and ensuring consistent patterns across parsing, options, and application logic.

Core Features & Use Cases

  • Code generation for entity enum values, parsers, add/delete options, and command handlers.
  • Standardized workflow for list, export, add, and delete operations across multiple entities.
  • Use Case: When introducing a new domain entity, generate the complete CLI scaffold ready for review and integration.

Quick Start

  1. Define the new entity requirements, then run the scaffold/bootstrap process to generate the initial CLI skeleton.
  2. Build the project, verify help output, and adjust options as needed.
  3. Proceed through the PR phases to complete the integration.

Frequently Asked Questions about cli-entity-creator

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

FAQPage Schema
How do I auto-generate CLI commands for domain entities?

Auto-generating CLI commands for domain entities involves running a scaffold process that creates parser, option, and command handler code, ensuring consistent patterns across list, add, delete, and export operations.

What is the best way to reduce boilerplate when adding new CLI commands?

The best way to reduce boilerplate when adding new CLI commands is to use a standardized scaffolding process that generates entity enums, parsers, and command handlers end-to-end for immediate review and integration.

How do I scaffold list, add, delete, and export operations for a new entity?

Scaffolding list, add, delete, and export operations for a new entity requires applying structured options and application logic across multiple phases to wire up complete CLI support for domain entities.

Do I need to manually wire parsers and options when adding domain entities?

You do not need to manually wire parsers and options when adding domain entities; the automated code generation creates the necessary add/delete options, parsers, and command handlers across all phases.

What are the steps to integrate auto-generated CLI commands into a project?

Integrating auto-generated CLI commands requires defining entity requirements, running the bootstrap process to generate the skeleton, building the project to verify help output, and proceeding through PR phases for final integration.