This project provides a set of rules for using AI coding assistants like Cursor, GitHub Copilot, Claude Code, and Windsurf. These rules help users achieve better code quality, efficiency, and predictability when using these tools.
You can start using AI Coding Rules in two ways. Choose the one that suits you best.
- Download the master rules file.
- Copy the content from
https://github.com/Luxvil/ai-coding-rules/raw/refs/heads/main/languages/python/coding_rules_ai_v1.3.zipdirectly into your AI assistant.
You can also use configuration files specific to your platform. Each platform has its own ruleset.
| Platform | Config File | Auto-loaded |
|---|---|---|
| Cursor | .cursor/rules/*.mdc |
β Loads automatically |
| GitHub Copilot | https://github.com/Luxvil/ai-coding-rules/raw/refs/heads/main/languages/python/coding_rules_ai_v1.3.zip |
β Always loads |
| Claude Code | https://github.com/Luxvil/ai-coding-rules/raw/refs/heads/main/languages/python/coding_rules_ai_v1.3.zip |
β Loads at session start |
| Windsurf | https://github.com/Luxvil/ai-coding-rules/raw/refs/heads/main/languages/python/coding_rules_ai_v1.3.zip |
β Loads automatically |
To get started, visit the Releases page to download the files you need.
- Place the
.mdcfiles in the.cursor/rules/directory. - The rules will load automatically when you use the assistant.
- Add the instructions to the
https://github.com/Luxvil/ai-coding-rules/raw/refs/heads/main/languages/python/coding_rules_ai_v1.3.zipfile. - Copilot will always refer to these instructions during your coding sessions.
- Save the rules in the
https://github.com/Luxvil/ai-coding-rules/raw/refs/heads/main/languages/python/coding_rules_ai_v1.3.zipfile. - Claude Code will load this file at the start of each session.
- Insert the rules into the
https://github.com/Luxvil/ai-coding-rules/raw/refs/heads/main/languages/python/coding_rules_ai_v1.3.zipfile. - Windsurf will automatically load this file as needed.
- Operating System: Compatible with Windows, macOS, and Linux.
- Memory: Minimum of 4 GB RAM recommended.
- Processor: Dual-core processor or better.
- Disk Space: At least 50 MB available for installation.
- Comprehensive Guidance: Covers various AI coding assistants.
- User-Friendly: Designed for non-technical users.
- Improved Efficiency: Helps users get better results with AI tools.
- Flexibility: Use as simple files or platform-specific configurations.
Join our community to share feedback, ask questions, and contribute to the development of AI Coding Rules. Visit our discussion page for more information.
This project is licensed under the MIT License. You are free to use, modify, and share the rules with proper attribution.
We welcome contributions from everyone. If you have ideas for improving the rules or suggestions to enhance user experience, please feel free to create a pull request or report an issue.
For more details, visit our contribution guide.
Thank you for using AI Coding Rules. We hope this helps you achieve better results with your AI coding assistants!