Make a real repository dramatically easier for coding agents to work in, and prove the improvement with numbers.
The brief
Pick a repository you know that has at least a few thousand lines and a test suite: your own project, or an open-source one you are willing to contribute to. Engineer its context, then measure the difference.
Requirements
- Baseline benchmark. 15 to 30 real tasks derived from the repo's history, with automatic success checks, run at least three times each with the repo as it is. Record pass rate, steps, tokens and time.
- Instruction files. A concise AGENTS.md (or equivalent) with commands, layout, conventions and gotchas. Nested files if it is a monorepo.
- Navigation. At least one improvement to discoverability: better naming and READMEs, ignore rules for noise, a repo map or a structural search tool.
- Environment. One-command setup, build, lint and test, with fast subsets and readable failures.
- Skill or subagent. At least one skill for a recurring procedure, or a subagent for heavy exploration, with a precise trigger description.
- MCP or docs. One external knowledge source connected read-only, or versioned docs linked from the instructions.
- Controlled comparison. Re-run the benchmark after each change, so you know which one helped. Include at least one change that did not help.
- Write-up. Before and after results, what you added, what you removed, transcript-based failure analysis and a maintenance plan.
Suggested path
| Step | Output |
|---|---|
| Choose repo and build the benchmark | task set and baseline |
| Fix the environment and feedback loop | one-command checks |
| Write the instruction file | AGENTS.md |
| Improve navigation | search and structure changes |
| Add a skill or subagent | reusable procedure |
| Re-run and compare after each step | results table |
| Write up and publish | public repo or pull request |
Stretch goals
- Contribute the instruction file and environment improvements upstream as a pull request.
- Compare two different agents or models on your benchmark with identical context.
- Add a CI check that fails when documented commands stop working.
- Write a short guide for your team on maintaining the context files.
Share it
Publish your benchmark method and results. A table showing "no context: 9 of 24 tasks; engineered context: 17 of 24 tasks, with half the tokens" is persuasive, and a candid note about what did not help is just as valuable.
Where to go next
Study how interface design changes agent performance.
Follow the open format and see how others structure theirs.
Build or adopt a server that gives agents context from your own systems.