Command Palette

Search for a command to run...

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

smart-blitz

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

Triage-first batch bug fixing with streaming review and merge. Extends blitz-merge with an upfront triage phase that prioritises open bugs, groups them into…

ArjenSchwarzот ArjenSchwarz★ 20 звёзд на GitHub

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

Smart Blitz

Triage all open bugs, then fix them in prioritised conflict-free batches — each bug on the smallest model that can handle it — and stream every PR through review and merge as soon as its fix completes.

This skill is harness-agnostic: the same workflow runs under Claude Code, Kiro, or Codex. Where the harnesses differ (model names, how to spawn a parallel agent), a mapping table says what to use; everything else is identical.

Harness Mapping

Determine which harness you are running in (you know your own identity) and use that column throughout.

Model tiers

Assign every bug one of three tiers during triage. The goal is the minimum model that can plausibly fix the bug — capacity above the tier is wasted spend.

Tier Claude Code Kiro Codex Effort
light sonnet gpt-5.6-luna gpt-5.6-luna max
standard sonnet gpt-5.6-terra gpt-5.6-terra xhigh
heavy opus gpt-5.6-sol gpt-5.6-sol high

In Claude Code, light and standard both map to sonnet. Keep the three-tier assignment anyway — the tier travels with the bug if it is later re-run in another harness, and escalation (below) needs the distinction.

The effort ladder is deliberately inverted: a smaller model compensates with more reasoning effort, while the heavy model needs less. Apply it where the harness supports per-agent effort — Codex spawn_agent takes reasoning_effort directly; Kiro only honours effort at the session level (--effort in the CLI fallback), not in agent configs; Claude Code subagents have no effort control.

Spawning a parallel fix agent

Each harness has a native subagent mechanism — use it rather than launching separate CLI sessions. The difference is where the model is selected: per call (Claude Code, Codex) or per named agent config (Kiro).

  • Claude Code: Agent tool, subagent_type="general-purpose", with the model parameter set to the assigned model. Multiple Task calls in a single message run in parallel.

  • Kiro: the use_subagent tool (InvokeSubagents, up to 4 subagents per call — split larger batches across calls). It has no model parameter; model comes from the named agent config. Before the first batch, ensure configs gpt-light, gpt-standard, and gpt-heavy exist in ~/.kiro/agents/ — create each by copying the kiro agent config (so tools, MCP servers, and hooks carry over) and setting name, "model" to the tier's model, and "effort" to the tier's effort (the effort field is ignored by current agent-config schemas but documents intent and applies if support lands). Then invoke each bug with the agent_name matching its tier.

    Effort is session-global in Kiro — subagents inherit the session's effort level, so one parallel wave cannot mix tiers. Split each batch into effort groups: bugs sharing a tier's effort, max 4 per group (the InvokeSubagents cap), groups ordered by the priority of the bugs they contain. Run the groups sequentially. Before starting each group, check the session's current effort level; if it does not match the group's effort — or you cannot confirm what it is — stop and ask the user to run /effort {level}, and wait for their confirmation before invoking the subagents.

  • Codex: the spawn_agent tool with fork_turns: "none" (a fix agent needs a fresh context, and model overrides are only honoured when the history is not forked), model set to the assigned model, and reasoning_effort set to the tier's effort; collect results with wait_agent. The accepted override list may be a subset of the full ladder (luna is not always offered) — if a tier's model is rejected, use the nearest accepted tier above it.

If the native mechanism is unavailable for some reason, fall back to one headless process per bug (kiro-cli chat --no-interactive --model {model} --effort {effort} / codex exec --cd {worktree_path} -m {model} -c model_reasoning_effort="{effort}" --full-auto) run in the background from the bug's worktree.

Escalation

The minimum-model bet will sometimes be wrong. If a fix agent fails to produce a PR, or its PR fails to converge in the review loop (see Phase 3), retry that bug once on the next tier up (light → standard → heavy; sonnet → opus). A bug that fails on the heavy tier is flagged for manual work — do not loop further.

Workflow

Phase 1: Fetch Bugs

Determine the current project by calling mcp__transit__get_projects() and matching the current repository name against the project list. If no matching Transit project is found, inform the user and stop.

Query Transit for all bug-type tasks in "idea" status, filtered by the matched project:

mcp__transit__query_tasks(type="bug", status=["idea"], project="{project_name}")

If no bugs are found, inform the user and stop.

Phase 2: Triage

Investigate each bug before spending anything on fixing it. For a handful of bugs do this inline with

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

Установить smart-blitz в Claude Code и Claude Desktop

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

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

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

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

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

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

FAQ

Что делает скилл smart-blitz?

Triage-first batch bug fixing with streaming review and merge. Extends blitz-merge with an upfront triage phase that prioritises open bugs, groups them into conflict-free batches, and assigns each the minimum model tier capable of fixing it (Claude Code sonnet/opus, Kiro and Codex gpt-5.6 luna/terra/sol). Reviews and merges each PR as soon as its fix lands instead of waiting for the whole batch. Use for "smart blitz", "triage and fix all bugs", "fix bugs by priority", "batch-fix with the cheapest model", or any request to blitz bugs with prioritisation or cost awareness.

Как установить скилл smart-blitz?

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

Скилл smart-blitz запускает скрипты?

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

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

Сравнить smart-blitz с