MPS: Skill for Claude Code

.agents/skills/bugfix-workflow/SKILL.md

bugfix-workflow is a skill for Claude Code from JetBrains/MPS. It costs 99 tokens per session (4,109 once invoked), scanned A, original, Apache-2.0.

A staged workflow for fixing bugs in the JetBrains MPS project from a YouTrack issue. It includes investigation, solution design, implementation, review, feature-branch validation, and issue updates.

In plain words
What is it for?
Use it to prepare a bugfix branch, analyse an MPS issue, design and implement a fix, run TeamCity validation, review the change, and update YouTrack.
Why use it?
It prevents work from jumping straight to code and requires the project’s modelling tools, rules, and build checks to be followed first.

Skill for Claude Code ✓ vendor

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions subagents; installed under .agents/ (shared by several agents); mentions AGENTS.md.

This is JetBrains/MPS's own configuration. It tells Claude Code how to work on MPS itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything MPS configures →

About the project

JetBrains MPS is a development environment for creating domain-specific languages, which are programming languages designed for a particular field or task. It provides editors with features such as completion, semantic checks, and type checking, and can generate code in languages including Java and XML.

JetBrains/MPS · 1,666 stars · on GitHub · jetbrains.com

Reuse

Borrowing it

Nothing to install: this file belongs to JetBrains/MPS. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/JetBrains/MPS/master/.agents/skills/bugfix-workflow/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/JetBrains/MPS

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for bugfix-workflow

README.md
[![agentmods](https://agentmods.dev/badge/skills/jetbrains/mps/bugfix-workflow/github.svg)](https://agentmods.dev/skills/jetbrains/mps/bugfix-workflow)
Your own site
<a href="https://agentmods.dev/skills/jetbrains/mps/bugfix-workflow"><img src="https://agentmods.dev/badge/skills/jetbrains/mps/bugfix-workflow/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for bugfix-workflow

Your own site · 80×15
<a href="https://agentmods.dev/skills/jetbrains/mps/bugfix-workflow"><img src="https://agentmods.dev/badge/skills/jetbrains/mps/bugfix-workflow.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 99 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,109 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00099 $0.04109
Opus 5.5 $0.00040 $0.01644
Sonnet 5.5 $0.00020 $0.00822
Haiku 4.5 $0.00010 $0.00411

Measured 1mo ago against content hash 02add1b58ac9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

bugfix-workflow scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/bugfix-workflow/SKILL.md · 195 lines

How it starts

The opening of the file, as written. The whole thing — 195 lines — stays where its author put it; the contents beside it link to each section on GitHub.

MPS Bugfix Workflow

You are guiding a structured bugfix process for the JetBrains MPS project. Follow each phase in order. Never skip phases or start implementation before the user gives an explicit command to do so.

The issue to fix is the YouTrack ID supplied with this request ($ARGUMENTS when the host substitutes it).

Always-on project rules apply throughout: AGENTS.md and .agents/git.md, conventions.md, tools.md, workflow.md, quality-gates.md. This skill is only the bugfix process and a few stricter overlays — it deliberately does not restate what other skills own.

Required companion skills — load both in Phase 0, before any analysis:

Skill Owns Why it is mandatory here
mps-mcp-workflow the MPS MCP contract: tool naming and prefixes, project resolution, node editing, model validation, and the index of every other mps-* skill a fix that looks like plain Java routinely turns out to live in a model, aspect or generator; without this skill you will guess tool names and misjudge whether MPS is even reachable
teamcity-cli TeamCity CLI syntax Phase 7 decides whether the fix is done

Route from mps-mcp-workflow into the specific mps-aspect-* / mps-language-* skill for whatever the fix turns out to touch.

Critical Directives

  • Never start implementing code before the user gives explicit approval. Wait for "implement", "go ahead", "start coding", "do it", etc.
  • Never skip Phase 0 preflight. Missing YouTrack MCP, IDEA MCP, or the platform project changes how you should proceed; surface the gap before touching code.
  • A fix is not done until TeamCity is green. Local builds and tests are necessary but not sufficient. The definitive confirmation is the TeamCity feature-branch chain for the pushed branch: all tests must pass, or every remaining failure must be proven pre-existing on the base branch. Never report the task complete on local evidence alone, and never predict the outcome of a build that is still running. See Phase 7 and references/teamcity-validation.md.
  • The only other legal ending is an explicit not validated — <reason> verdict (the user declined the push, TeamCity is unreachable, …), naming what was and was not run. Silence, or local-only evidence presented as success, is never acceptable.

Read the full file on GitHub · 195 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 195 lines · 99 tokens per session scan A 02add1b58ac9

Subscribe to this mod's changes

bugfix-workflow is a skill published in the GitHub repository JetBrains/MPS (1,666 stars, last pushed yesterday), licensed Apache-2.0. It adds 99 tokens to every session and 4,109 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-12.

Related

bugfix-workflow compared with skills from other repositories

bugfix-workflow next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
bugfix-workflowJetBrains/MPSSkill1.7kyesterdayApache-2.0A99Claude Code
git-advanced-workflowswshobson/agentsSkill42kyesterdayMITA54Claude Code
agent-merge-conflict-arbiterNousResearch/hermes-agentSkill261kyesterdayMITA19Claude Code, Codex
enable-check-includes-strictchromium/chromiumSkill25kyesterdayBSD-3-ClauseA70Claude Code, Codex
resolve-handoffomnigent-ai/omnigentSkill11ktodayApache-2.0A23Claude Code, Codex
reproduce-and-fix-issuesbacknotprop/pstackSkill3.7kyesterdayMITA48Claude Code, Cursor
cy-orquestrate-issuecompozy/compozySkill2.8kyesterdayMITA94Claude Code, Codex