Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

ir:exec

БесплатноБез исполняемых скриптовНе проверен

Execute the approved triage plan for one Irrlicht GitHub issue and produce a reviewed, verified, ready PR. Use for "/ir:exec <N>", "execute issue <N>", or…

ingo-eichhorstот ingo-eichhorst★ 105 звёзд на GitHub

Об этом скилле

Execute an Approved Issue Plan

Run:

/ir:exec <N>

The command approves the latest /ir:triage design. Follow one path from that design to a ready PR. Stop when a command fails. Do not invoke the Workflow tool.

1. Validate the triage contract

Read the issue, all comments, and labels from ingo-eichhorst/Irrlicht. Select the latest comment that starts with the triage disclaimer. Require all of these items:

  • the ready-for-agent label;
  • ## High-level design with content;
  • ## Testing strategy with content;
  • **Process:** with investigation, review, and simplify values;
  • **Estimate:** with agent-active time and human gates;
  • **Verdict:** ready-for-agent.

If one item is absent, stop before a worktree or assignment exists. Report the missing item and request /ir:triage #<N>. Do not infer a plan from the issue body or accept a legacy triage comment.

2. Create the worktree

Check for work already in progress:

gh pr list --repo ingo-eichhorst/Irrlicht --state open --search "<N>" \
  --json number,headRefName,title,isDraft
git worktree list | grep -w "<N>"
git ls-remote --heads origin | grep -w "<N>"

On any hit, report the PR, branch, worktree, and WIP state. Stop. Do not create a second implementation. One exception, for a resume after an interrupted run: when the caller names an existing worktree for <N> and asks to continue it, take the resume step in this section instead of stopping. Without that entry point a caller can only resume by telling an agent to skip this check, which is an instruction around the skill rather than a path through it.

Create a branch from a frozen current base:

git -C <main-repo> fetch origin main
BASE_SHA=$(git -C <main-repo> rev-parse origin/main)
git -C <main-repo> worktree add -b feat/<N>-<slug> \
  .claude/worktrees/<N>-<slug> "$BASE_SHA"
git -C <main-repo> config --local \
  "branch.feat/<N>-<slug>.irExecBase" "$BASE_SHA"

<main-repo> is the main checkout: $(dirname "$(git rev-parse --path-format=absolute --git-common-dir)") — not --show-toplevel, which answers with the worktree when run inside one (see ir:fleet, #2045).

Do all work in the new worktree. Never use git stash; worktrees share one stash. Use a local commit for a checkpoint.

Compare the worktree copy of this skill with the main-checkout copy. If they differ, re-read and follow the worktree copy. Do not pause.

When resuming an existing issue worktree, require a clean tree and record its actual base:

BR=$(git rev-parse --abbrev-ref HEAD)
git config --local "branch.$BR.irExecBase" "$(git merge-base origin/main HEAD)"

3. Assign and execute

Assign the issue and verify the current login is present:

ME=$(gh api user -q .login)
gh issue edit <N> --repo ingo-eichhorst/Irrlicht --add-assignee @me
gh issue view <N> --repo ingo-eichhorst/Irrlicht --json assignees \
  -q "[.assignees[].login] | index(\"$ME\") != null"

Retry once if verification returns false. Stop if it still returns false. Only remove the assignment on abort when this run added it.

Execute the triage process:

  • Use the stated investigation depth.
  • Use the high-level design as the strong default.
  • Follow the testing strategy.
  • Cover every frontend named in the design.
  • Follow AGENTS.md and the surrounding code style.

Change the design only when repository evidence supports the change. Record the evidence and the design deviation in the PR body. Do not silently replace the design.

4. Prove and verify

For each defect test, run the test before the fix and require a failure. If it passes, stop: the diagnosis or test is wrong. Identify lock tests separately; they pass before the change by definition.

For a new guard, linter, schema rule, migration, rewriter, or contract check, mutate what it protects and require the check to fail. Commit reusable mutation fixtures when practical.

When a guarded predicate gains a SECOND call site, re-check every committed mutation anchor that names it. tools/mutate.sh refuses a non-unique anchor — tools/mutate.sh:300 exits 8 with "the anchor occurs N times ... not exactly once" — so an anchor that was unique when written fails the tools gate the moment the code it names appears twice. Grep each anchor before running the fixtures, not after CI reports it. Measured during #2013, where adding a second call site for one predicate made an existing anchor match twice.

Write every comment that asserts a mechanism from what you ran or read. A comment naming a tier, a guard, an ordering, an invariant, or "X cannot happen" states the check behind it, or reads as an intention rather than a fact. Write a comment describing a mutation from the mutation as run, not as planned. Verify each such comment by grepping or running what it names, not by reading it. Do this before the commit.

If the fix already exists, commit before mutating with git add -A && git commit -m wip. Capture the checkpoint SHA and conf

Полный SKILL.md на GitHub

Установить ir:exec в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл ir:exec?

Execute the approved triage plan for one Irrlicht GitHub issue and produce a reviewed, verified, ready PR. Use for "/ir:exec <N>", "execute issue <N>", or "implement issue <N>". Require a current ready-for-agent triage comment. Do not plan, select a mode, or merge.

Как установить скилл ir:exec?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл ir:exec запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить ir:exec с