Skip to content
Skill

Mt spec

Turns discovery notes into a testable spec with acceptance criteria before coding

Mt spec 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
74
Last commit
License
MIT
Listing updated

Similar skills

About Mt spec

This skill guides an agent through writing a feature specification before any implementation begins. It takes discovery notes and an optional prototype as inputs, lists assumptions for the user to confirm, and drafts a structured document covering goals, non-goals, user stories, functional requirements, Given/When/Then acceptance criteria with IDs, data shape, edge cases and testing approach.

The workflow asks the agent to rewrite vague requirements into observable criteria, keep open questions visible rather than guessing, and carry forward decisions from earlier prototype or mockup steps. It also sets explicit boundaries of what is always, ask-first and never allowed, and it does not write application code while active.

The skill is part of the Molten Loop development sequence and writes its output to a molten-docs/loop folder, with the next step handled by a separate task-breakdown skill. It is intended for interactive use and includes an automated mode that records assumptions instead of asking.

When your agent uses it

Molten Loop — Agent Development Loop step 2. Turns discovery (and any prototype) into a testable spec: acceptance criteria, data shape, edge cases and non-goals. Writes `molten-docs/loop/<slug>/03-spec.md`. Use for a spec, PRD, requirements or acceptance criteria. Not for task breakdown (use mt-plan).

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 (5 KB) on GitHub on 1 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

This skill ships in the molten-loop plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add switch-dimension/molten-loop
/plugin install molten-loop@molten-loop

Or copy only this skill to ~/.claude/skills/mt-spec:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/switch-dimension/molten-loop.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/mt-spec &&
cp -R "$tmp/skills/mt-spec" ~/.claude/skills/mt-spec &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/mt-spec inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/mt-spec to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/switch-dimension/molten-loop.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/mt-spec &&
cp -R "$tmp/skills/mt-spec" ~/.agents/skills/mt-spec &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/mt-spec inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/mt-spec to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/switch-dimension/molten-loop.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/mt-spec &&
cp -R "$tmp/skills/mt-spec" ~/.cursor/skills/mt-spec &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/mt-spec 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/switch-dimension/molten-loop.git --path skills/mt-spec

Or copy the folder to ~/.gemini/skills/mt-spec yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/mt-spec:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/switch-dimension/molten-loop.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/mt-spec &&
cp -R "$tmp/skills/mt-spec" ~/.copilot/skills/mt-spec &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/mt-spec inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/switch-dimension/molten-loop.git

Then copy molten-loop/skills/mt-spec into your agent's skills folder as mt-spec. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Testable acceptance criteria
Turns requirements into numbered Given/When/Then criteria that plans and verification can reference.
Assumption listing
Surfaces assumptions about stack, scope, users and data for the user to confirm early.
Structured spec template
Provides a fixed document layout covering goals, non-goals, data shape, edge cases and testing.
Explicit boundaries
Records what the agent may always do, must ask about first, and must never do.
Open question tracking
Keeps unresolved questions visible in the document instead of resolving them with guesses.
Prototype carry-forward
Brings prototype and mockup decisions into the spec and flags any contradictions.

Good for

  • Write a spec for a new feature from discovery notes
  • Turn a vague feature idea into testable acceptance criteria
  • Draft a PRD with requirements and non-goals
  • Document edge cases and error states before implementation
  • List assumptions to confirm before building

Mt spec FAQ

What does Mt spec need to run?

It reads a discovery file at molten-docs/loop/<slug>/01-discovery.md and an optional prototype file. If neither exists, it gathers the essentials directly or suggests running the discovery skill first.

What does Mt spec write?

It writes a spec to molten-docs/loop/<slug>/03-spec.md and creates the folder if needed. It does not write application code while active.

When does Mt spec trigger?

It is meant for requests about a spec, PRD, requirements or acceptance criteria. It is not for task breakdown, which the plan skill handles.

Which clients does Mt spec support?

The content does not tie it to specific clients beyond being a Claude Code plugin marketplace entry, so it is listed for the shared agent skills format.

How do I install Mt spec in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/mt-spec to use it in all your projects, or to .claude/skills/mt-spec in one project. Or install the molten-loop plugin, which includes it: /plugin marketplace add switch-dimension/molten-loop, then /plugin install molten-loop@molten-loop.

Does Mt spec 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 Mt spec?

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 Mt spec?

The closest alternatives to Mt spec are Spec, Requirements to spec, Spec coding, Create specification and Test.

Where this comes from

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

More from switch-dimension/molten-loop

  1. Talk through a decision with your agent before any code or files get changed

    • Open source
    • 74 GitHub stars
    • Developer tools
  2. Runs the Molten Loop feature workflow unattended and logs its own decisions

    • Open source
    • 74 GitHub stars
    • Developer tools
  3. Interviews you and writes a brand brief covering positioning, persona and voice

    • Open source
    • 74 GitHub stars
    • Marketing and SEO
  4. Builds a planned feature slice by slice with red-green-refactor and tracked commits

    • Open source
    • 74 GitHub stars
    • Developer tools
  5. Turns a brand brief into a DESIGN.md visual system with a live HTML preview

    • Open source
    • 74 GitHub stars
    • Design and media
  6. Interviews you about a feature before coding and writes a discovery doc

    • Open source
    • 74 GitHub stars
    • Productivity