Hasty Briefsbeta

Bilingual

Show HN: Context42 – capture your coding style from across your projects

9 months ago
  • #automation
  • #code-style
  • #developer-tools
  • Context42 is a tool that generates custom style guides for your codebase by analyzing existing patterns.
  • It recursively discovers code files, groups them by language, and uses Google Gemini to analyze patterns.
  • Generates style guides (e.g., py.md, ts.md, go.md) based on your actual code.
  • Supports CLI commands for directory analysis, custom output locations, and concurrency settings.
  • Helps make implicit style rules explicit, reducing guesswork and PR debates.
  • Requires Node.js 22+ and a Gemini API key for operation.