feat(projman): add plan-then-batch skill optimization #421

Merged
lmiranda merged 51 commits from feat/plan-then-batch-optimization into development 2026-02-04 00:59:04 +00:00
Owner

Summary

  • Add plan-then-batch execution pattern to reduce skill-related token consumption by ~76-83%
  • Promote mcp-tools-reference and batch-execution to frontmatter for planner/orchestrator agents
  • Replace flat "Skills to Load" with phase-based "Skill Loading Protocol"
  • Restructure planning-workflow.md Steps 8-10 for batch execution

Token Impact

Scenario Before After Savings
6-issue sprint (planning) ~23,800 lines ~5,600 lines ~76%
10-issue sprint (planning) ~35,000 lines ~7,000 lines ~80%
8-issue status updates ~9,600 lines ~1,600 lines ~83%

Test Plan

  • Run /sprint-plan with small scope (2-3 issues)
  • Verify execution manifest appears before issue creation
  • Verify batch API calls without skill re-reads
  • Verify batch report format

🤖 Generated with Claude Code

## Summary - Add plan-then-batch execution pattern to reduce skill-related token consumption by ~76-83% - Promote `mcp-tools-reference` and `batch-execution` to frontmatter for planner/orchestrator agents - Replace flat "Skills to Load" with phase-based "Skill Loading Protocol" - Restructure `planning-workflow.md` Steps 8-10 for batch execution ## Token Impact | Scenario | Before | After | Savings | |----------|--------|-------|---------| | 6-issue sprint (planning) | ~23,800 lines | ~5,600 lines | ~76% | | 10-issue sprint (planning) | ~35,000 lines | ~7,000 lines | ~80% | | 8-issue status updates | ~9,600 lines | ~1,600 lines | ~83% | ## Test Plan - [ ] Run `/sprint-plan` with small scope (2-3 issues) - [ ] Verify execution manifest appears before issue creation - [ ] Verify batch API calls without skill re-reads - [ ] Verify batch report format 🤖 Generated with [Claude Code](https://claude.com/claude-code)
lmiranda added 51 commits 2026-02-04 00:58:28 +00:00
Reviewed-on: #265
Reviewed-on: #271
Reviewed-on: #280
Reviewed-on: #283
Reviewed-on: #286
Reviewed-on: #289
Reviewed-on: #293
Reviewed-on: #299
Reviewed-on: #301
Reviewed-on: #311
Reviewed-on: #314
Reviewed-on: #316
Reviewed-on: #318
Reviewed-on: #320
Reviewed-on: #326
Reviewed-on: #328
Reviewed-on: #330
Reviewed-on: #333
Reviewed-on: #335
Reviewed-on: #337
Reviewed-on: #339
Reviewed-on: #341
Reviewed-on: #343
Reviewed-on: #345
Reviewed-on: #347
Reviewed-on: #349
Reviewed-on: #352
Reviewed-on: #354
Reviewed-on: #372
Reviewed-on: #379
Reviewed-on: #381
Reviewed-on: #383
Reviewed-on: #385
Reviewed-on: #388
Reviewed-on: #390
Reviewed-on: #392
Reviewed-on: #394
Reviewed-on: #396
Reviewed-on: #398
Reviewed-on: #400
Reviewed-on: #402
Reviewed-on: #404
Reviewed-on: #406
Reviewed-on: #408
Reviewed-on: #410
Reviewed-on: #412
Reviewed-on: #414
Reviewed-on: #416
Reviewed-on: #418
Reviewed-on: #420
Separate cognitive work from mechanical API execution to reduce
skill-related token consumption by ~76-83% during sprint workflows.

Changes:
- Add batch-execution.md skill with 4-phase protocol
- Promote mcp-tools-reference and batch-execution to frontmatter
  for planner and orchestrator agents (auto-injected, zero re-read)
- Replace "Skills to Load" with phase-based "Skill Loading Protocol"
- Restructure planning-workflow.md Steps 8-10 for batch execution
- Update agent matrix in CLAUDE.md and docs/CONFIGURATION.md
- Add Phase-Based Skill Loading documentation section
- Clean up .gitignore (transient files, dev symlinks)

Token impact:
- 6-issue sprint planning: ~76% reduction
- 10-issue sprint planning: ~80% reduction
- 8-issue status updates: ~83% reduction

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
lmiranda merged commit c6182a3fda into development 2026-02-04 00:59:04 +00:00
lmiranda deleted branch feat/plan-then-batch-optimization 2026-02-04 00:59:04 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: personal-projects/leo-claude-mktplace#421