# Skmtc architecture

> Skmtc architecture is an open-source agent skill for developer tools. Explains Skmtc's codegen engine so agents can build infrastructure around it. 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-architecture
- **Repository:** https://github.com/skmtc/skmtc
- **GitHub stars:** 20
- **License:** Apache-2.0
- **Skill name:** skmtc-architecture
- **Collection:** https://github.com/skmtc/skmtc
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-04

## About

This skill gives an agent a system-level model of Skmtc, an OpenAPI code generator, covering its three-phase pipeline of parse, generate and render, and how the engine runs inside a sandboxed Deno Worker. It describes how generators coordinate through memoized cache keys rather than a dependency graph, and how the run manifest records results, parse issues and tracing identifiers.

It also documents the attribution and generation-map subsystem used for tracing generated code back to schema locations, the package layout across the core, worker, CLI, server and MCP hosts, and the Deno and JSR platform. The guidance targets platform work such as hosted generation APIs, registries and provenance tooling, and points to sibling skills for writing generators, running the CLI or debugging runs.

## When your agent uses it

> Understand what Skmtc is, how its engine works, and the architectural invariants — for agents building or extending infrastructure *around* Skmtc rather than authoring generators or running the CLI. Covers the three-phase pipeline, the host/Worker boundary, cross-generator coordination, the manifest, the attribution / gen-maps (provenance) subsystem, the package graph, the Deno and JSR platform, and the design decisions that make Skmtc behave unlike a typical codegen tool. Use this skill when the user asks "what is Skmtc", "how does the Skmtc engine work", "explain the Skmtc architecture", or is building platform infrastructure around Skmtc — a hosted generate API, a schema or generator registry, tracing or provenance tooling, a web app or SaaS that wraps the engine, or platform-level CI integration. This skill is the system mental model. It does NOT cover authoring generators (→ skmtc-generator), running CLI commands (→ skmtc-cli), or diagnosing broken runs (→ skmtc-debug).

## What it can access

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

- [Instructions only, no scripts](https://github.com/skmtc/skmtc/tree/HEAD/deno/docs/skills/skmtc-architecture)
- [Asks for: Bash, Read, Glob, Grep, Write, Edit](https://github.com/skmtc/skmtc/blob/HEAD/deno/docs/skills/skmtc-architecture/SKILL.md)
- [License: Apache-2.0](https://github.com/skmtc/skmtc/tree/HEAD/deno/docs/skills/skmtc-architecture)

## Features

- **Three-phase pipeline:** Covers how a run moves from schema parsing through generation to rendering, with immutable hand-offs between phases.
- **Worker sandbox boundary:** Explains the postMessage contract between host and the Deno Worker and the permissions it runs under.
- **Cross-generator coordination:** Describes memoized caching by name and export path, so output does not depend on generator order.
- **Run manifest and tracing:** Details the manifest structure, trace identifiers and how run status derives from parse issues.
- **Provenance subsystem:** Covers sidecar files and generation maps that link generated code to schema locations and generators.
- **Platform integration guidance:** Lists what the engine provides versus what a hosted service must build, such as auth, persistence and caching.

## Good for

- Design a hosted API that generates code from OpenAPI documents
- Build a registry for publishing and discovering Skmtc generators
- Add provenance tracing from generated code back to its schema
- Wire Skmtc run manifests into an observability backend
- Plan caching of generation results keyed on input hashes

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/skmtc-architecture` to use it in all your projects:

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

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

### Codex

Copy the skill folder to `~/.agents/skills/skmtc-architecture` 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-architecture &&
cp -R "$tmp/deno/docs/skills/skmtc-architecture" ~/.agents/skills/skmtc-architecture &&
rm -rf "$tmp"
```

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

### Cursor

Copy the skill folder to `~/.cursor/skills/skmtc-architecture` 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-architecture &&
cp -R "$tmp/deno/docs/skills/skmtc-architecture" ~/.cursor/skills/skmtc-architecture &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/skmtc-architecture` 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-architecture
```

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

### VS Code

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

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

For one project only, put the folder in `.github/skills/skmtc-architecture` 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-architecture` into your agent's skills folder as `skmtc-architecture`. Agents that support SKILL.md read one folder per skill.

## FAQ

### When should an agent load Skmtc architecture?

When the user asks what Skmtc is or how its engine works, or is building platform infrastructure around it such as a hosted generate API, registry, provenance tooling or CI integration.

### Does Skmtc architecture cover writing generators or running the CLI?

No. It defers generator authoring to the skmtc-generator skill, CLI operation to skmtc-cli and broken-run diagnosis to skmtc-debug.

### Does the engine cache results between runs?

No. Each run is cold, with one Worker spawned per generate call, and the skill recommends caching the whole result outside the engine keyed on input hashes.

### Is the skill a Claude Code plugin?

No, it is a plain skill folder with a SKILL.md and no scripts, and it lists allowed tools such as Bash, Read, Glob, Grep, Write and Edit.

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

Copy the skill folder from GitHub to ~/.claude/skills/skmtc-architecture to use it in all your projects, or to .claude/skills/skmtc-architecture in one project.

### Does Skmtc architecture run scripts?

No. It is instructions only, with no 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 architecture?

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 architecture?

The closest alternatives to Skmtc architecture are Skmtc generator, Skmtc debug, Skmtc lang scala, Skmtc lang erlang and Skmtc lang rust.

## Where this comes from

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

## Alternatives

- [Skmtc generator](https://ai-powered.com/skills/skmtc-generator-skmtc): Skmtc generator is an open-source agent skill for developer tools.
- [Skmtc debug](https://ai-powered.com/skills/skmtc-debug): Skmtc debug 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 erlang](https://ai-powered.com/skills/skmtc-lang-erlang): Skmtc lang erlang is an open-source agent skill for developer tools.
- [Skmtc lang rust](https://ai-powered.com/skills/skmtc-lang-rust): Skmtc lang rust 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 CLI](https://ai-powered.com/skills/skmtc-cli): Skmtc CLI 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.

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