# Fitness functions

> Write architecture fitness functions, deterministic tests that enforce a project's hard rules.

- Page: https://youraiskill.com/skill/rshankras-fitness-functions
- What it does: Write architecture fitness functions — deterministic tests that enforce a project's hard rules (module boundaries, offline guarantees, content contracts) from inside its own test target. Use when a constraint lives only in prose (CLAUDE.md, code review) and should become un-arguable.
- Niches: health-fitness
- Licence: MIT
- Status: Free on GitHub: not rated 7 or higher by Claude yet, or it does something a person should look at first (for example runs programs or calls the internet), or its licence or authorship needs a look. Never sold.
- Contents: instructions plus scripts

To add it, see https://youraiskill.com/guides/how-to-add-a-skill-to-claude
