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 81 stars 23 forks Updated 4 days ago MIT

Install

View on GitHub

Quality Score: 88/100

Stars 20%
64
Recency 20%
100
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) - `cook` (L1): Phase 6.6 scope drift detection when files touched > planned - `team` (L1): after each parallel workstream completes, before merge - `rescue` (L1): during safeguard phase to detect unplanned changes - `plan` (L2): optional scope validation after plan acceptance ## 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/di...

Details

Author
Rune-kit
Repository
Rune-kit/rune
Created
5 months ago
Last Updated
4 days ago
Language
JavaScript
License
MIT

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category