scope-guard
Skill9 starsChanged 3 months agoMITView on GitHub
If the answer to #2 is "yes" or #3 is "nice to have" — do NOT touch the file. Red Flags (stop and evaluate): - "While I'm here, I should also..." - "This would be cleaner if I refactored..." - "I noticed this other bug..." - "The tests could be improved..." - "This naming is inconsistent across the codebase..." The Scope Test: 1. Was this mentioned in the original task? → If no, stop. 2. Does the original task FAIL…
6 other projects use a version of this.
Adopted by
Most recently taken up by
- Tradebaas/Groundworktheir own version, first seen Sep 7, 2026
- kpab/claude-fable-5-skillstheir own version, first seen Aug 29, 2026
- drvoss/everything-copilot-clitheir own version, first seen Aug 9, 2026
- Rune-kit/runetheir own version, first seen Apr 22, 2026
- owen-dev-6174/bodhisattva-skillstheir own version, first seen Mar 12, 2026
- dylanburkey/claude-code-sidekicktheir own version, first seen Feb 23, 2026
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 6
- Rune-kit/rune★ 88same name
- drvoss/everything-copilot-cli★ 47same name
- kpab/claude-fable-5-skills★ 17same name
- Tradebaas/Groundwork★ 2same name
- dylanburkey/claude-code-sidekick★ 1same name
- owen-dev-6174/bodhisattva-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository109 other files it gives its agents.
- AGENTS.mdAGENTS.md
- docs/agents.mdAGENTS.md
- agent/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- router/CLAUDE.mdCLAUDE.md
- .agents/skills/llms.txtllms.txt
- agent-harnessSkill
- auto-fixSkill
- brain-dumpSkill
- industrial-brutalist-uiSkill
- changelog-enforcerSkill
- checkpoint-strategySkill
- context-primeSkill
- cooldown-resumeSkill
- council-reviewSkill
- data-quality-auditSkill
- debug-tracerSkill
- dependency-auditSkill
- deslopSkill
- docs-syncSkill
- duplicate-threadSkill
- email-triageSkill
- fabric-patternsSkill
- feature-flagSkill
- git-hygieneSkill
- graphifySkill
- implementation-plannerSkill
- insightsSkill
- issue-resolverSkill
- learn-ruleSkill
- local-ai-querySkill
- lr-schedule-advisorSkill
- minimalist-uiSkill
- modularity-reviewSkill
- full-output-enforcementSkill
- parallel-agentsSkill
- parallel-worktreesSkill
- prompt-librarySkill
- prompt-transparencySkill
- pro-workflowSkill
- redesign-existing-projectsSkill
- release-readinessSkill
- replay-learningsSkill
- repo-memory-updaterSkill
- repowise-intelligenceSkill
- researchSkill
- resource-panelSkill
- risky-module-reviewSkill
- sandboxed-execSkill
- self-improveSkill
- session-handoffSkill
- skill-composerSkill
- smart-commitSkill
- high-end-visual-designSkill
- stitch-design-tasteSkill
- system-prompt-auditSkill
- task-alive-updatesSkill
- task-scoperSkill
- design-taste-frontendSkill
- test-first-executorSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 9 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
9
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
When a fix "requires" refactoring something else
- Distinctive: line 11
When you feel the urge to "clean up while you're in here"
- Distinctive: line 38
Before touching any file, ask:
- Distinctive: line 43
If the answer to #2 is "yes" or #3 is "nice to have" — do NOT touch the file.
- Distinctive: line 46
When you notice any of these urges, apply the scope test:
- Distinctive: line 61
When you catch scope creep, don't ignore it — park it:
- Distinctive: line 72
Before committing, audit the diff:
- Distinctive: line 75
If any file changed was NOT in scope, revert those changes and add them to the parking lot
- Distinctive: line 90
When flagging scope creep:
“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Skill: scope-guard
Purpose
Detect and prevent scope creep during implementation. Keeps Claude focused on the original task and flags when it's about to do more than asked.
Trigger
Use:
- At the start of any implementation task (define scope)
- During implementation when you notice you're about to change something unrelated
- When a fix "requires" refactoring something else
- When you feel the urge to "clean up while you're in here"
Process
Step 1: Define the Scope Contract
At task start, write an explicit scope contract:
## Scope Contract
### In Scope
- [specific change 1]
- [specific change 2]
### Out of Scope (explicitly)
- Refactoring existing working code
- Improving unrelated tests
- Updating unrelated documentation
- Performance improvements not requested
- Style changes in files not being touched
### Allowed Side Effects
- Fixing a bug directly caused by the change
- Updating tests for code being modified
- Updating docs directly describing the feature being addedStep 2: Pre-Implementation Check
Before touching any file, ask:
- Is this file directly related to the requested change?
- Would the change work without modifying this file?
- Is this a "nice to have" or a "need to have"?
If the answer to #2 is "yes" or #3 is "nice to have" — do NOT touch the file.
Step 3: During Implementation — The Scope Test
When you notice any of these urges, apply the scope test:
Red Flags (stop and evaluate):
- "While I'm here, I should also..."
- "This would be cleaner if I refactored..."
- "I noticed this other bug..."
- "The tests could be improved..."
- "This naming is inconsistent across the codebase..."
The Scope Test:
- Was this mentioned in the original task? → If no, stop.
- Does the original task FAIL without this change? → If no, stop.
- Is this a security or data-integrity issue? → If yes, flag it separately.
Step 4: Parking Lot
When you catch scope creep, don't ignore it — park it:
## Parking Lot (Out of Scope - Future Issues)
- [ ] `src/utils.py` line 45: inconsistent error handling pattern — could be standardized
- [ ] `tests/test_api.py`: test coverage gaps in edge cases
- [ ] Performance: N+1 query detected in unrelated endpointThese become suggestions for future issues, not additions to the current task.
Step 5: Final Scope Audit
Before committing, audit the diff:
- List every file changed
- For each file, confirm it was in scope
- If any file changed was NOT in scope, revert those changes and add them to the parking lot
Rules
- Scope creep feels productive but creates noise in reviews and risks regressions
- A focused PR is better than a "while I was there" PR
- Out-of-scope bugs should be filed as new issues, not fixed silently
- The parking lot is not a trash bin — items there should be filed as real issues
Anti-Patterns to Avoid
- "Drive-by refactoring" — touching code just because it could be better
- "Yak shaving" — fixing prerequisites to fix prerequisites
- "Boyscout overload" — leaving every file you touch cleaner than you found it (good in principle, bad in PRs)
- "Feature creep" — adding related-but-not-requested functionality
Output Format
When flagging scope creep:
⚠️ SCOPE GUARD: About to modify [file] because [reason].
This is [in scope / out of scope] because [explanation].
[Proceeding / Stopping and parking this for later.]Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

