scope · raphaelsalaja — скилл для Claude Code: проверка объёма правок и установка
Скилл scope для Claude Code удерживает правки в границах запроса и помогает закрыть каждый его пункт. Включается при редактировании кода, рефакторинге и проверке ответов агента.
MIT 169 установок ★ 69 обновлён 2026-11-14
npx skills add raphaelsalaja/skills --skill scope -a claude-codeЧто делает scope
scope помогает агенту менять только названный элемент и сохранять то, что уже работало. Перед рефакторингом он предлагает перечислить существующие функции и состояния, а после — проверить, что они остались. Если подходят два толкования просьбы, агент задаёт короткий вопрос.
Скилл просит разбивать сообщение на пункты, учитывать прежние просьбы и завершать ответ отчётом по каждому из них. Для проверки он использует идентификаторы правил и уровни серьёзности; незапущенные проверки помечает как Not verified. Во время планирования файлы не редактируются до одобрения плана.
Какие задачи решает
- ограничить правку названным элементом
- сохранить работающие функции при рефакторинге
- ответить на каждый пункт сообщения
- учесть прежние инструкции перед редактированием
- отделить планирование от изменения файлов
Примеры запросов агенту
- Исправь только верхнюю панель и оставь остальные части страницы без изменений.
- Составь план рефакторинга, пока не меняй файлы.
- Выполни все пункты из моего сообщения и перечисли результат по каждому.
Как установить scope
1Через Skills CLI (Vercel)
npx skills add raphaelsalaja/skills --skill scope -a claude-code2Вручную: положить файлы
~/.claude/skills/scope/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/scope/
1Через Skills CLI (Vercel)
npx skills add raphaelsalaja/skills --skill scope -a codex2Вручную: положить файлы
.agents/skills/scope/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add raphaelsalaja/skills --skill scope -a cursor2Вручную: положить файлы
.cursor/skills/scope/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install raphaelsalaja/skills skills/scope2Вручную: положить файлы
.github/skills/scope/SKILL.md1Через Skills CLI (Vercel)
npx skills add raphaelsalaja/skills --skill scope -a gemini-cli2Командой платформы
gemini skills install https://github.com/raphaelsalaja/skills --path skills/scopeВручную: положить файлы
.devin/skills/scope/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add raphaelsalaja/skills --skill scope -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о scope
Как установить scope в Claude Code?
Выполни npx skills add raphaelsalaja/skills --skill scope -a claude-code. Файл скилла находится по пути ~/.claude/skills/scope/SKILL.md.
Что делает scope?
Он удерживает изменения в пределах запроса, напоминает учитывать прежние инструкции и помогает отчитаться по каждому пункту. При рефакторинге скилл предлагает сверить функции до и после правок.
Как scope ведёт себя во время планирования?
Он предписывает составить план без редактирования файлов и дождаться одобрения. Если пользователь спрашивает, как что-то работает, скилл задаёт агенту объяснить это и ждать следующего запроса.
Исходный текст
SKILL.md · MIT
--- name: scope description: Changes exactly what was asked, keeps what already worked and finishes every item in the message. --- # Scope This skill holds an edit to the request. It reads the smallest literal meaning, keeps everything that already worked and accounts for every item the user sent. ## The smallest reading wins A change outside the named element is a finding unless the user asked for a sweep. One short question before a broad change is not a finding. Press hardest on short messages that point at one element, on batched messages and on refactors. Deleting what nobody asked for belongs to `restraint`. Proving the change works belongs to `verify`. ## Every ask gets an answer Split the message into numbered items and add the open items from earlier turns. Close with the same list, each item done or not done with the reason. Doing the first of four asks is `scope-list-every-ask`. ## The named element and nothing around it Restate the target in a few words. "The card" means the card, not the page around it. Restyling the whole shell for a top bar request is `scope-smallest-reading`. When two readings fit, ask one short question. ## Earlier instructions still stand Before editing, read the user's earlier corrections in the thread and the rules in the repository. Re-adding something they removed is `scope-remember-instructions`. A value they gave, such as `16px` of left padding, stays. Guessing a new one is `scope-keep-given-values`. ## What worked keeps working Before a refactor, list the features, buttons and states that exist now, then check each one after. A dropped back button is `scope-keep-what-worked`. When fixing one property, keep the others. Fixing a clip by removing the width animation is `scope-no-collateral`. ## Unshipped work is done now Work that has not shipped is not split into phases or marked out of scope without asking. A "phase 2" list is `scope-no-phasing`. While planning, plan only. Editing files before the plan is approved is `scope-plan-means-plan`. ## An explanation is the answer When the user asks how something works, explain it and wait. Answering "how does this work" with a diff is `scope-explain-when-asked`. ## The pair Every check is a pair. The broken line sits beside the line that replaces it. | Rule | Broken | Replacement | | --- | --- | --- | | `scope-list-every-ask` | The first of four asks done, three dropped | Four numbered items, each reported | | `scope-smallest-reading` | "Fix the top bar" restyles the whole shell | Only the top bar changes | | `scope-remember-instructions` | Dots the user removed come back | Earlier turns read before editing | | `scope-keep-given-values` | Left padding re-guessed as `12px` | The `16px` the user gave | | `scope-keep-what-worked` | A refactor drops back and forward buttons | Before and after feature list, both buttons kept | | `scope-no-collateral` | The clip is fixed and the width animation is gone | Clip fixed, width animation kept | | `scope-no-phasing` | "Saved filters: phase 2" | Built now, or one question | | `scope-plan-means-plan` | Files edited during planning | Plan only until it is approved | | `scope-explain-when-asked` | "Explain how it works" answered with a diff | An explanation, then wait | ## Reporting **Severity.** `HIGH` is a dropped feature, or an earlier instruction undone. `MEDIUM` is a change outside the named element, or an ask left unreported. `LOW` is a question asked where one reading was plain. **Format.** One finding per root cause, citing the request when no file applies: ``` file:line - [rule-id] what is wrong request 2 - [rule-id] what is wrong ``` Then a `Rule | Count | Severity` summary. `Block` when any `HIGH` remains, `Approve` otherwise. Never `Approve` a diff you did not read. Mark every check you could not run as `Not verified`.
© raphaelsalaja · MIT · raphaelsalaja/skills
Похожие скиллы
Каталог скиллов SKILL.md →Сначала — scope от других авторов.