commit
Create git commits with user approval and no Claude attribution
Check for anti-patterns and convention violations
$ npx -y skills add dcouple/Pane --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
/antipatternsContext preview
What this command does when you run it.
Check for anti-patterns and convention violations
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 anti-patterns and convention violations
You are reviewing code changes for **anti-patterns** and convention violations.
Avoid async imports mid-code, unused conventions, established pattern violations.
**Note:** Anti-patterns change as codebase evolves. What was acceptable early may become problematic at scale. This is best caught through active research, not static documentation.
# Get current branch git rev-parse --abbrev-ref HEAD # Get changed files git diff main...HEAD --name-only # Get full diff git diff main...HEAD
Read the relevant CLAUDE.md files to understand established patterns:
**Check for:**
**This codebase requires:**
// CORRECT
import { Something } from '@/modules/feature/service';
import { Shared } from '@doozy/shared';
// WRONG
import { Something } from '../../../modules/feature/service';**Check for:**
**Check for:**
**Check for:**
**Check for:**
**Check for:**
**Check for:**
# Anti-Pattern Report
**Branch:** {branch}
**Status:** {PASS | WARN | FAIL}
## Summary
{One sentence assessment}
## Conventions Checked
- [x] Import style (@/ aliases)
- [x] Async/await patterns
- [x] Error handling
- [x] State management (if frontend)
- [x] API patterns (if backend)
- [x] TypeScript usage
- [x] File structure
## Anti-Patterns Found
### Critical (Must Fix)
| Location | Anti-Pattern | Fix |
|----------|--------------|-----|
| {file:line} | {description} | {how to fix} |
### Warnings
| Location | Anti-Pattern | Recommendation |
|----------|--------------|----------------|
| {file:line} | {description} | {suggestion} |
## Import Issues
| File | Current Import | Should Be |
|------|----------------|-----------|
| {file:line} | `{bad import}` | `{correct import}` |
## Async/Await Issues
| Location | Issue | Fix |
|----------|-------|-----|
| {file:line} | {description} | {how to fix} |
## Error Handling Issues
| Location | Issue | Fix |
|----------|-------|-----|
| {file:line} | {description} | {how to fix} |
## TypeScript Issues
| Location | Issue | Fix |
|----------|-------|-----|
| {file:line} | {description} | {how to fix} |
## Recommendations
1. {specific action with file reference}
2. {specific action with file reference}1. Save report to `tmp/review-antipatterns-{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…