Command Palette

Search for a command to run...

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

fix-issue

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

Take one or more GitHub issue numbers for leather-io/mono, research each one, settle the open decisions with the person in one short round per issue, write a…

leather-ioот leather-io★ 29 звёзд на GitHub

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

Fix issue

Hand this skill N issue numbers and get N pull requests back. The person's attention is the expensive part, so research comes first (the questions are sharp and few), every agreement is written down as a brief (the handoff to the fixer is lossless and survives context loss) and overlapping fixes are grouped before anything is dispatched. That is the local half. The fixing happens on GitHub: each brief is dispatched to the repo:fix-issue workflow, which fixes, verifies and reviews the change and opens a signed pull request. Nothing is committed or pushed from this machine. Both commands below act as the person's gh login.

1. Intake

Per issue:

gh issue view <n> --repo leather-io/mono --json number,title,body,labels,url,comments

From the body take the platform (the title prefix or the platform:* label: extension, mobile, web, packages) and, when present, ### Decisions, ### Verify, ### Done when and ### Out of scope. An issue drafted with the new-issue skill has them: Settled: lines are binding, Open: lines must be asked before code is written. Read the comments too; they can carry later decisions. An issue without those sections gets the same information from research.

Record the base with git rev-parse origin/dev for research. Never git fetch: a fetch can block on a hardware key. Say which SHA you recorded and, if the tip looks stale, let the person refresh it. The workflow itself always runs on the tip of dev at dispatch time.

Create the run directory for the briefs:

run_dir="${XDG_STATE_HOME:-$HOME/.local/state}/fix-issue/$(date +%Y%m%d-%H%M)"
mkdir -p "$run_dir/briefs"

Never in a temp dir: a reboot wipes it. The briefs are the only local state; runs and pull requests are looked up on GitHub by issue number (section 7).

2. Research, one subagent per issue

Generate the extension feature map once, in the orchestrating checkout, before fanning out: pnpm lt feature-map generate --app extension (see the feature-map skill).

Then one research subagent per issue, read-only, at most five at a time. Pass model: "opus" explicitly on every one: subagents inherit the session model, and parallel subagents on a Fable session hit the Fable rate limit. Give each the issue in full (body and comments), the base SHA, the pointer to .claude/skills/feature-map/SKILL.md and the generated extension.md, any ### Decisions already on the issue with the rule that a Settled line is never re-asked, and ask for exactly this shape back:

  • Cause marked proven (a failing test or an observed path in this session) or suspect (anything only read). Proven requires running something; reading is suspect.
  • Touches: repo-relative file paths the fix would change or add, one per line, best estimate.
  • Approaches: one to three, each with the layer that owns it and one line of trade-off, the recommended one first.
  • Open decisions: at most four, each with two to four options and a recommendation, only for choices that neither the code, CLAUDE.md nor the issue already settles. Zero is a fine answer.
  • Verify: Unit command and the spec to extend or add; E2E command and the covering spec from the feature-map entry, or "none covers this"; Fixtures to reuse; Needs (device, Speculos, funded account, flag) or nothing.
  • Done when: one to three boxes, behavior not implementation, reusing the issue's own when it has them.

3. Interview, one round per issue

Per issue, show the person in a few lines: the cause with its marker, the recommended approach, the Touches and the Verify lines. Then exactly one AskUserQuestion round with the open decisions (at most four, recommendation first) when there are any. An issue with none is shown as a plan to confirm or redirect.

Every answer becomes Settled: <choice> — <reason>. Anything skipped stays Open and makes the issue ineligible for dispatch until it is answered; say so. Never a second round for the same issue.

4. Briefs

Write $run_dir/briefs/bot/fix-issue-<n>.md per issue from references/brief.md, <n> being the issue (for a group, its first issue); dispatch and status find it there. Pick the template there by the issue: the short one when the issue is already a full spec written by someone with write access (a new-issue issue, or one with a triage work item), which only adds the interview's decisions, the approach, the maintainer changes and the commit subject; the full one otherwise. The fixer never sees this conversation, so whatever the issue does not say has to be in the brief.

Paths the run may not change. The fixer may only change apps/, packages/ and pnpm-lock.yaml. Check every Touches entry against that before writing the brief. Each one outside it (root config such as knip.json, turbo.json, eslint.config.js, .gitignore, .dependency-cruiser.cjs, root docs/, tools/, .claude/, .github/) goes under the brief's `##

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

Установить fix-issue в Claude Code и Claude Desktop

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

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

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

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

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

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

Вложенные файлы

references/brief.md

FAQ

Что делает скилл fix-issue?

Take one or more GitHub issue numbers for leather-io/mono, research each one, settle the open decisions with the person in one short round per issue, write a handoff brief per issue (or per group of overlapping issues), then dispatch the repo:fix-issue GitHub workflow once per brief, which runs the fixer, verifies it and opens a signed pull request from bot/fix-issue-<issue>-<run id>, and track the runs and pull requests to the end; the same workflow, dispatched with a pull request, revises a bot pull request on its own branch. Use when given one or more GitHub issue numbers to fix, asked to work through a batch of issues, asked to dispatch fixers for issues, or asked to have a bot pull request changed or its conflicts with dev resolved.

Как установить скилл fix-issue?

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

Скилл fix-issue запускает скрипты?

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

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

Сравнить fix-issue с