Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Modern Fortran rules for scientific computing, modules, explicit interfaces, kind parameters, memory safety, and testing
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | 53% | 0% |
| case-10 | ✗→✓ | ▲ Improved | 40% | 0% |
| case-02 | ✓→✓ | = Same ✓ | 15% | 0% |
| case-03 | ✓→✓ | = Same ✓ | 6% | 0% |
| case-04 | ✓→✓ | = Same ✓ | 56% | 0% |
Modern Fortran rules for scientific computing, modules, explicit interfaces, kind parameters, memory safety, and testing
Synced from https://github.com/PatrickJS/awesome-cursorrules/tree/main/rules/fortran.mdc.
implicit none in every program unit.kind_mod.real(kind=dp) or the project-approved real kind for floating point values.integer(kind=i4) or the project-approved integer kind for integer values.end statements.do, if, select case, and module blocks.intent(in), intent(out), or intent(inout) for every dummy argument.use, only: when importing from modules.random_number is a function; it is a subroutine.Other measured skills in the registry, with their headline benchmark lift.