← ClaudeAtlas

scope-guardlisted

Detects scope creep by quantifying drift percentage. Auto-triggered by L1 orchestrators when files exceed the original plan. Compares git changes against plan, classifies drift into 4 tiers: ON_TRACK, MINOR_DRIFT, SIGNIFICANT_DRIFT, OUT_OF_CONTROL.
Rune-kit/rune · ★ 75 · AI & Automation · score 86
Install: claude install-skill Rune-kit/rune
# scope-guard ## Purpose Passive scope monitor. Reads the original task plan, inspects current git diff to see what files have changed, and compares them against the planned scope. Flags any unplanned additions as scope creep with specific file-level detail. ## Called By (inbound) - Auto-triggered by L1 orchestrators when files changed exceed plan expectations ## Calls (outbound) None — pure L3 monitoring utility. ## Executable Instructions ### Step 1: Load Plan Read the original task/plan from one of these sources (check in order): 1. TodoWrite task list — read active todos as the planned scope 2. `.rune/progress.md` — use `Read` on `D:\Project\.rune\progress.md` (or equivalent path) 3. If neither exists, ask the calling skill to provide the plan as a text description Extract from the plan: - List of files/directories expected to be changed - List of features/tasks planned - Any explicitly out-of-scope items mentioned ### Step 2: Assess Current Work Run `Bash` with git diff to see what has actually changed: ```bash git diff --stat HEAD ``` Also check staged changes: ```bash git diff --stat --cached ``` Parse the output to extract the list of changed files. ### Step 3: Compare For each changed file, determine if it is: - **IN_SCOPE**: file matches a planned file/directory or is a natural dependency of planned work - **OUT_OF_SCOPE**: file is not mentioned in the plan and is not a direct dependency Rules for "natural dependency" (counts as IN_SCOPE): - Test