Refactored commands to extract reusable skills following the Commands → Skills separation pattern. Each command is now <50 lines and references skill files for detailed knowledge. Plugins refactored: - claude-config-maintainer: 5 commands → 7 skills - code-sentinel: 3 commands → 2 skills - contract-validator: 5 commands → 6 skills - data-platform: 10 commands → 6 skills - doc-guardian: 5 commands → 6 skills (replaced nested dir) - git-flow: 8 commands → 7 skills Skills contain: workflows, validation rules, conventions, reference data, tool documentation Commands now contain: YAML frontmatter, agent assignment, skills list, brief workflow steps, parameters Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
49 lines
1.1 KiB
Markdown
49 lines
1.1 KiB
Markdown
---
|
|
description: Show diff between current CLAUDE.md and last commit
|
|
---
|
|
|
|
# Compare CLAUDE.md Changes
|
|
|
|
Show differences between CLAUDE.md versions to track configuration drift.
|
|
|
|
## Skills to Load
|
|
|
|
- skills/visual-header.md
|
|
- skills/diff-analysis.md
|
|
|
|
## Visual Output
|
|
|
|
Display: `CONFIG-MAINTAINER - CLAUDE.md Diff`
|
|
|
|
## Usage
|
|
|
|
```
|
|
/config-diff # Working vs last commit
|
|
/config-diff --commit=abc1234 # Working vs specific commit
|
|
/config-diff --from=v1.0 --to=v2.0 # Compare two commits
|
|
/config-diff --section="Critical Rules" # Specific section only
|
|
```
|
|
|
|
## Workflow
|
|
|
|
1. Find project's CLAUDE.md file
|
|
2. Show diff against target revision
|
|
3. Group changes by affected sections
|
|
4. Explain behavioral implications
|
|
|
|
## Options
|
|
|
|
| Option | Description |
|
|
|--------|-------------|
|
|
| `--commit=REF` | Compare against specific commit |
|
|
| `--from=REF` | Starting point |
|
|
| `--to=REF` | Ending point (default: HEAD) |
|
|
| `--section=NAME` | Show only specific section |
|
|
| `--stat` | Statistics only |
|
|
|
|
## When to Use
|
|
|
|
- Before committing CLAUDE.md changes
|
|
- Reviewing changes after pull
|
|
- Debugging unexpected behavior
|