scope-creep-detector
O que ela faz
Esta skill compara um conjunto de alterações de código com a finalidade em uma linha que você informar. Ela sinaliza arquivos não relacionados, edições grandes e mudanças arriscadas, para que uma correção continue sendo uma correção. Ela é para desenvolvedores que querem alterações focadas e fáceis de revisar.
Quando usar
- ✓Quando você pergunta se uma alteração saiu do escopo da correção que deveria fazer.
- ✓Quando um pull request parece amplo demais e você quer saber o que separar.
- ✓Quando uma alteração mexe em dependências, nomes públicos, configurações ou arquivos de build que você não esperava.
Link da skill
https://github.com/Shubhamsaboo/awesome-llm-apps/blob/main/agent_skills/scope-creep-detector/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Minha alteração deve corrigir uma falha no parser. Verifique se mexi em algo que não deveria e me diga o que separar.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
A skill compara as alterações do seu código com a finalidade que você informou, procura sinais como arquivos não relacionados e mudanças em dependências, e sugere se cada parte deve ser mantida, separada ou justificada. Ela não altera os seus arquivos.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do GitHub.
Scope Creep Detector
A one-line fix should not require a reviewer to reverse-engineer fourteen files across three subsystems. This skill compares a git diff with its stated intent, surfaces scope signals, and turns them into keep, split, or justify decisions.
Everything runs locally. The script makes no network calls and does not change the working tree, index, commits, or branches.
When to use
- Before opening a pull request whose diff may have grown beyond its intent
- When a bug fix touches unexpected files or subsystems
- When the user asks whether staged changes are too broad
- When a diff includes dependency, public API, config, CI, or build changes
- When the user wants a concrete split plan for a mixed change
When not to use
- Formatting code, running a linter, or writing a commit message
- Reviewing correctness, security, or test quality inside an agreed scope
- Measuring historical project growth across many commits
- Editing or reverting files without the user's approval
Establish the intent
Use the user's one-line intent when available. Keep it concrete, such as
fix null dereference in parser or add retry limit to webhook delivery.
If no intent was given, the script falls back to the current branch name. If that name is generic, detached, or unrelated to the work, ask for one line of intent before treating relatedness as meaningful.
Run the classifier
Run from this skill directory and point --repo at the target repository.
Working tree diff:
python3 scripts/scope_creep.py --repo /path/to/repo \
--intent "fix null dereference in parser" --json
Staged diff:
python3 scripts/scope_creep.py --repo /path/to/repo --staged \
--intent "fix null dereference in parser" --json
Branch diff against a merge base:
python3 scripts/scope_creep.py --repo /path/to/repo --base main \
--intent "fix null dereference in parser" --json
Saved diff or stdin:
python3 scripts/scope_creep.py --diff change.diff --intent "parser fix" --json
git diff --staged | python3 scripts/scope_creep.py --diff - \
--intent "parser fix" --json
Use --hunk-threshold only when the repository has a documented reason to
change the default churn threshold. Do not tune the threshold merely to make a
warning disappear.
Interpret the JSON
Read references/scope-signals.md before making a recommendation. Treat the classifier as triage evidence, not proof of authorial intent.
in_scope: file paths with at least one intent/path keyword overlaplikely_creep: paths without overlap, with the reason and detected signalsnew_deps: dependencies introduced in supported manifest formatsapi_renames: nearby removed and added public function or class declarationsconfig_edits: CI, container, build, YAML, and TOML changesstats: churn, subsystem counts, oversized hunks, and formatting-only files
Empty arrays are evidence too. Say that no signal was detected, not that the diff is guaranteed to be in scope.
Recommend keep, split, or justify
Give every item in likely_creep one disposition:
- Keep when the path is necessary for the stated intent and the connection is direct. Explain the connection in one sentence.
- Split when it can land independently, belongs to another subsystem, or introduces a dependency, API rename, config edit, or large hunk that is not required for the intent. Name the files or hunks for the follow-up change.
- Justify when a cross-cutting edit cannot be separated safely. State the invariant or build constraint that requires it and call out reviewer risk.
Prefer split when evidence is ambiguous. Never claim that a zero overlap score proves a file is unrelated. Path vocabulary is a cheap, deterministic proxy.
Write the scope report
Use this compact structure:
- Intent and diff source
- Files and subsystems touched, with total additions and deletions
- In-scope changes
- Likely creep with signal evidence
- Keep, split, or justify table
- Proposed follow-up grouping, if any
Name file paths and hunk headers. For an oversized mixed hunk, explain that the script cannot split it automatically and describe the smallest coherent edit. Ask before applying any split, revert, staging, or commit operation.
Files
scripts/scope_creep.py: deterministic unified-diff parser and classifierreferences/scope-signals.md: signal definitions, thresholds, and l
Perguntas frequentes
Ela muda o meu código?
Não. Ela analisa as alterações e não faz edições, commits nem mudanças de branch.
E se eu não informar uma finalidade?
A skill usa o nome da sua branch como referência, mas pedirá uma finalidade em uma linha se o nome não for claro.
Ela verifica se o meu código está correto?
Não. Ela analisa o escopo da alteração, e não a correção, a segurança ou a qualidade dos testes.
Detalhes
Descrição original do autor
Analyzes git diffs against a stated intent to detect scope creep, unrelated files, broad pull requests, changes that grew beyond a fix, dependency additions, public API renames, config or CI edits, oversized hunks, and formatting-only files. Use when the user asks whether a change grew beyond the fix, a PR is too broad, or what unrelated stuff they touched, and wants keep, split, or justify guidance. Operates locally and offline.
Popularidade
- Estrelas no GitHub
- 144 mil
- Posição no ranking
- #678
- Licença
- Apache-2.0
- Atualizada em
- 22/10/2026
Comentários
- …
Mais skills deste repositório
advisor-orchestrator-worker
144 milAjuda seu agente a dividir uma tarefa muito grande entre uma equipe de modelos de IA, com um modelo mais forte planejando e revisando enquanto os mais baratos executam o trabalho.
commit-archaeologist
144 milAjuda seu agente a explicar por que um trecho de código existe, lendo o histórico git local, incluindo quem o adicionou e o que mudou depois.
dependency-doctor
144 milAjuda seu agente a verificar um arquivo requirements.txt, pyproject.toml ou package.json em busca de problemas comuns de dependências e sugerir correções pequenas e fáceis de revisar.
first-reader
144 milAjuda seu agente a testar um rascunho simulando como leitores reais o vivenciam, mostrando onde eles podem perder o interesse e o que eles lembram.
Skills parecidas
diffs
394 milPermite que seu agente gere um diff real e compartilhável das edições, como link de visualização ou arquivo de imagem, em vez de um resumo escrito à mão.
coding-agent
394 milAjuda seu agente a passar um trabalho grande de programação para o Codex, Claude Code ou OpenCode em segundo plano e acompanhar o andamento.
gh-issues
394 milAjuda seu agente a encontrar issues do GitHub, escolher quais resolver e abrir pull requests com correções, acompanhando os comentários de revisão.