Skip to content

[caveman] Optimize instruction verbosity — developer.instructions.md (2026-05-01)#29490

Merged
pelikhan merged 1 commit intomainfrom
caveman/optimize-developer-instructions-2026-05-01-40abe2e593a1bdc8
May 1, 2026
Merged

[caveman] Optimize instruction verbosity — developer.instructions.md (2026-05-01)#29490
pelikhan merged 1 commit intomainfrom
caveman/optimize-developer-instructions-2026-05-01-40abe2e593a1bdc8

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot commented May 1, 2026

Caveman Optimization Run — 2026-05-01

Applies the caveman optimization principle to instruction files:

"Why use many token when few do trick."

Files Optimized

File Before After Removed
.github/agents/developer.instructions.md ~761 lines ~647 lines Table of Contents (19 lines), 4 mermaid diagrams redundant with adjacent text (48 lines), 14 "Implementation: See scratchpad/..." dead references (47 lines)

What Was Changed

developer.instructions.md: Removed the 17-entry Table of Contents (pure navigation — agents read the full file). Removed 4 mermaid decision-flow diagrams (Capitalization, Breaking Changes, Testing Strategy, Hierarchical Agent Management) that fully duplicate information in the adjacent rules/tables. Removed 14 "Implementation: See scratchpad/..." footnotes that point to files not accessible to agents and add no instruction signal.

What Was Preserved

All technical rules, Go file conventions, validation architecture details, YAML 1.1 gotchas, security patterns, code examples, repo-memory configuration, PR deduplication protocol, and the 6 mermaid diagrams that encode unique decision logic not covered elsewhere.

Round-Robin Progress

Processed files 0–4 of 20 total files in the queue.

Generated by Daily Caveman Optimizer · ● 486.7K ·

  • expires on May 4, 2026, 9:32 AM UTC

Removes pure-navigation Table of Contents, 4 mermaid diagrams fully
redundant with adjacent text/tables, and 14 "Implementation: See
scratchpad/..." references that point to files agents cannot access.
All technical rules, code examples, and security constraints preserved.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions github-actions Bot added automation documentation Improvements or additions to documentation prompt-quality labels May 1, 2026
@pelikhan pelikhan merged commit 0b1b18d into main May 1, 2026
@pelikhan pelikhan deleted the caveman/optimize-developer-instructions-2026-05-01-40abe2e593a1bdc8 branch May 1, 2026 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automation documentation Improvements or additions to documentation prompt-quality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant