By skmtc
Skills for authoring Skmtc generators, published from the same commit as the engine they describe.
npx claudepluginhub skmtc/skmtcAuthor Skmtc generators — derive application code from an OpenAPI document treated as a domain model.
Run the Skmtc CLI: scaffold projects, install generators from JSR, configure schema sources and enrichments, and generate code from an OpenAPI or GraphQL schema.
7-day visitors to each marketplace page
Copy this prompt into your coding agent:
Set up Skmtc in this project. Skmtc generates TypeScript code from an OpenAPI document.
1. Install the CLI: curl -fsSL https://skmtc.dev/install | sh
On Windows, in PowerShell: irm https://skmtc.dev/install.ps1 | iex
Then run skmtc --version. It must print a version.
2. If you support skills, run: npx skills add skmtc/skmtc --skill skmtc-cli skmtc-generator --yes
3. Find the OpenAPI document of this project. If you cannot find one, ask me for its path or URL. Ask me which generators I want. https://jsr.io/@skmtc lists them.
4. From the project root, run:
skmtc init <project> <basePath>
skmtc install <generators> <project>
skmtc generate <project> <schema> --save
<project> is a short name in kebab case. <basePath> is the folder that the "@/" import alias of this project points to, such as src. Generated files import each other through that alias. You can leave <basePath> out when a tsconfig or deno.json states the alias: init then uses its folder. If init or skmtc doctor warns that basePath and the alias differ, or the project has no such alias, ask me before you change either. --save stores the schema in the project config, so later runs are skmtc generate <project>.
5. Add a note to AGENTS.md, and create the file if needed: before Skmtc work, run skmtc agent-context --json, then read the guide topic for the job with skmtc guide <topic>. To write or change a generator, follow the skmtc-generator skill. Do not edit a generated file. Change the settings or the generator, then run skmtc generate again.
If a command fails, run skmtc doctor and show me its report. Do not edit .skmtc/<project>/deno.json, delete a lockfile or change Deno's minimum dependency age to get past an error.
The prompt installs the CLI and the skills, generates code from your OpenAPI
document, and adds a note to AGENTS.md that sends each later session to
skmtc agent-context and to the guide that the CLI carries (skmtc guide).
The same path by hand: install the CLI, then run three commands.
macOS and Linux:
curl -fsSL https://skmtc.dev/install | sh
Windows (PowerShell):
irm https://skmtc.dev/install.ps1 | iex
This installs the latest skmtc CLI, bootstrapping Deno
(its runtime) automatically if it isn't already installed. To pin a specific
version on macOS and Linux, set SKMTC_VERSION for sh:
curl -fsSL https://skmtc.dev/install | SKMTC_VERSION=0.9.26 sh
On Windows, set it in PowerShell:
$env:SKMTC_VERSION = '0.9.26'; irm https://skmtc.dev/install.ps1 | iex
Remove-Item Env:SKMTC_VERSION # otherwise the pin stays set in this window
On Windows, a project formatter and linked-repository detection still run
through sh, which Git for Windows
provides. Run skmtc from Git Bash, or add Git's usr\bin folder to PATH.
--typecheck does not work on Windows yet, and can report a pass without
checking anything (#353). Run tsc
yourself instead.
# Create a project: its name, and the folder for generated code
skmtc init petstore src/generated
# Add a generator from JSR
skmtc install @skmtc/gen-zod petstore
# Generate from an OpenAPI document: a URL or a local path.
# --save stores it, so the next run is `skmtc generate petstore`.
skmtc generate petstore https://petstore3.swagger.io/api/v3/openapi.json --save
The generated files are in src/generated/. They import each other through
the @/ alias, so in an app the folder you give to init is the one that
alias points to. When a tsconfig or a deno.json states the alias, init
reads it: leave the folder out and it uses the right one, and
skmtc doctor reports a mismatch.
Your first generation
explains each step.
Anthropic example skills
Anthropic's Claude Code plugins, installed from the claude-plugins-official repository
Ultra-compressed communication mode. Shortens prose while preserving technical terms, code, commands, and exact errors.