taylormatematica-beep/repoguard

The Architecture Guardian for AI-assisted code. Generate strict .cursorrules and audit PRs.

HTML

0

12 commits

updated Sep 18, 2026

See the code
architecture
claude-code
code-quality
copilot
cursor
cursorrules
devtools
linter
nextjs
windsurf

See what people are saying (1)

README

🛡️ RepoGuard v1.2

The Architecture Guardian for AI-Assisted Codebases.
Stop AI from turning your repository into architectural spaghetti.

License Rules AI Support


⚡ The Problem

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 window or localStorage calls in Server Components.
  • Escape Types: Scatter : any across your codebase to pass compilation.

🚀 Quickstart & Commands

# 1. Generate .cursorrules, CLAUDE.md & Windsurf rules
npx repoguard init

# 2. Run Full Architecture Health Check (Score A+ to F)
npx repoguard audit

# 3. Audit uncommitted git changes in real-time
npx repoguard diff

# 4. Block AI drift before commit (Git Hook)
npx repoguard hook install

# 5. List all 8 active architectural rules
npx repoguard rules

Contributors

taylormatematica-beep/repoguard

The Architecture Guardian for AI-assisted code. Generate strict .cursorrules and audit PRs.

HTML

0

12 commits

updated Sep 18, 2026

See the code
architecture
claude-code
code-quality
copilot
cursor
cursorrules
devtools
linter
nextjs
windsurf

See what people are saying (1)

README

🛡️ RepoGuard v1.2

The Architecture Guardian for AI-Assisted Codebases.
Stop AI from turning your repository into architectural spaghetti.

License Rules AI Support


⚡ The Problem

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 window or localStorage calls in Server Components.
  • Escape Types: Scatter : any across your codebase to pass compilation.

🚀 Quickstart & Commands

# 1. Generate .cursorrules, CLAUDE.md & Windsurf rules
npx repoguard init

# 2. Run Full Architecture Health Check (Score A+ to F)
npx repoguard audit

# 3. Audit uncommitted git changes in real-time
npx repoguard diff

# 4. Block AI drift before commit (Git Hook)
npx repoguard hook install

# 5. List all 8 active architectural rules
npx repoguard rules

Contributors

Languages

HTML

52.8%

JavaScript

47.2%