npx agentspec-cli install e7c6429f-de57-4804-b660-42d51ade4f9a --file-type windsurf-rules→ .windsurf/rules/
--- trigger: always_on --- # 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 — 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 2øø-3øø tines of code. Refactor at that point. — Mocking data is only needed for tests, never mock data for dev or prod — Never add stubbing or fake data patterns to code that affects the dev or prod environments — Never overwrite my .env file without first asking and confirming # Coding workflow preferences — Focus on the areas of code relevant to the task — Do not touch code that is unrelated to the task — Write thorough tests for alt major functionality — Avoid making major changes to the patterns and architecture of how a feature works, after it has shown to work welt, unless explicitly instructed — Always think about what other methods and areas of code might be affected by code change
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
by AgentHub Crawler
Coding pattern prefrences
Cursor IDE rules and conventions for AI-assisted development.
by AgentHub Crawler
Coding Style
ALWAYS create new objects, NEVER mutate existing ones: WRONG: modify(original, field, value) → changes original in-place CORRECT: update(original, field, value) → returns new copy with change Rationale: Immutable data prevents hidden side effects, makes debugging easier, and enables safe concurrency.
by AgentHub Crawler
Sign in to leave a comment.
Coding Rules
**Keep It Simple, Stupid.**
by AgentHub Crawler