mcpbeat Sign in

Scope Guard Skill for Claude

Scores feature worthiness and enforces branch-size limits against overengineering. Use when evaluating whether a feature belongs in the current scope or branch.

10k tokens
context cost
the whole folder, loaded on every use
6
files
instructions only
0
copies elsewhere
how many repositories repackaged it
324
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/athola/claude-night-market --skill scope-guard

The instruction itself

28 sections, as written by the author

> The cheapest feature is the one you never build.

> Scope-guard weighs each proposed feature against its value,

> its cost, and the branch budget, so only what is earned ships.

Table of Contents

  • Philosophy
  • When to Use
  • When NOT to Use
  • Quick Start
  • 1. Score the Feature
  • 2. Check Against Backlog
  • 3. Verify Branch Budget
  • 4. Monitor Thresholds
  • Core Workflow
  • Step 1: Calculate Worthiness (scope-guard:worthiness-scored))
  • Step 2: Compare Against Backlog (scope-guard:backlog-compared))
  • Step 3: Check Branch Budget (scope-guard:budget-checked))
  • Step 4: Document Decision (scope-guard:decision-documented))
  • Anti-Overengineering Rules
  • Backlog Management
  • Directory Structure
  • Queue Rules
  • Adding to Queue
  • Integration Points
  • With superpowers:brainstorming
  • With superpowers:writing-plans
  • During superpowers:executing-plans
  • Required TodoWrite Items
  • Related Skills
  • Module Reference

Scope Guard

Prevents overengineering by both Claude and human during the

brainstorm, plan, and execute workflow. Forces explicit evaluation of

every proposed feature against business value, opportunity cost, and

branch constraints.

Philosophy

Core Belief: Not all features deserve implementation. Most ideas should be deferred to backlog until proven necessary.

Three Pillars:

  • Worthiness Scoring - Quantify value vs cost before building
  • Opportunity Cost - Compare against existing backlog
  • Branch Discipline - Respect size thresholds

When To Use

  • During brainstorming sessions before documenting designs
  • During planning sessions before finalizing implementation plans
  • When evaluating "should we add this?" decisions
  • Automatically via hooks when branches approach thresholds
  • When proposing new features, abstractions, or patterns

When NOT To Use

  • Bug fixes with clear, bounded scope
  • Documentation-only changes
  • Trivial single-file edits (< 50 lines)
  • Emergency production fixes

Quick Start

1. Score the Feature

Use the Worthiness formula:

(Business Value + Time Criticality + Risk Reduction) / (Complexity + Token Cost + Scope Drift)

Verification: Run the command with --help flag to verify availability.

See decision-framework.md for details.

Thresholds:

  • > 2.0 → Implement now
  • 1.0 - 2.0 → Discuss first
  • < 1.0 → Defer to backlog

2. Check Against Backlog

Compare against docs/backlog/queue.md:

  • Does it beat top queued items?
  • Is there room in branch budget?

3. Verify Branch Budget

Default: 3 major features per branch

If at capacity, must drop existing feature, split to new branch, or justify override.

4. Monitor Thresholds

Watch for Yellow/Red zones:

  • Lines: 1000/1500/2000
  • Commits: 15/25/30
  • Days: 3/7/7+

See branch-management.md for monitoring.

Core Workflow

Step 1: Calculate Worthiness (scope-guard:worthiness-scored)

Score each factor (1, 2, 3, 5, 8, 13):

  • Value Factors: Business Value, Time Criticality, Risk Reduction
  • Cost Factors: Complexity, Token Cost, Scope Drift

Details: decision-framework.md

Step 2: Compare Against Backlog (scope-guard:backlog-compared)

  • Check docs/backlog/queue.md for existing items
  • Compare Worthiness Scores
  • New item must beat top queued item OR fit within branch budget

Step 3: Check Branch Budget (scope-guard:budget-checked)

Count current features in branch. If at budget (default: 3), new feature requires:

  • Dropping an existing feature, OR
  • Splitting to new branch, OR
  • Explicit override with justification

Step 4: Document Decision (scope-guard:decision-documented)

Record outcome:

  • Implementing: Note Worthiness Score and budget slot
  • Deferring (MANDATORY STEPS):
  • Create GitHub issue immediately - See

github-integration.md

Steps 1-3

  • Mark scope-guard:github-issue-created complete
  • Create Discussion - See

github-integration.md

Step 4.

Prompt: "Creating a Discussion with full reasoning context. [Y/n]"

Publishing is the default. If the user explicitly declines,

skip Discussion creation. If publishing fails, continue.

  • Optionally add to docs/backlog/queue.md with issue link
  • Rejecting: Document why (low value, out of scope)

IMPORTANT: Deferral is NOT complete until a GitHub issue exists. This prevents context loss when branches are merged or abandoned.

Anti-Overengineering Rules

Key Principles:

  • Ask clarifying questions BEFORE proposing solutions
  • No abstraction until 3rd use case
  • Defer "nice to have" features
  • Stay within branch budget

See anti-overengineering.md for full rules and red flags.

Backlog Management

Directory Structure

**Verification:** Run the command with `--help` flag to verify availability.
docs/backlog/
├── queue.md              # Active ranked queue
└── archive/
    ├── ideas.md          # Deferred feature ideas
    ├── optimizations.md  # Deferred performance work
    ├── refactors.md      # Deferred cleanup
    └── abstractions.md   # Deferred patterns

Verification: Run the command with --help flag to verify availability.

Queue Rules

  • Max 10 items in active queue
  • Items older than 30 days without pickup → move to archive
  • Re-score monthly or when project context changes

