Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
There was a problem hiding this comment.
Pull Request Overview
This PR updates and significantly expands the cursor/AI agent rules documentation for the MFC project. The update transforms a concise reference into a comprehensive development guide that documents both AI interaction patterns and the project's coding practices.
- Restructures and reformats the existing sections for better readability
- Adds extensive new sections covering file structure, documentation style, error handling, and memory management
- Expands GPU programming guidelines with specific Fypp macro examples and best practices
| --- | ||
|
|
||
| # 3 FYPP Macros for GPU acceleration Pogramming Guidelines (for kernels) | ||
| # 3 FYPP Macros for GPU acceleration Pogramming Guidelines (for GPU kernels) |
There was a problem hiding this comment.
There is a spelling error in the heading: 'Pogramming' should be 'Programming'.
| # 3 FYPP Macros for GPU acceleration Pogramming Guidelines (for GPU kernels) | |
| # 3 FYPP Macros for GPU acceleration Programming Guidelines (for GPU kernels) |
| - Assume free-form Fortran 2008+, `implicit none`, explicit `intent`, and modern intrinsics. | ||
| - Prefer `module … contains … subroutine foo()`; avoid `COMMON` blocks and file-level `include` files. | ||
| - **Read the full codebase and docs *before* changing code.** | ||
| - Docs: <https://mflowcode.github.io/documentation/md_readme.html> and the respository root `README.md`. |
There was a problem hiding this comment.
There is a spelling error: 'respository' should be 'repository'.
| - Docs: <https://mflowcode.github.io/documentation/md_readme.html> and the respository root `README.md`. | |
| - Docs: <https://mflowcode.github.io/documentation/md_readme.html> and the repository root `README.md`. |
This reverts commit e4d00c0.
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||||
User description
Adds a more full description of the cursor/AI rules (also helps just document our code practices). Related to #867
PR Type
Documentation
Description
Expanded Cursor AI rules with comprehensive Fortran/Fypp guidelines
Added detailed sections on file structure, GPU acceleration patterns
Enhanced documentation standards and error handling practices
Included memory management and code quality guidelines
Diagram Walkthrough
File Walkthrough
mfc-agent-rules.mdc
Comprehensive expansion of MFC development guidelines.cursor/rules/mfc-agent-rules.mdc
guidelines