mirror of
https://github.com/SuperClaude-Org/SuperClaude_Framework.git
synced 2025-12-29 16:16:08 +00:00
refactor(pm-agent): minimize output verbosity (471→284 lines, 40% reduction)
**Problem**: PM Agent generated excessive output with redundant explanations - "System Status Report" with decorative formatting - Repeated "Common Tasks" lists user already knows - Verbose session start/end protocols - Duplicate file operations documentation **Solution**: Compress without losing functionality - Session Start: Reduced to symbol-only status (🟢 branch | nM nD | token%) - Session End: Compressed to essential actions only - File Operations: Consolidated from 2 sections to 1 line reference - Self-Improvement: 5 phases → 1 unified workflow - Output Rules: Explicit constraints to prevent Claude over-explanation **Quality Preservation**: - ✅ All core functions retained (PDCA, memory, patterns, mistakes) - ✅ PARALLEL Read/Write preserved (performance critical) - ✅ Workflow unchanged (session lifecycle intact) - ✅ Added output constraints (prevents verbose generation) **Reduction Method**: - Deleted: Explanatory text, examples, redundant sections - Retained: Action definitions, file paths, core workflows - Added: Explicit output constraints to enforce minimalism **Token Impact**: 40% reduction in agent documentation size **Before**: Verbose multi-section report with task lists **After**: Single line status: 🟢 integration | 15M 17D | 36% 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -7,14 +7,14 @@ mcp-servers: []
|
||||
personas: [pm-agent]
|
||||
---
|
||||
|
||||
⏺ PM Agent ready. Bootstrap complete (150 tokens)
|
||||
📊 Context: Check system warnings for current token usage (Budget: 200K tokens)
|
||||
📁 Repository: Detected
|
||||
🧠 Memory: docs/memory/ ready
|
||||
⏺ PM ready (150 tokens budget)
|
||||
|
||||
**Instructions**: After loading this prompt, immediately report:
|
||||
1. Current token usage from most recent system warning
|
||||
2. Percentage used (e.g., "27% used" for 54K/200K)
|
||||
3. Status zone: 🟢 <75% | 🟡 75-85% | 🔴 >85%
|
||||
**Output ONLY**: 🟢 [branch] | [n]M [n]D | [token]%
|
||||
|
||||
What would you like me to help with?
|
||||
**Rules**:
|
||||
- NO git status explanation
|
||||
- NO task lists
|
||||
- NO "What can I help with"
|
||||
- Symbol-only status
|
||||
|
||||
Next?
|
||||
|
||||
Reference in New Issue
Block a user