In progress
context-pilot
Tells an AI agent which other files usually change when it touches one, right as it touches it.
Why I built it
Coding agents are good at finding code, but they forget the test, the template or the config file that always goes with it. That isn't in the code: it's in the git history.
How it works
- 01Walks the git history and counts which files change together in the same commits, weighting recent history more and combining it with imports and tests.
- 02Every time Claude Code edits a file, a hook tells it right away which others usually go with it. And before it calls the task done, it checks whether any was left out.
- 03Installs as a Claude Code plugin, with its MCP server, a skill and a small Haiku agent that reviews a plan's impact for almost nothing. All on your machine.
Try it
Click a file to see which ones usually change with it.
auth.ts
changes with
- auth.test.ts82%
- middleware.ts61%
- app.ts18%
Example repo. The percentage is how likely the other file is to change when yours does.
What I learned
That a tool the agent has to remember to use ends up unused. It went from waiting to be asked to speaking up on its own at the right moment, and that's when it became genuinely useful.
Built with
TypeScriptNode.jsMCPGitClaude Code plugin