
Skmtc lang csharp
Guides an agent writing C# code in Skmtc generators via @skmtc/lang-csharp
Skmtc lang csharp 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 csharp
This skill is a reference for the C# target-language layer of Skmtc, a generator toolkit. It explains how a generator declares C# as its output language, how projection base factories and snippets are set up, and how namespaces, imports and identifier kinds such as records, enums, classes, interfaces and methods map onto files. It also covers how declarations, comments, attributes and nullable types are rendered, along with name and literal helpers and common compiler errors.
The skill is meant to be used alongside a general generator skill. It points to two worked example generators, one for System.Text.Json models and one for an HttpClient-based SDK, and describes the conventions those examples follow, based on the Square .NET SDK. Generated code is expected to target C# 12 or later on .NET 9 or later.
It is intended for developers who write or modify generators that emit C# and expects familiarity with the Skmtc generator model and TypeScript.
When your agent uses it
The C# target-language layer for Skmtc generators (@skmtc/lang-csharp). It covers the projection base factories, CsSnippet, the register shape with namespace imports, the five identifier kinds, one folder as one namespace, the head and value render model with the CsDeclared fields, methods as members of a class, nullable types, and the producers for records, enums, methods, blocks and names. Use ALONGSIDE skmtc-generator whenever a generator writes C#.
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 (26 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-csharp 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-csharp &&
cp -R "$tmp/deno/docs/skills/skmtc-lang-csharp" ~/.claude/skills/skmtc-lang-csharp &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/skmtc-lang-csharp inside it instead.
Copy the skill folder to ~/.agents/skills/skmtc-lang-csharp 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-csharp &&
cp -R "$tmp/deno/docs/skills/skmtc-lang-csharp" ~/.agents/skills/skmtc-lang-csharp &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/skmtc-lang-csharp inside it instead.
Copy the skill folder to ~/.cursor/skills/skmtc-lang-csharp 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-csharp &&
cp -R "$tmp/deno/docs/skills/skmtc-lang-csharp" ~/.cursor/skills/skmtc-lang-csharp &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/skmtc-lang-csharp inside it instead.
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-csharpOr copy the folder to ~/.gemini/skills/skmtc-lang-csharp yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/skmtc-lang-csharp:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/skmtc/skmtc.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/skmtc-lang-csharp &&
cp -R "$tmp/deno/docs/skills/skmtc-lang-csharp" ~/.copilot/skills/skmtc-lang-csharp &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/skmtc-lang-csharp inside it instead.
Get the folder:
git clone --depth 1 https://github.com/skmtc/skmtc.gitThen copy skmtc/deno/docs/skills/skmtc-lang-csharp into your agent's skills folder as skmtc-lang-csharp. Agents that support SKILL.md read one folder per skill.
What it does
- Language declaration setup
- Shows how a generator's base file declares C# through projection factories and snippets.
- Namespace and import rules
- Explains how folders map to namespaces and how imports are registered per file.
- Declaration kinds
- Describes records, enums, classes, interfaces and methods and how each is rendered.
- Nullable and JSON handling
- Covers nullable reference types and System.Text.Json attribute choices for optional fields.
- Naming and literal helpers
- Documents helpers that convert names to Pascal or camel case and escape string literals.
- Troubleshooting compiler errors
- Lists common C# compiler errors from generated code with suggested fixes.
Good for
- Write a generator that emits C# record models from an OpenAPI document
- Add a new C# client method to an existing Skmtc SDK generator
- Fix a CS0246 missing namespace error in generated C# files
- Configure nullable and required properties for generated System.Text.Json models
Skmtc lang csharp FAQ
Does Skmtc lang csharp need to be used with another skill?
Yes. It says to read skmtc-generator first and to use this skill alongside it whenever a generator writes C#.
Which .NET and C# versions does the generated code target?
Generated code targets C# 12 or later on .NET 9 or later.
Does the skill include scripts or tools?
No scripts are included. It is a single SKILL.md reference file.
How do I install Skmtc lang csharp in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/skmtc-lang-csharp to use it in all your projects, or to .claude/skills/skmtc-lang-csharp in one project.
Does Skmtc lang csharp 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 csharp?
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 csharp?
The closest alternatives to Skmtc lang csharp are Skmtc lang swift, Skmtc lang scala, Skmtc lang go, Skmtc lang kotlin and Skmtc lang ruby.
Where this comes from
- Description: from the skill's own SKILL.md.
More from skmtc/skmtc

Guides an agent to write, restructure, or review docs by content type and audience
- Open source
- 20 GitHub stars
- Developer tools

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

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

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

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

Guides agents writing Erlang code for Skmtc generators targeting OTP 27
- Open source
- 20 GitHub stars
- Developer tools

