BeforeMerge

AI-native code review knowledge base. Structured rules that catch what linters miss.

Product

  • Features
  • Explore
  • Pricing
  • Docs
  • GitHub

Company

  • About
  • Blog
  • Contributors
  • Contributing

Legal

  • Privacy Policy
  • Terms of Service
  • MIT License

© 2026 BeforeMerge. Built by Peter Krzyzek

Explore

Browse 354 rules, 42 knowledge articles, and 28 prompt templates across security, performance, architecture, and quality.

Sort:

Automate these checks on every PR

BeforeMerge scans your pull requests against these rules automatically. Get actionable feedback before code ships to production.

Join WaitlistLearn More

3 prompts matching filters

Extract Reusable Component

Template

Extract a reusable, well-typed component from existing code with proper interface design and documentation.

Refactoringrefactoringcomponents

Refactor for Testability

Template

Restructure code to be more testable by applying dependency injection, interface segregation, and separation of concerns.

Refactoringrefactoringtesting

Simplify Complex Function

Template

Break down a complex, hard-to-read function into smaller, well-named, testable functions with clear responsibilities.

Refactoringrefactoringclean-code
BeforeMerge
Features
Explore
PricingBlogContributorsInstall Guide
3Sign In
FeaturesExplore
RulesSkillsKnowledgePrompts
PricingBlogContributorsInstall Guide
Sign In