AcademyRulesDevelopment

Fortran Programming Guidelines

Engineering and research teams that maintain Fortran code and want the AI editor to follow one consistent style.

  • Recommendedour rating
  • 40,892repository stars
  • CC0-1.0licence
  • 4 months agolast update
mkdir -p .cursor/rules && curl -fsSL https://raw.githubusercontent.com/PatrickJS/awesome-cursorrules/main/rules/fortran.mdc -o .cursor/rules/fortran.mdc
fortran.mdc

Loading the file...

What it does

A Cursor rules file with guidelines for writing Fortran. It asks for modern standards, implicit none in every program unit, procedures placed in modules, shared kind parameters and explicit intent on every argument. It also covers naming and style, and avoiding obsolete features such as COMMON blocks.

Use cases

  1. 01Write new Fortran modules with explicit interfaces
  2. 02Review legacy code for COMMON blocks and numeric labels
  3. 03Keep naming and indentation consistent across a codebase

Questions about
Fortran Programming Guidelines.

What is Fortran Programming Guidelines used for?

Engineering and research teams that maintain Fortran code and want the AI editor to follow one consistent style. A Cursor rules file with guidelines for writing Fortran. It asks for modern standards, implicit none in every program unit, procedures placed in modules, shared kind parameters and explicit intent on every argument. It also covers naming and style, and avoiding obsolete features such as COMMON blocks.

How do I install Fortran Programming Guidelines?

Run this in your terminal: mkdir -p .cursor/rules && curl -fsSL https://raw.githubusercontent.com/PatrickJS/awesome-cursorrules/main/rules/fortran.mdc -o .cursor/rules/fortran.mdc

Is Fortran Programming Guidelines open source?

Yes. The code is on GitHub (PatrickJS/awesome-cursorrules) under the CC0-1.0 licence.

Is Fortran Programming Guidelines safe to use?

It passed our automatic scan for credential theft, hidden instructions and risky install commands. Third party open source software. Sabemos AI does not maintain it. Check the code and permissions before you connect it to company data.