Skill / SKILL.md

Fitness Functions

event-catalog/skills

Writes, runs and debugs EventCatalog architecture fitness functions — TypeScript rules in `*.fitness.ts` files that check the documented architecture (ownership, naming, domain boundaries, dependencies, data access, schemas) and fail CI when it drifts. Turns an architecture rule described in plain language into a working fitness function, places it globally or beside the domain, system, service, message or data store it governs, runs `eventcatalog fitness check`, verifies the result, and wires it into CI. Use when user asks to "write a fitness function", "add an architecture rule", "enforce that every event has an owner", "check domain boundaries", "stop services sharing databases", "detect circular dependencies", "fail the build when the architecture breaks a rule", "run fitness checks in CI", or "why is my fitness function failing".
3 views 16 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Writes, runs and debugs EventCatalog architecture fitness functions — TypeScript rules in `*.fitness.ts` files that check the documented architecture (ownership, naming, domain boundaries, dependencies, data access, schemas) and fail CI when it drifts. Turns an architecture rule described in plain language into a working fitness function, places it globally or beside the domain, system, service, message or data store it governs, runs `eventcatalog fitness check`, verifies the result, and wires it into CI. Use when user asks to "write a fitness function", "add an architecture rule", "enforce that every event has an owner", "check domain boundaries", "stop services sharing databases", "detect circular dependencies", "fail the build when the architecture breaks a rule", "run fitness checks in CI", or "why is my fitness function failing".

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/event-catalog/skills' skill-source

Use the complete skill-source/skills/fitness-functions directory with your client’s skill installer.

  • skills/fitness-functions

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/fitness-functions

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
55f70ef43292b79d7a23085cc3f632480a1f09fb71cb002e57baffc4b0db3be0
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills