scope-guard

Solid

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.

AI & Automation 75 stars 20 forks Updated 1 weeks ago MIT

Install

View on GitHub

Quality Score: 86/100

Stars 20%
63
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# 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...

Details

Author
Rune-kit
Repository
Rune-kit/rune
Created
3 months ago
Last Updated
1 weeks ago
Language
JavaScript
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category