scope-creep-detector
Qué hace
Esta skill compara un conjunto de cambios de código con el propósito de una línea que le das. Marca archivos no relacionados, ediciones grandes y cambios arriesgados, para que una corrección siga siendo una corrección. Es para desarrolladores que quieren cambios enfocados y fáciles de revisar.
Cuándo usarla
- ✓Cuando preguntas si un cambio ha crecido más allá de la corrección que pretendía hacer.
- ✓Cuando un pull request parece demasiado amplio y quieres saber qué separar.
- ✓Cuando un cambio toca dependencias, nombres públicos, configuración o archivos de compilación que no esperabas.
Link de la skill
https://github.com/Shubhamsaboo/awesome-llm-apps/blob/main/agent_skills/scope-creep-detector/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Mi cambio pretende corregir un fallo en el analizador. Comprueba si he tocado algo que no debía y dime qué separar.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
Compara los cambios de tu código con el propósito que indicas, busca señales como archivos no relacionados y cambios de dependencias, y sugiere si conservar, separar o justificar cada parte. No cambia tus archivos.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de 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
Preguntas frecuentes
¿Cambia mi código?
No. Analiza los cambios y no hace ediciones, commits ni cambios de rama.
¿Y si no doy un propósito?
La skill usa como alternativa el nombre de tu rama, pero pedirá un propósito de una línea si el nombre no es claro.
¿Comprueba que mi código es correcto?
No. Analiza el alcance del cambio, no su corrección, su seguridad ni la calidad de las pruebas.
Detalles
Descripción original del 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.
Popularidad
- Estrellas en GitHub
- 144 mil
- Posición en el ranking
- #678
- Licencia
- Apache-2.0
- Actualizada
- 22/10/2026
Comentarios
- …
Más skills de este repositorio
advisor-orchestrator-worker
144 milAyuda a tu agente a dividir una tarea muy grande entre un equipo de modelos de IA, con un modelo más potente que planifica y revisa mientras otros más económicos hacen el trabajo.
commit-archaeologist
144 milAyuda a tu agente a explicar por qué existe un fragmento de código leyendo el historial de git local, incluido quién lo añadió y qué cambió después.
dependency-doctor
144 milAyuda a tu agente a revisar un archivo requirements.txt, pyproject.toml o package.json en busca de problemas habituales de dependencias y sugerir correcciones pequeñas y fáciles de revisar.
first-reader
144 milAyuda a tu agente a probar un borrador simulando cómo lo viven lectores reales, mostrando dónde podrían perder el interés y qué recordarían.
Skills parecidas
diffs
394 milPermite que tu agente genere un diff real y compartible de los cambios, como enlace de visualización o archivo de imagen, en lugar de un resumen escrito a mano.
coding-agent
394 milAyuda a tu agente a pasar un trabajo de programación grande a Codex, Claude Code u OpenCode como trabajador en segundo plano, y después revisar su progreso.
gh-issues
394 milAyuda a tu agente a encontrar incidencias de GitHub, elegir cuáles trabajar y abrir pull requests con correcciones, incluido el seguimiento de los comentarios de revisión.