AI SummaryWindsurf Rules for ai-pr-reviewer establishes coding pattern preferences and best practices to guide AI code review decisions, helping teams maintain clean, consistent codebases without duplication or unnecessary pattern changes.
Install
Copy this and paste it into Claude Code, Cursor, or any AI assistant:
I want to add the "ai-pr-reviewer — Windsurf Rules" prompt rules to my project. Repository: https://github.com/codeanu/ai-pr-reviewer Please read the repo to find the rules/prompt file, then: 1. Download it to the correct location (.cursorrules, .windsurfrules, .github/prompts/, or project root — based on the file type) 2. If there's an existing rules file, merge the new rules in rather than overwriting 3. Confirm what was added
Description
Windsurf Rules for ai-pr-reviewer
Coding pattern preferences
– Always prefer simple solutions – Avoid duplication of code whenever possible, which means checking for other areas of the codebase that might already have similar code and functionality – Write code that takes into account the different environments: dev, test, and prod – You are careful to only make changes that are requested or you are confident are well understood and related to the change being requested – When fixing an issue or bug, do not introduce a new pattern or technology without first exhausting all options for the existing implementation. And if you finally do this, make sure to remove the old implementation afterwards so we don’t have duplicate logic. – Keep the codebase very clean and organized – Avoid writing scripts in files if possible, especially if the script is likely only to be run once – Avoid having files over 200–300 lines of code. Refactor at that point. – Mocking data is only needed for tests, never mock data for dev or prod
Discussion
Health Signals
My Fox Den
Community Rating
Sign in to rate this booster
Works With
Any AI assistant that accepts custom rules or system prompts