Modern Fortran rules for scientific computing, modules, explicit interfaces, kin

Modern Fortran rules for scientific computing, modules, explicit interfaces, kin is a skill for Claude Code, Codex from AmariahAK/atlarix-skills. It costs 14 tokens per session (687 once invoked), scanned A, original, Apache-2.0.

Coding guidelines for modern Fortran, a programming language still used heavily in scientific and numerical computing. They cover program structure, numeric types, memory safety, and tests.

In plain words
What is it for?
Use them when writing or reviewing scientific Fortran code, especially modules, numerical calculations, derived data types, and tests.
Why use it?
They reduce common Fortran problems such as hidden type mistakes, unclear procedure interfaces, obsolete control flow, and inconsistent numeric precision.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use them when writing or reviewing scientific Fortran code, especially modules, numerical calculations, derived data types, and tests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/amariahak/atlarix-skills/acr-fortran
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add AmariahAK/atlarix-skills --skill acr-fortran
Clone the repo
git clone --depth 1 https://github.com/AmariahAK/atlarix-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for Modern Fortran rules for scientific computing, modules, explicit interfaces, kin

README.md
[![agentmods](https://agentmods.dev/badge/skills/amariahak/atlarix-skills/acr-fortran/github.svg)](https://agentmods.dev/skills/amariahak/atlarix-skills/acr-fortran)
Your own site
<a href="https://agentmods.dev/skills/amariahak/atlarix-skills/acr-fortran"><img src="https://agentmods.dev/badge/skills/amariahak/atlarix-skills/acr-fortran/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for Modern Fortran rules for scientific computing, modules, explicit interfaces, kin

Your own site · 80×15
<a href="https://agentmods.dev/skills/amariahak/atlarix-skills/acr-fortran"><img src="https://agentmods.dev/badge/skills/amariahak/atlarix-skills/acr-fortran.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 687 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00014 $0.00687
Opus 5 $0.00007 $0.00344
Sonnet 5 $0.00003 $0.00137
Haiku 4.5 $0.00001 $0.00069

Measured 12d ago against content hash 733797d0e4b2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

Modern Fortran rules for scientific computing, modules, explicit interfaces, kin scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/acr-fortran/SKILL.md · 78 lines

How it starts

The opening of the file, as written. The whole thing — 78 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Modern Fortran rules for scientific computing, modules, explicit interfaces, kin

When to use this skill

Modern Fortran rules for scientific computing, modules, explicit interfaces, kind parameters, memory safety, and testing

Source

Synced from https://github.com/PatrickJS/awesome-cursorrules/tree/main/rules/fortran.mdc.

Fortran Programming Guidelines

Basic Principles

  • Use modern Fortran standards such as Fortran 2003, 2008, or newer.
  • Use implicit none in every program unit.
  • Put procedures in modules to provide explicit interfaces.
  • Keep modules focused and place each major module in its own file.
  • Prefer clear, structured code over clever language tricks.
  • Avoid obsolete features such as COMMON blocks, GOTO-heavy control flow, and numeric labels.

Kinds and Types

  • Define numeric kind parameters in one shared module, such as kind_mod.
  • Use real(kind=dp) or the project-approved real kind for floating point values.
  • Use integer(kind=i4) or the project-approved integer kind for integer values.
  • Define constants such as pi explicitly.
  • Include units in comments for physical quantities.
  • Use derived types to group related data instead of passing many primitive arguments.

Naming and Style

  • Use lowercase for language keywords and most identifiers.
  • Use underscores for multi-word names.
  • Avoid names that differ only by case.
  • Use descriptive names for procedures and state.
  • Repeat the procedure or module name after end statements.
  • Keep indentation consistent in do, if, select case, and module blocks.

Procedures

  • Keep subroutines and functions short and single-purpose.
  • Use intent(in), intent(out), or intent(inout) for every dummy argument.
  • Keep functions free of side effects whenever possible.
  • Prefer early validation and clear returns over deep nesting.
  • Use use, only: when importing from modules.

Memory and Arrays

  • Prefer allocatable arrays over pointers unless pointer semantics are required.
  • Check allocation state and array sizes before use.
  • Deallocate allocatable arrays when their lifetime is not naturally scoped.
  • Specify array bounds clearly when they matter.
  • Avoid unnecessary dynamic allocation in hot loops.

Read the full file on GitHub · 78 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 78 lines · 14 tokens per session scan A 733797d0e4b2

Subscribe to this mod's changes

Modern Fortran rules for scientific computing, modules, explicit interfaces, kin is a skill published in the GitHub repository AmariahAK/atlarix-skills (2 stars, last pushed 5d ago), licensed Apache-2.0. It adds 14 tokens to every session and 687 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

quantum-qiskit

Reference qiskit 2.x patterns for variational quantum machine learning. Covers data-encoding feature maps, variational quantum classifier (VQC) training, variational quantum eigensolver (VQE) for chemistry, matrix-product-state circuits, and noise model integration. Use when writing Python code that imports qiskit…

aiming-lab/AutoResearchClaw · 102 tokens

rust-project

Modern Rust project architecture guide for 2025. Use when creating Rust projects (CLI, web services, libraries). Covers workspace structure, error handling, async patterns, and idiomatic Rust best practices.

majiayu000/spellbook · 43 tokens

typescript-project

Modern TypeScript project architecture guide for 2025. Use when creating new TS projects, setting up configurations, or designing project structure. Covers tech stack selection, layered architecture, and best practices.

majiayu000/spellbook · 42 tokens

zig-project

Modern Zig project architecture guide. Use when creating Zig projects (systems programming, CLI tools, game dev, high-performance services). Covers explicit allocators, comptime, error handling, and build system.

majiayu000/spellbook · 43 tokens

figma-to-code

Extract Figma designs and generate production-ready React/Next.js components with TypeScript, Tailwind CSS, and pixel-perfect accuracy. Use when a user provides a Figma URL or asks to convert Figma designs to code.

majiayu000/spellbook · 50 tokens

github-trending

A research and reporting skill for finding popular open-source projects on GitHub and analyzing technology trends. GitHub Trending is a list of repositories receiving notable recent attention.

majiayu000/spellbook · 81 tokens