--- name: diff description: Compare configuration with backup aliases: [config-diff, compare] invokes: command:diff --- # Diff Command Compare current configuration with a backup to see what changed. ## Usage ``` /diff # Compare with latest backup /diff --backup # Compare with specific backup /diff --list # List available backups /diff --json # Output as JSON ``` ## Implementation ```bash python3 ~/.claude/automation/config-diff.py [options] ``` ## Output Shows changes grouped by type: - **Added** - New files in current config - **Removed** - Files that existed in backup but not now - **Changed** - Modified files with details For JSON files, shows which keys were added/removed/changed.