The Architecture Guardian for AI-Assisted Codebases.
Stop AI from turning your repository into architectural spaghetti.
AI coding assistants write 300 lines in 5 seconds. However, without strict repo context, they frequently:
- Bypass Layers: Call Prisma/ORM directly inside UI components and controllers.
- Leak Secrets: Hardcode mock credentials and API tokens.
- Break Hydration: Inject direct
windoworlocalStoragecalls in Server Components. - Escape Types: Scatter
: anyacross your codebase to pass compilation.
npx repoguard init
npx repoguard audit
npx repoguard diff
npx repoguard hook install
npx repoguard rules