feat: Optimize all 18 command files using @include reference system

Major streamlining achievement:
- Eliminate 2,733 lines of duplicate content across commands
- Reduce individual command files by ~70% (130-150 → 35-60 lines)
- Leverage existing shared/*.yml reference patterns
- Maintain full Claude Code compliance

Benefits:
• Single source of truth for universal content
• Guaranteed consistency across all commands
• Dramatically reduced maintenance overhead
• Massive token efficiency improvements

Implementation:
- Universal Legend: @include shared/universal-constants.yml#Universal Legend
- Universal Flags: @include shared/flag-inheritance.yml#Universal_Always
- Command patterns: References to appropriate shared/*.yml files
- Template system: Enhanced command-patterns.yml

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
NomenAK
2025-06-24 22:46:52 +02:00
parent d8727a6a07
commit 219ff3905a
20 changed files with 1127 additions and 3860 deletions

View File

@@ -14,6 +14,31 @@ Command_Header:
Legend: "@cmd-specific legend gen"
Purpose: "[Action][Subject] in $ARGUMENTS"
## Optimized Command File Template
```yaml
# Standard template for all command files using @include references
Optimized_Command_Template: |
@include shared/universal-constants.yml#Universal_Legend
## Command Execution
Execute: immediate. --plan→show plan first
Legend: Generated based on symbols used in command
Purpose: "[Action][Subject] in $ARGUMENTS"
[Command-specific description here]
@include shared/flag-inheritance.yml#Universal_Always
Examples:
- `/{command} --flag` - Description
- `/{command} --other-flag` - Description
- `/{command} --complex-example` - Description
[Command-specific content sections]
@include shared/universal-constants.yml#Success_Messages
## UltraCompressed Command Structure
```yaml