factory-generator

Generate command, skill, and agent files from parsed user inputs.

Updated Dec 2, 2025
One-click install
npx skills add https://github.com/m16khb/claude-integration --skill factory-generator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: factory-generator
Source: https://github.com/m16khb/claude-integration/tree/main/plugins/automation-tools/skills/factory-generator
Command: npx skills add https://github.com/m16khb/claude-integration --skill factory-generator

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill centralizes the core logic for generating components, including argument parsing, kebab-case validation, path building, and file creation, reducing manual steps and potential human error.

Core Features & Use Cases

  • Argument parsing and validation: Interprets inputs to determine type (command, skill, agent) and enforces kebab-case naming.
  • Deterministic file creation: Creates standardized files at predictable paths (e.g., {base_path}/commands/{name}.md, {base_path}/skills/{name}/SKILL.md, {base_path}/agents/{name}.md).
  • Name validation & routing: Ensures names conform to constraints and routes to the correct directory structure.
  • Use Case: Generate a new command named "build-tool" with proper structure and metadata.

Quick Start

Please provide inputs describing the type and name of the component to generate, along with a brief purpose. For example: generate a command named "build-tool" with purpose "build automation for CI pipelines".

Frequently Asked Questions about factory-generator

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

FAQPage Schema
How do I automate component generation with consistent naming and file structure?

Component generation automates creating standardized files across your project by parsing inputs, validating kebab-case naming, and routing to correct directories (commands, skills, agents). This eliminates manual file creation and ensures naming consistency.

What does kebab-case validation do in component generation?

Kebab-case validation enforces lowercase, hyphen-separated naming conventions for components. It prevents invalid names and ensures your component identifiers remain machine-readable and consistent across routing and file paths.

How do I generate a new command, skill, or agent from a single input?

Provide the component type, name in kebab-case, and purpose. The generator parses your input, validates the name, constructs the correct path, and creates standardized files with proper metadata at predictable locations.

Can I use component generation to reduce errors when creating multiple components?

Yes. Centralized generation logic eliminates manual steps, enforces naming rules, and creates deterministic file structures. This reduces human error and standardizes metadata collection across all new components.

What information does the generator collect before creating component files?

The generator collects component type, kebab-case name, purpose, location (base path), model selection, and tools. This structured input guides file creation and ensures metadata completeness.