Work JetBrains YouTrack issues without leaving your repo. Capture, pick up, branch, plan, open the PR, and walk the state ladder — all from inside Claude Code or any MCP-capable AI agent.
📥 capture → 🌿 branch + plan → 🚀 PR → ✅ done
Works JetBrains YouTrack issues from inside any
project repo. It is a Claude Code plugin and a portable SKILL.md agent skill:
the same workflow runs in Cursor, GitHub Copilot, Codex CLI and other MCP-capable
agents. No PhpStorm YouTrack plugin needed: it talks to YouTrack's own remote MCP
server.
| Command | What it does | |
|---|---|---|
| 📝 | /youtrack-task new "<free text>" |
Turns your text into a titled, structured issue. |
| 🌿 | /youtrack-task <ID> |
Picks up an issue: branch, state → In Progress, plan written back as a comment. |
| 🚀 | /youtrack-task pr · testing · done |
Checks the independent review, opens the PR and links it, then walks the state ladder. |
| 🌲 | /youtrack-task worktree … |
Runs several tasks at once, each in its own git worktree. |
| 🤖 | /youtrack-task all |
Works through many issues in parallel with an independent reviewer per result. |
- An AI agent that can use MCP servers: Claude Code (plugin route) or another agent (skill route, see step 3)
- YouTrack 2025.3+ (Cloud or Server) with the remote MCP server at
https://<your-host>/mcp giton yourPATHjqon yourPATH— needed for the hook protections; the skill itself works without it- (optional) the
ghCLI forpr - (optional) the
superpowersplugin for planning and implementation
Tip
Behind a reverse proxy or SSO (Authelia, Authentik, oauth2-proxy…)? Allow the
/mcp path through with bearer-token auth.
YouTrack → your avatar → Profile → Account Security → New token.
Scope: YouTrack. Copy the perm:... value.
Pick the route that matches your agent:
| Route | How | |
|---|---|---|
| 🟣 | Claude Code | Plugin: the steps right below. Gives you every feature. |
| 📦 | Agensi | Get the skill from the Agensi listing, then add the YouTrack MCP server to your agent. |
| 🚀 | Product Hunt | Find the product on Product Hunt and follow its links: |
| 🧩 | Cursor, Copilot, Codex, others | Skill folder plus the YouTrack MCP server in the agent's MCP settings: Other agents. |
Claude Code plugin. Export two environment variables in your shell startup
(~/.zshrc, ~/.bashrc), open a new shell and start Claude Code from there:
export YOUTRACK_MCP_URL="https://youtrack.example.com/mcp"
export YOUTRACK_TOKEN="perm:xxxxxxxxxxxxxxxxxxxx"Then install the plugin and restart Claude Code. /mcp should now list the youtrack
tools.
/plugin marketplace add JtheGunner/youtrack-task
/plugin install youtrack-task@youtrack-task
Note
Outside Claude Code the review gate runs in its weaker, non-independent mode and
all --auto-merge stays off. Details in Other agents.
/youtrack-task # list your Open / In Progress issues and pick one
/youtrack-task INFRA-42 # go straight to an issue
Note
Nothing instance-specific is stored in this repo. The bundled .mcp.json only
references ${YOUTRACK_MCP_URL} and ${YOUTRACK_TOKEN}.
/youtrack-task new … create the issue (optional)
│
▼
/youtrack-task ADMIN-6 branch · In Progress · plan · (--implement) code + review
│
▼
/youtrack-task pr review check · push · PR · link on issue · → Testing
│
… PR review + merge …
▼
/youtrack-task done → Done
A worked walk-through with the state changes and comments of each step:
examples/full-lifecycle.md.
On pickup the plugin:
- 📥 Fetches the issue and its comments
- 🌿 Creates the branch
‹prefix›/‹ID›-‹slug›(in a worktree if configured) - 📌 Moves the issue to In Progress and comments
- 📝 Plans the work and, once you approve, posts the plan as a comment
- 🛠️ Implements it only when you pass
--implement, then runs the review gate. The reviewer is read-only; a project can allow more commands for it in.youtrack-task/reviewer-commands(how)
Important
Nothing is pushed until you run pr, and it asks first. Branch names, commits and
PR text are always English; YouTrack comments follow the issue's language. Chat
replies keep your session's language, or follow the issue's in a fresh session,
in every sub-command including all, and across a compaction.
/youtrack-task ‹ID› [--implement] # pick up (plan only without --implement)
/youtrack-task new "<free text>" # capture an issue
/youtrack-task comment [‹ID›] <text> # comment on an issue
/youtrack-task log [‹ID›] 1h30m <what> # log time
/youtrack-task pr # push + PR + link + Testing
/youtrack-task link <pr-url> # attach an already-open PR
/youtrack-task testing | done # move the issue forward
/youtrack-task worktree list|prune|take <ID>|remove <ID>
/youtrack-task all [ID ...] [--max N] [--dry-run] [--auto-merge]
- State ladder:
Open → In Progress → Testing → Done, forward-only. - Issue ID:
comment,log,pr,link,testinganddoneread it from your branch name. Pass an ID to override. - Common flags:
--no-move,--no-writeback,--base ‹branch›,--worktree,--no-review,--no-confirm-branch,--no-confirm-pr. All of them are in the flag table.
| Page | Covers | |
|---|---|---|
| 🚀 | Usage | Pickup steps, flags, creating issues, parallel worktrees, sub-commands |
| 🤖 | Batch (all) |
Triage, workers, review loop, --auto-merge, guard hook |
| ⚙️ | Configuration | Config keys with defaults, how the config file is created and kept up to date, extra reviewer commands, what lives where, MCP tools used |
| 🧩 | Other agents | Cursor, Copilot, Codex and the Agensi package: MCP setup and what differs |
| 🩺 | Troubleshooting | Symptoms and fixes, grouped by topic |
skills/youtrack-task/ is a self-contained SKILL.md skill, so the workflow is not
tied to Claude Code. It runs in Cursor, GitHub Copilot, Codex CLI and other
MCP-capable agents, and is listed on
Agensi.io and
Product Hunt. What changes
outside Claude Code (MCP setup, tool names, optional scripts/, the review gate) is
on the Other agents page.
Issues and pull requests are welcome. Every behaviour change also updates the docs, changelog, spec, config example and manual test checklist. See CONTRIBUTING.md for the full checklist.
Every pull request and every push to main runs the ci workflow:
- the test suites in
tests/ - ShellCheck on the hooks and scripts
- a JSON syntax check
- a check that
plugin.jsonandmarketplace.jsonhave the same version
The release workflow runs the same checks before it builds the package. To use ci
as a required check, add it under Settings → Branches → Branch protection.
See CHANGELOG.md. Versioning follows SemVer;
each release is also a git tag (vMAJOR.MINOR.PATCH).
MIT — see LICENSE.