fitness-functions SKILL.md skillA

fitness-functions from fabiandistler/agents is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add fabiandistler/agents/fitness-functions@git:20261025.ebda69c

Pins git:20261025.ebda69c in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
fabiandistler/agents
Path
skills/fitness-functions/SKILL.md
Versions recorded
5
Latest version
git:20261025.ebda69c, committed Oct 25, 2026
First version recorded
Oct 22, 2026
Size
9,365 bytes
Repository stars
2
License
none declared

Designs and implements architecture fitness functions — automated CI checks that fail the build when a characteristic such as modularity, layering, coupling, security, or resilience erodes. Use when making CI enforce architecture rules.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Fitness Functions

## When to use

Whenever someone wants to "enforce architecture rules", "stop devs from
breaking the layering", "prevent cyclic dependencies", "add an ArchUnit /
dependency-cruiser / import-linter test", "automate architecture governance",
or "keep the architecture from eroding", asks how to make an architectural
decision stick in CI, or mentions fitness functions, evolutionary
architecture, or chaos engineering as governance — even without the term
"fitness function". Not for measuring the current coupling/cohesion of
existing code (→ `members/coupling-cohesion/SKILL.md`) or choosing an
architecture in the first place (→ `members/architecture-pattern-advisor/SKILL.md`); both
are read via the `architecture` router.

An **architecture fitness function** is any automated check that scores how close the codebase or running system stays to the architect's intent — a perspective on tools you already have (tests, metrics, monitors, chaos), wired into CI so important-but-never-urgent concerns like modularity don't erode one import at a time.

Concrete tool-by-tool implementations live in
[references/tooling-catalog.md](references/tooling-catalog.md) — read it once
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add fabiandistler/agents/fitness-functions@sha256:229d30f8a97ce13a

The line at the top of this page pins the label git:20261025.ebda69c, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_klufuhuqavbgek4h.svg)](https://markdownregistry.com/a/art_klufuhuqavbgek4h)

0 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Oct 22, 2026 and Oct 25, 2026, more than one a day.

versioncommittedcommitsizeaudit
git:20261025.ebda69c latest2026-10-25 ebda69c 9,365 BA view · diff
git:20261022.e36090b2026-10-22 e36090b 9,254 BA view · diff
git:20261022.3709a342026-10-22 3709a34 9,207 BA view · diff
git:20261022.fb6cdfc2026-10-22 fb6cdfc 9,173 BA view · diff
git:20261022.e7a86a82026-10-22 e7a86a8 10,147 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (9365 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

fabiandistler/agents · 2 stars · license none declared · pushed 2026-11-01 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_klufuhuqavbgek4h
GET https://markdownregistry.com/api/v1/resolve?ref=fabiandistler/agents/fitness-functions
GET https://markdownregistry.com/api/v1/blob/229d30f8a97ce13ad7c280627fc80fb8a09d55c5e06d21e4ad8232b10750f547

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from fabiandistler/agents

chief-of-staff SKILL.md skill
fabiandistler/agents · .claude/skills/chief-of-staff/SKILL.md · Pursue a long-running goal in a single session by co-ordinating subagents.
git:20261020.384aec7 · audit A · 2 stars
code-review SKILL.md skill
fabiandistler/agents · .claude/skills/code-review/SKILL.md · Review the changes since a fixed point (commit, branch, tag, or merge-base) along two axes: Standards (does the code…
git:20261013.8a329a6 · audit A · 2 stars
codebase-design SKILL.md skill
fabiandistler/agents · .claude/skills/codebase-design/SKILL.md · Shared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find…
git:20260930.0a9e31d · audit A · 2 stars
diagnosing-bugs SKILL.md skill
fabiandistler/agents · .claude/skills/diagnosing-bugs/SKILL.md · Diagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports…
git:20261013.8a329a6 · audit A · 2 stars
domain-modeling SKILL.md skill
fabiandistler/agents · .claude/skills/domain-modeling/SKILL.md · Build and sharpen a project's domain model. Use when discussing codebase terminology, writing or editing a GLOSSARY.md…
git:20260930.0a9e31d · audit A · 2 stars
grill-me SKILL.md skill
fabiandistler/agents · .claude/skills/grill-me/SKILL.md · A relentless interview to sharpen a plan or design.
git:20260930.0a9e31d · audit B · 2 stars
grill-with-docs SKILL.md skill
fabiandistler/agents · .claude/skills/grill-with-docs/SKILL.md · A relentless interview to sharpen a plan or design, which also creates docs (ADR's and glossary) as we go.
git:20260930.0a9e31d · audit A · 2 stars
grilling SKILL.md skill
fabiandistler/agents · .claude/skills/grilling/SKILL.md · Grill the user relentlessly about a plan, decision, or idea. Use when the user wants to stress-test their thinking, or…
git:20261013.8a329a6 · audit A · 2 stars
handoff SKILL.md skill
fabiandistler/agents · .claude/skills/handoff/SKILL.md · Compact the current conversation into a handoff document for another agent to pick up.
git:20261013.8a329a6 · audit A · 2 stars
implement-spec SKILL.md skill
fabiandistler/agents · .claude/skills/implement-spec/SKILL.md · Implement the result of /to-spec and /to-tickets in code.
git:20260930.0a9e31d · audit A · 2 stars
implement SKILL.md skill
fabiandistler/agents · .claude/skills/implement/SKILL.md · Implement a piece of work based on a spec or set of tickets.
git:20261013.8a329a6 · audit A · 2 stars
pr SKILL.md skill
fabiandistler/agents · .claude/skills/pr/SKILL.md · Use when writing a PR body.
git:20260930.0a9e31d · audit A · 2 stars

Every file in fabiandistler/agents

Other files named fitness-functions

fitness-functions SKILL.md skill
habitat-thinking/ai-literacy-superpowers · ai-literacy-superpowers/skills/fitness-functions/SKILL.md · Use when designing architectural fitness functions as GC rules — periodic checks that verify system-wide properties…
git:20260407.30b182c · audit A · 119 stars
fitness-functions SKILL.md skill
andreibesleaga/gabbe · plugins/gabbe-architecture/skills/fitness-functions/SKILL.md · Define objective, measurable tests for architectural characteristics and wire them into CI as automated, continuous…
git:20261014.de0823c · audit A · 23 stars

Browse by kind, by grade A, or by owner.