commit
Create git commits with user approval and no Claude attribution
**Read-only code quality analysis for small to medium changes.**
$ npx -y skills add dcouple/Pane --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
/simpleContext preview
What this command does when you run it.
**Read-only code quality analysis for small to medium changes.**
**Read-only code quality analysis for small to medium changes.**
Safe to run anytime. Analyzes code against codebase patterns and writes refactor plan without modifying files.
Fast, focused code quality analysis that: 1. Classifies your changes (size, type, complexity) 2. Checks applicable patterns from CLAUDE.md files 3. Identifies code smells and pattern violations 4. Generates refactor plan with auto-fixable and manual issues 5. Writes plan to `./tmp/` for review
For large features (>10 files, >500 lines), use `/deep-refactor` instead.
git diff main --name-status git diff main --numstat git diff main --stat
**Determine:**
**Pattern Matrix:**
**Universal Patterns (Always Checked):**
**Architecture Patterns (Medium+):**
**Read changed files:**
git diff main --name-only
**Check patterns from:**
**Study exemplar files:**
**Universal Smells:**
**Backend Smells:**
**Frontend Smells:**
**Configuration Object Pattern Violations:**
Write refactor plan to `./tmp/simple-refactor-plan-[timestamp].md`:
# Simple Refactor Plan ## Classification - Size: [X] - Type: [X] - Complexity: [X] - Patterns Applied: [List] ## Quality Score: X/10 ## Issues Found ### Critical (Must Fix) - [file:line] Description → Fix: How to fix → Auto-fixable: Yes/No ### Warnings (Should Fix) - [file:line] Description → Suggestion: Improvement → Auto-fixable: Yes/No ### Info (Nice to Have) - [file:line] Suggestion ## Auto-Fixable Issues: X - Convert relative imports to @/ aliases - Remove unused imports - Fix formatting issues ## Manual Fixes Required: Y - [Specific issues requiring human judgment] ## Pattern Compliance ✓/✗ Import conventions ✓/✗ Controller-service separation ✓/✗ TanStack Query usage ✓/✗ File documentation ## Recommendations 1. Run `/refactor-apply --plan=./tmp/simple-refactor-plan-[TS].md --auto-only` 2. Manually fix [specific issues] 3. Re-run `/simple-refactor` to verify improvements ## References Similar patterns to study: - [Exemplar file paths from codebase] Documentation: - Backend patterns: `apps/api/CLAUDE.md` - Frontend patterns: `apps/webapp/CLAUDE.md` - Hook patterns: `apps/webapp/src/hooks/CLAUDE.md`
**Show results:**
📊 Analysis complete! ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Plan written to: ./tmp/simple-refactor-plan-[timestamp].md Quality Score: X/10 (target: 9.8) Auto-fixable: X issues Manual fixes: Y issues Issues found: - [Critical issues summary] - [Warnings summary] Would you like me to run `/refactor-apply` to implement the fixes? (This will apply auto-fixable changes and guide you through manual fixes)
**IMPORTANT:** Always ask the user before proceeding with fixes. Do not automatically run refactor-apply.
These patterns are enforced by reading the CLAUDE.md files:
1. **Zero relative imports** - Any `../` is a bug (verified via grep) 2. **authenticatedHandler
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…