Adding to Queue

When deferring, add to docs/backlog/queue.md:

| Rank | Item | Worthiness | Added | Branch/Epic | Category |
|------|------|------------|-------|-------------|----------|
| 1 | [New item description] | 1.8 | 2025-12-08 | current-branch | idea |

Verification: Run the command with --help flag to verify availability.

Re-rank by Worthiness Score after adding.

Integration Points

With superpowers:brainstorming

At end of brainstorming, before documenting design:

  • List all proposed features/components
  • Score each with Worthiness formula
  • Defer items scoring < 1.0 to backlog
  • Check branch budget for remaining items

Self-invoke prompt: "Before documenting this design, let me evaluate the proposed features with scope-guard."

With superpowers:writing-plans

Before finalizing implementation plan:

  • Verify all planned items have Worthiness > 1.0
  • Compare against backlog queue
  • Confirm within branch budget
  • Document any deferrals

Self-invoke prompt: "Before finalizing this plan, let me verify scope with scope-guard."

During superpowers:executing-plans

Periodically during execution:

  • Run threshold check: lines, files, commits, days
  • Warn if Yellow zone reached
  • Require justification if Red zone reached

Self-invoke prompt: "This branch has grown significantly. Let me check scope-guard thresholds."

Required TodoWrite Items

When evaluating a feature, create these todos:

  • scope-guard:worthiness-scored
  • scope-guard:backlog-compared
  • scope-guard:budget-checked
  • scope-guard:github-issue-created (MANDATORY if deferring - blocks step 5)
  • scope-guard:decision-documented

Note: Step 4 (github-issue-created) is REQUIRED when deferring items. You cannot mark decision-documented complete without first completing github-issue-created for deferrals.

  • superpowers:brainstorming - Ideation workflow this guards
  • superpowers:writing-plans - Planning workflow this validates
  • imbue:review-core - Review methodology pattern
  • imbue:karpathy-principles - Compact four-principle synthesis covering scope, simplicity, surgical edits, and verifiable goals
  • See docs/quality-gates.md#skill-level-quality-gate-composition for the full gate-skill federation graph

Module Reference

  • decision-framework.md - Worthiness formula, scoring, thresholds
  • github-integration.md - MANDATORY issue creation for deferrals
  • anti-overengineering.md - Rules, patterns, red flags
  • branch-management.md - Thresholds, monitoring, zones
  • baseline-scenarios.md - Testing scenarios and validation

Exit Criteria

  • [ ] Every proposed feature has a Worthiness Score computed from the

formula `(Business Value + Time Criticality + Risk Reduction) /

(Complexity + Token Cost + Scope Drift)` and a disposition:

implement (>2.0), discuss (1.0-2.0), or defer (<1.0)

  • [ ] Deferred items have a GitHub issue created before

scope-guard:decision-documented is marked complete; the issue

URL is recorded in the todo

  • [ ] Branch budget checked: if at 3 major features, a new feature

requires dropping an existing one, splitting to a new branch, or

an explicit written override with justification

  • [ ] Branch threshold zones checked (lines 1000/1500/2000, commits

15/25/30, days 3/7/7+); Yellow zone triggers a warning, Red zone

blocks without justification

Other skills for the same job

different authors, same section of the catalogue
Protocolsio Integration
by christophacham
×4

Integration with protocols.io API for managing scientific protocols. This skill should be used when working with protocols.io to search, create, update, or publish protocols; manage protocol steps and materials; handle discussions and comments; organize workspaces; upload and manage files; or integrate protocols.io functionality into workflows. Applicable for protocol discovery, collaborative protocol development, experiment tracking, lab protocol management, and scientific documentation.

16k tokens
Tailored Resume Generator
by frostant
×4

Analyzes job descriptions and generates tailored resumes that highlight relevant experience, skills, and achievements to maximize interview chances

3k tokens
Excalidraw Diagram Generator
by github
vendor ×3

Generate Excalidraw diagrams from natural language descriptions. Use when asked to "create a diagram", "make a flowchart", "visualize a process", "draw a system architecture", "create a mind map", or "generate an Excalidraw file". Supports flowcharts, relationship diagrams, mind maps, and system architecture diagrams. Outputs .excalidraw JSON files that can be opened directly in Excalidraw.

36k tokens scripts
Expo Dev Client
by openai
vendor ×3

Build and distribute Expo development clients locally or via TestFlight

961 tokens
Executing Plans
by ZhanlinCui
×3

Use when you have a written implementation plan to execute in a separate session with review checkpoints

542 tokens
Anndata
by christophacham
×3

Data structure for annotated matrices in single-cell analysis. Use when working with .h5ad files or integrating with the scverse ecosystem. This is the data format skill—for analysis workflows use scanpy; for probabilistic models use scvi-tools; for population-scale queries use cellxgene-census.

16k tokens
Benchling Integration
by christophacham
×3

Benchling R&D platform integration. Access registry (DNA, proteins), inventory, ELN entries, workflows via API, build Benchling Apps, query Data Warehouse, for lab data management automation.

14k tokens
Biopython
by christophacham
×3

Comprehensive molecular biology toolkit. Use for sequence manipulation, file parsing (FASTA/GenBank/PDB), phylogenetics, and programmatic NCBI/PubMed access (Bio.Entrez). Best for batch processing, custom bioinformatics pipelines, BLAST automation. For quick lookups use gget; for multi-service integration use bioservices.

24k tokens

How to use it

Copy the folder

Take athola/scope-guard from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.