# Skmtc generator

> Skmtc generator is an open-source agent skill for developer tools. Guides writing and editing Skmtc generators that turn OpenAPI documents into code. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/skmtc/skmtc/tree/main/deno/docs/skills/skmtc-generator
- **Repository:** https://github.com/skmtc/skmtc
- **GitHub stars:** 20
- **License:** Apache-2.0
- **Skill name:** skmtc-generator
- **Collection:** https://github.com/skmtc/skmtc
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-04

## About

This skill helps an agent build or change a Skmtc generator, a package that the engine runs over each model and operation of an OpenAPI document to write application code. It explains the split between the generator entry, projection bases and projections, and how a projection is a tree of small producer classes whose toString() methods emit the target code.

The skill points the agent to existing work before new code is written. It maps common jobs such as merging allOf, resolving references, naming definitions, building imports and handling cycles to the parts of Skmtc that already do them, so the agent writes only what is left. It also gives a step sequence: write the expected output by hand, name the producers, assign each need to an owner, define names and export paths first, then build from the leaves up and generate after each step.

The guidance includes a complexity limit of 10 per function, a reference for the path a generator follows (model or operation), and a bundled complexity measurement script. Work is done in TypeScript, and the skill expects the Skmtc core and TypeScript language packages to be read through their published signatures.

## When your agent uses it

> Write and edit Skmtc generators: packages that turn an OpenAPI document into application code as a tree of producer classes. Use before you write or change any generator source: a new generator, a cloned one, a schema type or an operation kind it does not render yet, names and export paths, enrichments, another generator's output, or an edge case it renders wrongly.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs TypeScript scripts](https://github.com/skmtc/skmtc/tree/HEAD/deno/docs/skills/skmtc-generator)
- [No network calls found in its scripts](https://github.com/skmtc/skmtc/tree/HEAD/deno/docs/skills/skmtc-generator)
- [License: Apache-2.0](https://github.com/skmtc/skmtc/tree/HEAD/deno/docs/skills/skmtc-generator)

## Features

- **Generator architecture guidance:** Explains the entry, projection bases and projections, and when each one applies.
- **Producer class design:** Shows how to split generated code into classes with a constructor and toString().
- **Built-in job lookup:** Maps common tasks such as schema merging and name resolution to existing engine features.
- **Step-by-step workflow:** Lists ordered steps from hand-written output through to a finished generator.
- **Quality checks:** Covers linting, a complexity script with a limit of 10, tests and output type-checking.
- **Path-specific references:** Provides separate reference files for model generators, operation generators, engine use and TypeScript output.

## Good for

- Create a new generator that turns an OpenAPI schema into validator code
- Add a case for a schema type that the generator does not render yet
- Clone an existing Skmtc generator and change its names and export paths
- Build an operation generator that writes client functions for each endpoint
- Check a generator's complexity and lint results before release

## Install

### Claude Code

This skill ships in the `skmtc` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add skmtc/skmtc
/plugin install skmtc@skmtc
```

Or copy only this skill to `~/.claude/skills/skmtc-generator`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/skmtc/skmtc.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/skmtc-generator &&
cp -R "$tmp/deno/docs/skills/skmtc-generator" ~/.claude/skills/skmtc-generator &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/skmtc-generator` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/skmtc-generator` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/skmtc/skmtc.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/skmtc-generator &&
cp -R "$tmp/deno/docs/skills/skmtc-generator" ~/.agents/skills/skmtc-generator &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/skmtc-generator` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/skmtc-generator` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/skmtc/skmtc.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/skmtc-generator &&
cp -R "$tmp/deno/docs/skills/skmtc-generator" ~/.cursor/skills/skmtc-generator &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/skmtc-generator` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/skmtc/skmtc.git --path deno/docs/skills/skmtc-generator
```

Or copy the folder to `~/.gemini/skills/skmtc-generator` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/skmtc-generator`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/skmtc/skmtc.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/skmtc-generator &&
cp -R "$tmp/deno/docs/skills/skmtc-generator" ~/.copilot/skills/skmtc-generator &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/skmtc-generator` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/skmtc/skmtc.git
```

Then copy `skmtc/deno/docs/skills/skmtc-generator` into your agent's skills folder as `skmtc-generator`. Agents that support SKILL.md read one folder per skill.

## FAQ

### When does Skmtc generator trigger?

It applies before you write or change generator source, including new generators, clones, unsupported schema types or operation kinds, names and export paths, enrichments, and edge cases that render wrongly.

### What does Skmtc generator expect as input?

It expects an OpenAPI document to test against and a TypeScript project. Generators are run with the Skmtc CLI and the Deno runtime.

### Does Skmtc generator change generated output directly?

No. The skill says the engine rewrites every generated file on each run, so the generator source is changed rather than its output.

### How do I install Skmtc generator in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/skmtc-generator to use it in all your projects, or to .claude/skills/skmtc-generator in one project. Or install the skmtc plugin, which includes it: /plugin marketplace add skmtc/skmtc, then /plugin install skmtc@skmtc.

### Does Skmtc generator run scripts?

Yes. It runs TypeScript scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Skmtc generator?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Skmtc generator?

The closest alternatives to Skmtc generator are Skmtc architecture, Skmtc lang erlang, Skmtc lang swift, Skmtc lang go and Skmtc CLI.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Skmtc architecture](https://ai-powered.com/skills/skmtc-architecture): Skmtc architecture is an open-source agent skill for developer tools.
- [Skmtc lang erlang](https://ai-powered.com/skills/skmtc-lang-erlang): Skmtc lang erlang is an open-source agent skill for developer tools.
- [Skmtc lang swift](https://ai-powered.com/skills/skmtc-lang-swift): Skmtc lang swift is an open-source agent skill for developer tools.
- [Skmtc lang go](https://ai-powered.com/skills/skmtc-lang-go): Skmtc lang go is an open-source agent skill for developer tools.
- [Skmtc CLI](https://ai-powered.com/skills/skmtc-cli): Skmtc CLI is an open-source agent skill for developer tools.
- [Skmtc lang scala](https://ai-powered.com/skills/skmtc-lang-scala): Skmtc lang scala is an open-source agent skill for developer tools.
- [Skmtc lang ruby](https://ai-powered.com/skills/skmtc-lang-ruby): Skmtc lang ruby is an open-source agent skill for developer tools.
- [Skmtc lang csharp](https://ai-powered.com/skills/skmtc-lang-csharp): Skmtc lang csharp is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/skmtc-generator-skmtc
