commit
Create git commits with user approval and no Claude attribution
Check for violations of the Correct Scope principle
$ npx -y skills add dcouple/Pane --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
/scopeContext preview
What this command does when you run it.
Check for violations of the Correct Scope principle
allowed-tools: Bash(git diff:*), Bash(git log:*), Bash(git show:*), Bash(git rev-parse:*), Bash(git branch:*), Read, Grep, Glob, TodoWrite description: Check for violations of the Correct Scope principle
You are reviewing code changes for violations of the **Correct Scope** principle.
A PR should address ONE thing, not three bundled together.
**Problems with multi-objective PRs:**
**One objective = clearer, more reviewable.**
# Get current branch git rev-parse --abbrev-ref HEAD # Get changed files with stats git diff main...HEAD --stat # Get list of changed files git diff main...HEAD --name-only # Get commit messages git log main...HEAD --oneline
Group files by type:
For each changed file, ask:
List each distinct objective found.
Red flags:
# Correct Scope Report
**Branch:** {branch}
**Status:** {PASS | WARN | FAIL}
## Summary
{One sentence assessment of PR scope}
## PR Statistics
- **Files changed:** {count}
- **Insertions:** {count}
- **Deletions:** {count}
- **Modules touched:** {list}
## Objectives Identified
### Primary Objective
{Main purpose of this PR}
### Secondary Objectives (if any)
1. {objective 2}
2. {objective 3}
## Scope Assessment
### Files by Objective
**Objective 1: {name}**
- {file1}
- {file2}
**Objective 2: {name}** (if multiple objectives)
- {file3}
- {file4}
### Scope Issues Found
| Issue | Files Involved | Recommendation |
|-------|----------------|----------------|
| {issue type} | {files} | {what to do} |
## "While I Was In Here" Changes
{List any changes that appear unrelated to the main objective}
| File | Change | Belongs To |
|------|--------|------------|
| {file} | {what changed} | {which objective, or "unrelated"} |
## Recommendations
### If PR Should Be Split
Suggested split:
1. **PR 1: {objective}**
- {file list}
2. **PR 2: {objective}**
- {file list}
### If PR Is Fine
{Explanation of why the scope is acceptable}
## Verdict
{Clear statement: Is this PR correctly scoped or should it be split?}1. Save report to `tmp/review-scope-{branch}.md` 2. Present summary:
Run this analysis now on the current branch.
Repo: dcouple/Pane
Create git commits with user approval and no Claude attribution
You are tasked with creating detailed implementation plans through an interactive, iterative process. You should be skeptical, thorough, and work…
Generate comprehensive PR descriptions following repository templates
You are tasked with implementing an approved technical plan from `thoughts/shared/plans/`. These plans contain phases with specific changes and success…
Iterate on existing implementation plans with thorough research and updates
You are tasked with conducting comprehensive research across the codebase to answer user questions. You will spawn one or more parallel sub-agents to perform…