Skip to content
Skill

Skmtc lang python

Guides an agent writing Python code for Skmtc generators with @skmtc/lang-python

Skmtc lang python is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
20
Last commit
License
Apache-2.0
Listing updated

Similar skills

About Skmtc lang python

This skill is the Python language layer for building Skmtc code generators. It explains how to declare the language through projection base factories, how export paths turn into Python module paths, and how imports, including deferred imports for circular references, are registered per file.

It also documents the identifier kinds (class, type alias, variable, function and async function), the head and value render model, and the producers used for arguments, parameters, dictionaries, subscripts and docstrings. Indentation rules are covered so that generated blocks nest correctly.

The skill lists common name collisions and failure messages with fixes. It is meant to be used alongside the skmtc-generator skill whenever a generator writes Python, and the generated code targets Python 3.12 or later. It requires the Skmtc toolchain and a skmtc.config.json file.

When your agent uses it

The Python target-language layer for Skmtc generators (@skmtc/lang-python). It covers the projection base factories, PySnippet, the register shapes with deferred imports, the five identifier kinds, relative imports from export paths, the head and value render model, and the producers for classes, functions, bodies and indentation. Use ALONGSIDE skmtc-generator whenever a generator writes Python.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (11 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

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

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

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

Claude Code docs on skills

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

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

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

Codex docs on skills

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

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

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

Cursor docs on skills

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

gemini skills install https://github.com/skmtc/skmtc.git --path deno/docs/skills/skmtc-lang-python

Or copy the folder to ~/.gemini/skills/skmtc-lang-python yourself.

Gemini CLI docs on skills

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

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

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

VS Code docs on skills

Get the folder:

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

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

The SKILL.md format

What it does

Projection base factories
Covers the factories that create Python model and operation projections for a generator.
Export path to module mapping
Explains how folder and file names become importable Python module paths.
Imports and deferred imports
Describes registering standard, project and cyclic imports per generated file.
Identifier and render model
Covers class, type alias, variable and function kinds and how heads and values render.
Indentation and producers
Shows helpers for bodies, parameters, subscripts, calls and docstrings.
Name collision troubleshooting
Lists common naming faults and error messages with recommended fixes.

Good for

  • Write a generator that turns an OpenAPI schema into Pydantic models
  • Generate an httpx client with one class per API resource
  • Fix a circular import error in generated Python modules
  • Name generated Python classes and fields safely from schema keys

Skmtc lang python FAQ

When should Skmtc lang python be used?

Whenever a Skmtc generator writes Python, and it is meant to be used alongside the skmtc-generator skill.

Which Python version does the generated code target?

Generated code targets Python 3.12 or later.

What setting does Skmtc lang python require in the project?

It says to set settings.generatedSuffix to an empty string in skmtc.config.json so files are not read as packages with a dotted name.

What examples does Skmtc lang python point to?

It names @skmtc/gen-pydantic as a model generator example and @skmtc/gen-httpx-pydantic as an SDK example.

How do I install Skmtc lang python in Claude Code?

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

Does Skmtc lang python 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 lang python?

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 lang python?

The closest alternatives to Skmtc lang python are Skmtc lang swift, Skmtc lang scala, Skmtc lang go, Skmtc lang ruby and Skmtc lang csharp.

Where this comes from

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

More from skmtc/skmtc

  1. Guides an agent to write, restructure, or review docs by content type and audience

    • Open source
    • 20 GitHub stars
    • Developer tools
  2. Explains Skmtc's codegen engine so agents can build infrastructure around it

    • Open source
    • 20 GitHub stars
    • Developer tools
  3. Lets an agent run the Skmtc CLI to generate code from OpenAPI documents

    • Open source
    • 20 GitHub stars
    • Developer tools
  4. Walks an agent through diagnosing failed Skmtc generation runs using manifest and parse

    • Open source
    • 20 GitHub stars
    • Developer tools
  5. Guides writing and editing Skmtc generators that turn OpenAPI documents into code

    • Open source
    • 20 GitHub stars
    • Developer tools
  6. Guides an agent writing C# code in Skmtc generators via @skmtc/lang-csharp

    • Open source
    • 20 GitHub stars
    • Developer tools