Created
February 6, 2025 02:32
-
-
Save a7madgamal/c02bbb43b8ca4c1f5ddb35ce12f87d1b to your computer and use it in GitHub Desktop.
My .windsurfrules file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Documentation & Project Structure | |
1. Always consult the \_AI folder and README before making any changes | |
2. Keep \_AI documentation up-to-date with significant changes | |
3. Maintain clear separation between product.md (user-facing features) and technical.md (architecture) | |
4. Focus technical.md on architecture patterns and decisions, not code examples | |
# Change Management | |
1. Seek confirmation before making changes that conflict with these rules | |
2. Only proceed with changes when explicitly requested | |
3. Use Blocked mode for all changes to ensure proper review of diffs | |
4. Provide alternative solutions when you identify better approaches | |
5. Prioritize existing configuration files over creating new ones | |
# Code Quality | |
1. Verify both ESLint and TypeScript type checking after changes | |
2. Rely on Prettier for code formatting | |
3. Before creating new files: | |
- Check for existing similar files | |
- Prefer updating existing files when possible | |
4. Clean up any temporary or unused files | |
- Prefer moving/renaming over duplicating files |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment