skmtc-generator

Author and customize SKMTC generators while preserving framework contracts.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers author and customize SKMTC generators without violating the framework's producer, dependency, caching, and rendering contracts.

Core Features & Use Cases

  • Generator Authoring: Create and edit Projection classes, Snippets, transform functions, enrichment schemas, and language-specific output layers.
  • Framework Guidance: Apply SKMTC's mapping model, self-provisioning dependencies, memoized Definitions, File placement rules, variants, and synchronous generation constraints.
  • Customization Workflows: Clone stock generators, add field types, change export paths, swap peer generators, add enrichment options, compose generators, and build accumulators or barrels.
  • Use Case: When customizing a cloned form or query generator, use the Skill to identify the correct source seam, compose peer outputs through insertion APIs, route schemas consistently, and verify the generated artifacts.

Quick Start

Use the skmtc-generator skill to author or customize the requested generator, following the appropriate scaffolds, task card, and verification checklist.

Frequently Asked Questions about skmtc-generator

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

FAQPage Schema
How do I customize an OpenAPI TypeScript generator without breaking caching contracts?

To customize an OpenAPI TypeScript generator safely, you must preserve the framework's producer, dependency, caching, and rendering contracts. This involves using register or insert APIs for all generated output and routing schemas consistently through typed enrichment schemas.

What is a Projection class in OpenAPI code generation?

A Projection class in OpenAPI code generation is a structural component used to map and transform schemas into language-specific output layers. It works alongside Snippets and enrichment schemas to ensure typed schema routing and synchronous generation.

Does SKMTC generator code need to be synchronous and Deno-compatible?

Yes, SKMTC generator code requires synchronous Deno-compatible execution to function correctly. This constraint ensures reliable, composable generator authoring and maintains the framework's self-provisioning dependencies and memoized Definitions.

How do I add custom schema field types to an existing TypeScript generator?

To add custom schema field types to an existing TypeScript generator, you should clone the stock generator and edit its Projections and Snippets. This workflow allows you to introduce new field types while maintaining the required framework contracts.

What's the best way to compose multiple OpenAPI generators and manage output paths?

The best way to compose multiple OpenAPI generators and manage output paths is by using insertion APIs and accumulators or barrels. This approach ensures peer outputs are composed correctly and file placement rules are followed without violating rendering contracts.

Why does my SKMTC generator fail when swapping peer dependencies?

Swapping peer dependencies in an SKMTC generator fails if you bypass the framework's self-provisioning dependency contracts. You must use the designated register or insert APIs to properly declare and manage all generated dependencies during synchronous generation.