scope-discipline
Keep one task closed-looped before starting the next. Triggered when a new problem surfaces mid-task (a bug, a security finding, a missing env var), when…
от IgorGanapolsky★ 34 звезды на GitHub
Установить scope-discipline в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Scope Discipline — Close Loops, Don't Open Them
The failure this prevents
A single request balloons into a chain where every step uncovers new work and you chase it immediately, so nothing reaches "done + verified + deployed." This session: RAG → OAuth → directory submission → reviewer key → consent-key validation → CodeQL fixes — six threads, each started before the prior landed. The result feels like motion but lands nothing. (2026 reliability research flags "repetitive actions / no task completion" as the top long-horizon failure trigger — a metacognitive check on this is recommended: arxiv 2509.19783.)
The rule: one in-flight task, with a parking lot
- One task is
in_progressat a time (mirror it in the task-state-ledger). - When a new issue surfaces mid-task, do NOT start it. Write it to a parking lot and keep going. Park, don't pivot.
- A task is closeable only when verified (the
evidence-first-answer/ deployment-gate bar), not when code is written. - After closing, pick the next item from the parking lot or ask the CEO which to take if priority is ambiguous.
The parking lot
Keep a ## Parking lot section in the task-state-ledger:
## Parking lot (found mid-task — do NOT start until current loop closes)
- [security] CodeQL: 2 critical cmd-injection + 1 XSS on main — own PR
- [infra] THUMBGATE_REVIEWER_KEY not set on Railway
- [docs] /docs/connectors 404, favicon 404
For genuinely independent work, prefer spawning a separate task (e.g. the
spawn_task chip) over context-switching this session.
When the user says "continue" / "do everything"
That means make progress on the current loop, not fan out into new threads. The most valuable thing is the next closed loop, not the most new activity. Before branching, ask: "does this finish the current task or start a new one?" If it starts a new one → park it.
Allowed exception
A discovery that makes the current task unsafe to finish (e.g. you find the thing you're about to ship has a security hole) DOES belong in the current loop — fixing it IS closing the loop correctly. The test: "is this a prerequisite of the current Goal, or a new Goal?" Prerequisite → handle now. New Goal → park.
Anti-patterns
| Pattern | Fix |
|---|---|
| Find a bug mid-task → immediately go fix it | Park it; finish current loop first |
| 5 open PRs, 0 merged-and-verified | Drive ONE to deployed before opening more |
| "While I'm here I'll also…" | That's a new Goal — park it |
| Treating "continue" as "find new work" | "continue" = advance the current loop |
Exit criteria
The current task's Goal is verified done. The parking lot is either empty or explicitly handed to the CEO as "here's what I parked; which next?"
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл scope-discipline?
Keep one task closed-looped before starting the next. Triggered when a new problem surfaces mid-task (a bug, a security finding, a missing env var), when you're about to branch into unrelated work, or when you notice the session has sprawled across many half-finished threads. Prevents the "nothing ever lands" failure where each step spawns new work and none finishes.
Как установить скилл scope-discipline?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл scope-discipline запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…