Skip to content
Skill

Skmtc lang ruby

Guides an AI agent writing Ruby code for Skmtc generators using @skmtc/lang-ruby

Skmtc lang ruby 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 ruby

This skill is the Ruby target-language reference for building Skmtc code generators. It explains how generated Ruby is organized: folders become nested modules, each file declares its constants and loads other files through autoload, and required libraries are declared in the file header. It covers the base factories for model, operation and index projections, the four identifier kinds, and the head and value render model used when writing class, module and method declarations.

The bulk of the document is a catalogue of producer classes that render Ruby syntax, such as calls, blocks, hashes, path templates, nil-safe reads, YARD comment tags and name converters for snake case, constant and member names. It also lists common failure messages with their fixes, and describes the conventions of a reference Ruby SDK that the generated style follows, including where the Skmtc output differs from it.

The skill is meant to be read alongside the generator skill. It assumes a TypeScript project using the Skmtc packages, and it describes Ruby 3.2 or later as the target runtime for the generated code.

When your agent uses it

The Ruby target-language layer for Skmtc generators (@skmtc/lang-ruby). It covers the projection base factories, RubySnippet, the register shape with requires and autoloads, the four identifier kinds, one folder as one module, the head and value render model, methods as members of a class, values that can be nil, and the producers for bodies, methods, calls, blocks, hashes, paths, constants, YARD tags and names. Use ALONGSIDE skmtc-generator whenever a generator writes Ruby.

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-ruby 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-ruby &&
cp -R "$tmp/deno/docs/skills/skmtc-lang-ruby" ~/.claude/skills/skmtc-lang-ruby &&
rm -rf "$tmp"

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

Claude Code docs on skills

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

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

Codex docs on skills

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

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

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

Gemini CLI docs on skills

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

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

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

The SKILL.md format

What it does

Project module layout
Explains how folders map to nested Ruby modules and how constants are referenced across them.
Autoload and require registration
Covers how files declare required libraries and autoload entries to handle cyclic references.
Declaration and value rendering
Describes how class, module, constant and method heads pair with their rendered bodies.
Syntax producer catalogue
Lists producers for calls, blocks, hashes, path templates, guards and YARD tags.
Name conversion rules
Documents how names become constants, snake case members and file names without clashing with Ruby keywords.
Troubleshooting table
Maps common Ruby load and runtime errors to their fixes in generator code.

Good for

  • Write a Skmtc generator that emits Ruby data classes from an OpenAPI document
  • Generate a Ruby SDK client with one service class per API area
  • Fix an uninitialized constant error in generated Ruby files
  • Choose how to name Ruby constants and members from schema names
  • Add YARD documentation comments to generated Ruby methods

Skmtc lang ruby FAQ

Which agents does Skmtc lang ruby work with?

The skill follows the shared agent skills format, so it applies to all the listed clients: Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Does Skmtc lang ruby need any scripts or tools to run?

No scripts are included. It is a single SKILL.md file with reference material and no tool permissions set.

What should be read alongside Skmtc lang ruby?

The skill says to read the skmtc-generator skill first and to use both together whenever a generator writes Ruby.

What Ruby version does the generated code target?

The skill states that generated code targets Ruby 3.2 or later.

How do I install Skmtc lang ruby in Claude Code?

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

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

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

The closest alternatives to Skmtc lang ruby are Skmtc lang swift, Skmtc lang rust, Skmtc lang scala, Skmtc lang erlang 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