nlewis84/ai-rules

Rules that I use for Cursor

3Stars on the repository
14Mods indexed here, across every type
1mo agoLast push, which is what freshness is scored on
GPL-3.0Licence, which decides whether bodies are shown

brainstorming

01

nlewis84/ai-rules

Cursor rule Cursor

Interactive idea refinement using Socratic method to develop fully-formed designs.

not rated 3 1mo ago A 14 tokens GPL-3.0

defense-in-depth

03

nlewis84/ai-rules

Cursor rule Cursor

Validate at every layer data passes through to make bugs impossible.

not rated 3 1mo ago A 11 tokens GPL-3.0

pr-descriptions

04

nlewis84/ai-rules

Cursor rule Cursor

Guidelines for generating concise, well-structured GitHub PR descriptions with clear issue tracking, solution summaries, and testing instructions. Use fixed emoji section headings (Issue, Solution, To Test, and Screenshots when the change is user-facing UI). Write To Test steps for non-dev QA: plain language…

not rated 3 changed 1mo ago A 2,639 tokens GPL-3.0

nlewis84/ai-rules

Cursor rule Cursor

Recognize when disagreements reveal valuable context, preserve multiple valid approaches instead of forcing premature resolution.

not rated 3 1mo ago A 17 tokens GPL-3.0

root-cause-tracing

06

nlewis84/ai-rules

Cursor rule Cursor

Systematically trace bugs backward through call stack to find original trigger.

not rated 3 1mo ago A 12 tokens GPL-3.0

spec-generation

07

nlewis84/ai-rules

Cursor rule Cursor

Defines principles and structure for generating technical specification documents appropriate for principal-level developers who value clarity, testing, and following established patterns over custom solutions.

not rated 3 1mo ago A 27 tokens GPL-3.0

nlewis84/ai-rules

Cursor rule Cursor

Four-phase debugging framework that ensures root cause investigation before attempting fixes. Never jump to solutions.

not rated 3 1mo ago A 18 tokens GPL-3.0

nlewis84/ai-rules

Cursor rule Cursor

Never test mock behavior. Never add test-only methods to production classes. Understand dependencies before mocking. Avoid unreachable assertions and dead branches in tests that confuse coverage.

not rated 3 changed 1mo ago A 31 tokens GPL-3.0

nlewis84/ai-rules

Cursor rule Cursor

Write clear, concrete prose; avoid AI fingerprints and prefab phrasing. Sources: Orwell (Politics and the English Language), tropes.fyi.

not rated 3 1mo ago A 4,717 tokens GPL-3.0

nlewis84/ai-rules

Cursor rule Cursor

Five-step TDD flow for Linear issue plans - RED, GREEN, REVERT, REWRITE, REFACTOR. Use when creating a plan for a new Linear issue.

not rated 3 1mo ago A 611 tokens GPL-3.0

nlewis84/ai-rules

Cursor rule Cursor

Use actions for mutations and redirects (faster time to paint), loaders only for initial GET requests with minimal data. Actions run before loaders on POST requests.

not rated 3 1mo ago A 31 tokens GPL-3.0

At most 3 mods per repository are shown here, and a mod shipped inside a plugin is left to that plugin's page — the rest are on their repository pages: