Skip to content

Add Cursor User Rules based on the book#35

Merged
sapegin merged 10 commits intomasterfrom
cursor-rules
Aug 15, 2025
Merged

Add Cursor User Rules based on the book#35
sapegin merged 10 commits intomasterfrom
cursor-rules

Conversation

@sapegin
Copy link
Copy Markdown
Owner

@sapegin sapegin commented Jul 17, 2025

No description provided.

@sapegin sapegin requested a review from Copilot July 17, 2025 16:14

This comment was marked as outdated.

Repository owner deleted a comment from coderabbitai Bot Jul 17, 2025
@sapegin sapegin requested a review from Copilot July 20, 2025 08:43
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds user rules for Cursor AI based on clean code principles from the "Washing your code" book. The changes provide comprehensive coding guidelines for JavaScript/TypeScript and Python that can be applied globally across all projects using Cursor AI.

  • Adds clean code user rules for JavaScript/TypeScript with 10 core principles covering loops, conditions, naming, and React patterns
  • Includes Python-specific clean code rules with similar principles adapted for Python development
  • Provides setup documentation and examples for implementing these rules in Cursor AI

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
eslint.config.mjs Adds the new Rules.md file to ESLint ignore list
ai/Rules.md Core clean code rules for JavaScript/TypeScript with examples and best practices
ai/Readme.md Documentation explaining how to set up and use Cursor AI User Rules
ai/Python.md Python-specific clean code rules with comprehensive examples and patterns

Comment thread ai/Rules.md Outdated
Comment thread ai/Rules.md Outdated
sapegin and others added 3 commits July 20, 2025 10:44
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@sapegin sapegin marked this pull request as ready for review August 15, 2025 15:20
@sapegin sapegin merged commit 901a326 into master Aug 15, 2025
1 check passed
@sapegin sapegin deleted the cursor-rules branch August 15, 2025 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants