Add single-line visual headers to 66 command files across 10 plugins: - clarity-assist (2 commands): 💬 - claude-config-maintainer (5 commands): ⚙️ - cmdb-assistant (11 commands): 🖥️ - code-sentinel (3 commands): 🔒 - contract-validator (5 commands): ✅ - data-platform (10 commands): 📊 - doc-guardian (5 commands): 📝 - git-flow (8 commands): 🔀 - pr-review (7 commands): 🔍 - viz-platform (10 commands): 🎨 Each command now displays a consistent header at execution start: ┌────────────────────────────────────────────────────────────────┐ │ [icon] PLUGIN-NAME · Command Description │ └────────────────────────────────────────────────────────────────┘ Addresses #275 (other plugin commands visual output) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
85 lines
2.5 KiB
Markdown
85 lines
2.5 KiB
Markdown
# /git-status - Enhanced Status
|
|
|
|
## Visual Output
|
|
|
|
When executing this command, display the plugin header:
|
|
|
|
```
|
|
┌──────────────────────────────────────────────────────────────────┐
|
|
│ 🔀 GIT-FLOW · Status │
|
|
└──────────────────────────────────────────────────────────────────┘
|
|
```
|
|
|
|
Then proceed with the status display.
|
|
|
|
## Purpose
|
|
|
|
Show comprehensive git status with recommendations and insights.
|
|
|
|
## Behavior
|
|
|
|
### Output Format
|
|
|
|
```
|
|
═══════════════════════════════════════════
|
|
Git Status: <repo-name>
|
|
═══════════════════════════════════════════
|
|
|
|
Branch: feat/password-reset
|
|
Base: development (3 commits ahead, 0 behind)
|
|
Remote: origin/feat/password-reset (synced)
|
|
|
|
─── Changes ───────────────────────────────
|
|
|
|
Staged (ready to commit):
|
|
✓ src/auth/reset.ts (modified)
|
|
✓ src/auth/types.ts (modified)
|
|
|
|
Unstaged:
|
|
• tests/auth.test.ts (modified)
|
|
• src/utils/email.ts (new file, untracked)
|
|
|
|
─── Recommendations ───────────────────────
|
|
|
|
1. Stage test file: git add tests/auth.test.ts
|
|
2. Consider adding new file: git add src/utils/email.ts
|
|
3. Ready to commit with 2 staged files
|
|
|
|
─── Quick Actions ─────────────────────────
|
|
|
|
• /commit - Commit staged changes
|
|
• /commit-push - Commit and push
|
|
• /commit-sync - Full sync with development
|
|
|
|
═══════════════════════════════════════════
|
|
```
|
|
|
|
## Analysis Provided
|
|
|
|
### Branch Health
|
|
- Commits ahead/behind base branch
|
|
- Sync status with remote
|
|
- Age of branch
|
|
|
|
### Change Categories
|
|
- Staged (ready to commit)
|
|
- Modified (not staged)
|
|
- Untracked (new files)
|
|
- Deleted
|
|
- Renamed
|
|
|
|
### Recommendations
|
|
- What to stage
|
|
- What to ignore
|
|
- When to commit
|
|
- When to sync
|
|
|
|
### Warnings
|
|
- Large number of changes (consider splitting)
|
|
- Old branch (consider rebasing)
|
|
- Conflicts with upstream
|
|
|
|
## Output
|
|
|
|
Always produces the formatted status report with context-aware recommendations.
|