GOAL.md gives agents measurable goals
GOAL.md is an open-source goal-specification pattern for coding agents. It packages a fitness function, improvement loop, action catalog, operating modes, and constraints so a repo can be optimized even when the right metric has to be constructed first.
This is less a prompt template than a control system for autonomous coding: define "better" numerically, and the agent can grind toward it without gaming the metric.
- –Best for optimization loops like flaky tests, docs quality, link integrity, and performance budgets
- –The split-score pattern is the standout: measure the instrument separately so the agent cannot optimize the wrong thing
- –Atomic commits and re-measurement make the loop safer than a plain "keep iterating" prompt
- –The catch is setup cost: you still have to build the ruler before the agent can use it
DISCOVERED
64d ago
2026-03-24
PUBLISHED
64d ago
2026-03-24
RELEVANCE
AUTHOR
Github Awesome