One-click install
npx skills add https://github.com/rleroi/catspec --skill cat-transpiler
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cat-transpiler
Source: https://github.com/rleroi/catspec/tree/main/skills/cat-transpiler
Command: npx skills add https://github.com/rleroi/catspec --skill cat-transpiler

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manually translating human-readable application specifications into production-ready code is time-consuming, error-prone, and leads to constant drift between documented requirements and actual codebases. This skill automates the entire workflow, treating CaT (Code as Text) spec files as the single source of truth and eliminating manual translation work.

Core Features & Use Cases

  • Spec Validation: Scans all spec files in the project's bacon/ directory for errors like duplicate model definitions, missing required fields, and unresolved references before any code is generated, catching issues early in the workflow.
  • Spec Enrichment: Asks targeted clarification questions for ambiguous requirements and writes answers directly into the spec files, so no vague or missing specifications slip through to code generation.
  • End-to-End Transpilation: Generates idiomatic, production-ready code aligned to the project's declared tech stack, including database migrations, UI components, API routes, and updated dependency lists, then verifies the build passes.
  • Use Case: For a SaaS team maintaining their application logic in bacon/ spec files, use this skill to automatically generate the full auth flow, user profile schema, and dashboard UI from the spec, reducing development time for new features by 70% and eliminating spec/code drift.

Quick Start

Use the cat-transpiler skill to validate, enrich, and transpile all CaT spec files in your project's bacon/ directory into working code for your declared tech stack.

Frequently Asked Questions about cat-transpiler

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

FAQPage Schema
How do I generate code from spec files automatically?

Yes, spec validation scans all files in the bacon/ directory for duplicate model definitions, missing required fields, and unresolved references before any code is generated, catching issues early in the workflow.

How do I prevent spec and code drift in my development workflow?

To prevent spec and code drift, use this Skill to treat CaT spec files as the single source of truth and automate the end-to-end translation into application code, eliminating manual coding and synchronization errors.

Can I automatically generate database migrations and UI components from specifications?

Yes, you can automatically generate database migrations, UI components, API routes, and updated dependency lists from your specifications, producing production-ready code and verifying the build passes.

What is the best way to handle ambiguous requirements before transpiling specs?

The best way to handle ambiguous requirements is to use the spec enrichment feature, which asks targeted clarification questions and writes answers directly into the spec files before code generation begins.

Does spec-driven transpilation work for a SaaS team's full auth flow and dashboard UI?

Yes, spec-driven transpilation works for SaaS teams by automatically generating the full auth flow, user profile schema, and dashboard UI from bacon/ spec files, reducing development time and eliminating drift.