claude-code-plugin-ref…
Explain plugin, skill, command, agent, and hook mechanics used here. Use when authoring or debugging plugins. Do not use for ops; use night-market-operations.
Scores feature worthiness and enforces branch-size limits against overengineering. Use when evaluating whether a feature belongs in the current scope or branch.
$ npx -y skills add athola/claude-night-market --skill scope-guard --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/scope-guardContext preview
The summary Claude sees to decide when to auto-load this skill.
Scores feature worthiness and enforces branch-size limits against overengineering. Use when evaluating whether a feature belongs in the current scope or branch.
name: scope-guard description: Scores feature worthiness and enforces branch-size limits against overengineering. Use when evaluating whether a feature belongs in the current scope or branch. alwaysApply: false category: workflow-methodology tags: - anti-overengineering - scope - YAGNI - prioritization - backlog dependencies: [] tools: [] usage_patterns: - feature-evaluation - scope-validation - threshold-monitoring - backlog-management complexity: intermediate model_hint: standard estimated_tokens: 2500 modules: - modules/decision-framework.md - modules/github-integration.md - modules/anti-overengineering.md - modules/branch-management.md - modules/baseline-scenarios.md role: library
> 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.
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.
**Core Belief:** Not all features deserve implementation. Most ideas should be deferred to backlog until proven necessary.
**Three Pillars:** 1. **Worthiness Scoring** - Quantify value vs cost before building 2. **Opportunity Cost** - Compare against existing backlog 3. **Branch Discipline** - Respect size thresholds
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](modules/decision-framework.md) for details.
**Thresholds:**
Compare against `docs/backlog/queue.md`:
**Default: 3 major features per branch**
If at capacity, must drop existing feature, split to new branch, or justify override.
Watch for Yellow/Red zones:
See [branch-management.md](modules/branch-management.md) for monitoring.
Score each factor (1, 2, 3, 5, 8, 13):
Details: [decision-framework.md](modules/decision-framework.md)
1. Check `docs/backlog/queue.md` for existing items 2. Compare Worthiness Scores 3. New item must beat top queued item OR fit within branch budget
Count current features in branch. If at budget (default: 3), new feature requires:
Record outcome:
1. **Create GitHub issue immediately** - See [github-integration.md](modules/github-integration.md) Steps 1-3 2. Mark `scope-guard:github-issue-created` complete 3. **Create Discussion** - See [github-integration.md](modules/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. 4. Optionally add to `docs/backlog/queue.md` with issue link
**IMPORTANT:** Deferral is NOT complete until a GitHub issue exists. This prev
A plugin marketplace for Claude Code. Install only the plugins you need to run git workflows, code review, spec-driven development, and autonomous agents from inside your Claude Code session.
Explain plugin, skill, command, agent, and hook mechanics used here. Use when authoring or debugging plugins. Do not use for ops; use night-market-operations.
States load-bearing decisions, invariants, and weak points. Use when judging a design change. Do not use for gating; use night-market-change-control.
Rebuild the dev environment: uv, Python tiers, pins, traps. Use when onboarding or toolchain breaks. Do not use for daily commands; use night-market-operations.
Classify, gate, and review changes. Use when landing a PR, releasing, or amending rules. Do not use for failure triage; use night-market-debugging-playbook.
Search and record project memory (Discussions, journal, ADRs). Use before re-investigating anything. Do not use for settled battles; see failure-archaeology.
Bind loop 'done' to unfakeable gates. Use to harden egregore/herald loops or promote completion_integrity. Not for QA gates; use night-market-validation-and-qa.