The best code style guide is the one your team already follows. This tool discovers it.
Let a little AI magic loose in your repo: context42 explores your codebase, chats with Google Gemini, and conjures up custom style guides for every language it finds.
- Recursively discovers code files in your project, respects your .gitignore
- Groups files by language extension
- Runs Gemini CLI concurrently and recursively to analyze code patterns
- Generates style guides (py.md, ts.md, go.md, etc.) based on your actual code
Output: context42's style guides for this repo's .ts and .tsx code.
Every codebase has implicit style rules. The problem is they're locked in developers' heads.
New team members guess. PRs get bikeshedded. Time gets wasted on "should we use interface or type?" when the answer is already in your code—if you look at the patterns.
Context42 makes the implicit explicit. It reads your code like a new developer would, but with perfect memory and pattern recognition.
Install deps with mise install, then pnpm install, then check out the justfile for other commands.
Requires Node.js 22+ and a Gemini API key.
"Good code has a rhythm. This tool finds it."
.png)




