Command Palette

Search for a command to run...

Назад к скиллам
скилл № 96750

fix-issue

This skill should be used to attempt an automated single-file fix for a GitHub issue. Creates a branch, fixes, tests, opens a PR, and labels for auto-merge or…

БесплатноБез исполняемых скриптов
jikig-aiот jikig-ai★ 21 звезда на GitHub

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

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

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

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

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

Cloud Mode (Devin): before pipeline work run bash "${CLAUDE_PLUGIN_ROOT}/scripts/cloud-detect.sh". If CLAUDE_PLUGIN_ROOT is unset (cloud exec shells do not export it), resolve the root by IDENTITY, never by script basename: for d in "$HOME/.local/share/devin/cli/plugins/cache" and /opt/.devin/plugins, skip unless [ -d "$d" ], then MANIFEST="$(find "$d" -path '*/.claude-plugin/plugin.json' -exec grep -l '"name":space:*::space:*"soleur"' {} + 2>/dev/null | head -1)", ROOT="${MANIFEST%/.claude-plugin/plugin.json}" — one resolution, two consumers: $ROOT/scripts/cloud-detect.sh and $ROOT/scripts/precommit-guard.sh. (Shape check, not authentication: a planted {"name":"soleur"} dir passes — ADR-179 A11.) local or not-local:no-devin-env proceeds normally; any other not-local:<reason> applies <plugin-root>/devin/INSTRUCTIONS.md §Cloud Mode: emit the --banner, fan out sequentially with Reviewed-Coverage: sequential-fallback disclosure (never claim an independent review ran), message_user ack before any secrets read or production mutation, and run precommit-guard.sh before any git commit — hooks do not fire in cloud.

Grok Build (plugins/soleur/lib/harness.ts invokeSkill()): Read this SKILL.md in this process and run it to completion. A one-segment soleur:<name> in this document names a SKILL — on Grok Build, Read plugins/soleur/skills/<name>/SKILL.md in this process; it is not a nested tool_use. A multi-segment id such as soleur:<domain>:<name> names an AGENT: spawn it, never Read it, and on Grok Build spawn_subagent takes the id with its colons replaced by hyphens (agentIdToGrokSubagentType). Claude Code: Skill tool for a skill (soleur:<name>), Task tool with subagent_type for an agent. Forbidden is executing a subset, not the Read.

Fix Issue

Attempt a single-file fix for a GitHub issue and open a PR for agent review. The review is the drain-prs needs-review tier (an inline diff read for a single-file bot fix, soleur:review for a feature PR); it runs when soleur:drain-prs runs, never automatically.

Inputs

$ARGUMENTS accepts one of:

  • <issue-number> — bare, backward compatible with existing scheduler prompts
  • <issue-number> --exclude-label <label> [--exclude-label <label> …] — issue number followed by one or more --exclude-label flags that short-circuit the skill if the issue carries any matching label
  • either form plus --no-local-tests — skip Phases 2 and 4 (the scheduled bug-fixer passes it: its containment denies every test command, because a test run would execute code the agent just wrote; CI runs the suite on the PR)

If $ARGUMENTS is empty, ask: "Which issue number should I fix?"

Do not proceed without an issue number.

--exclude-label semantics

Each --exclude-label <value> is matched against the issue's label names:

  • Exact match (no trailing *): label name must equal <value> exactly. Example: --exclude-label ux-audit drops any issue labeled ux-audit.
  • Prefix match (trailing *): the * is treated as a literal terminator. Any label whose name starts with the text BEFORE the * matches. Example: --exclude-label 'agent:*' drops any issue labeled agent:ux-design-lead, agent:ticket-triage, etc.
  • Only a trailing * is recognized as a wildcard. Any other * is treated as a literal character (which will almost certainly match nothing, since label names do not contain *).

Callers invoking from a shell MUST single-quote the agent:* form to prevent bash glob expansion: --exclude-label 'agent:*'.

See agent-authored-exclusion.md for the governance context and the label convention this flag enforces.

Phase 0: Parse arguments

Split $ARGUMENTS on whitespace. The first token is $ISSUE_NUMBER (must be a positive integer). Collect every value that follows a --exclude-label flag into an $EXCLUDE_LABELS list (order does not matter; duplicates are harmless).

Pseudocode (the skill is prompt-executed, so the agent interprets these steps directly):

tokens = $ARGUMENTS.split()
ISSUE_NUMBER = tokens[0]                    # abort if not a positive integer
EXCLUDE_LABELS = []
NO_LOCAL_TESTS = false
i = 1
while i < len(tokens):
  if tokens[i] == "--exclude-label" and i+1 < len(tokens):
    EXCLUDE_LABELS.append(tokens[i+1])
    i += 2
  elif tokens[i] == "--no-local-tests":
    NO_LOCAL_TESTS = true
    i += 1
  else:
    i += 1

Constraints

These constraints apply to every phase below. Violating any constraint triggers the failure handler in Phase 6.

  • Single-file changes only. Touch exactly one file. If the fix requires multiple files, abort.
  • No dependency updates. Do not modify Gemfile, package.json, bun.lockb, or any lock file.
  • **No schema or
Полный SKILL.md на GitHub

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

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

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

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

  • references/agent-authored-exclusion.md
  • references/exclude-label-jq-snippet.md

FAQ

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

This skill should be used to attempt an automated single-file fix for a GitHub issue. Creates a branch, fixes, tests, opens a PR, and labels for auto-merge or agent review.

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

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

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

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

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

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