skmtcdocs

Authoring generators

Clone, customize, and write SKMTC generators.

Who this is for

You want generator behavior beyond what enrichments expose, or you're writing a new generator from scratch. You'll be reading and writing TypeScript in .skmtc/<project>/<gen-name>/src/.

None of this is required to use SKMTC — if you haven't used it as a consumer yet, start with using/. Authoring makes more sense once you've felt the customization limits, and it's more approachable than it sounds: generators build output with template literals (not ASTs) and compose with each other, so most authoring work is editing recognizable TypeScript. The Authoring generators section of the docs front page shows both ideas in real generator code.

The customization gradient

Use stock          → install + accept defaults
Configure          → enrichments in client.json
Customize behavior → clone + edit source     ← extending starts here
Author new         → write a new generator

Tutorials

Linear walkthroughs to learn by doing.

How-to guides

Recipes for specific problems.

Recipes

Complete worked examples.

Shared resources you'll need

On this page