skmtc-generator-v2

Author and customize SKMTC generators for OpenAPI or GraphQL output.

19|Updated Aug 27, 2025
One-click install
npx skills add https://github.com/skmtc/skmtc --skill skmtc-generator-v2
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: skmtc-generator-v2
Source: https://github.com/skmtc/skmtc/tree/main/deno/docs/skills/skmtc-generator-v2
Command: npx skills add https://github.com/skmtc/skmtc --skill skmtc-generator-v2

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers author and customize SKMTC code generators without violating the framework's object-tree generation model, dependency guarantees, rendering lifecycle, or generator identity rules.

Core Features & Use Cases

  • Generator Authoring: Build Projection classes, Snippets, routers, transform functions, enrichment schemas, and generator entry points.
  • Generator Customization: Clone stock generators and change output names, export paths, HTTP layers, field handling, or enrichment options.
  • Lifecycle Guidance: Apply the parse, generate, and render phases correctly, keeping construction stateful and rendering pure.
  • Dependency Composition: Declare model and operation dependencies through the engine so files, imports, ordering, caching, and deduplication remain correct.
  • Use Case: Create a TypeScript generator that emits validated models from OpenAPI schemas, adds configurable enrichments, and composes shared generated definitions without manual file management.

Quick Start

Use the skmtc-generator-v2 skill to author a generator that emits TypeScript models from an OpenAPI schema and verify its generated output.

Frequently Asked Questions about skmtc-generator-v2

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

FAQPage Schema
How do I generate TypeScript models from an OpenAPI schema without breaking dependency ordering?

To generate TypeScript models from an OpenAPI schema safely, declare model and operation dependencies through the engine so file imports, ordering, caching, and deduplication remain correct without manual file management.

How does object-tree composition work when authoring custom OpenAPI code generators?

Object-tree composition in code generation requires constructing stateful Projection classes and Snippets at runtime, then performing pure rendering to ensure engine-managed insertion, caching, and dependency settlement are preserved.

Can I clone a stock generator to change export paths and HTTP layers for GraphQL output?

Yes, you can clone stock generators to customize output names, export paths, HTTP layers, field handling, and enrichment options for GraphQL or OpenAPI output while preserving the original generator identity and lifecycle.

What's the best way to add configurable enrichments to generated TypeScript definitions?

The best way to add enrichments is by defining enrichment schemas and transform functions during constructor-time declaration, ensuring the generated TypeScript definitions are composed and validated through the engine's single schema dispatch router.

Why does my generated code fail type-checking after modifying a Projection class?

Generated code fails type-checking when Projection class modifications violate the framework's lifecycle or rendering purity, requiring mechanical type-checking, linting, and generated-output verification to isolate the schema transformation error.

Do I need a single schema dispatch router for OpenAPI schema transformations?

Yes, a single schema dispatch router is required to manage schema transformations, ensuring that Stringable composition, dependency settlement, and engine-managed caching operate correctly across the generated output.