/entrix:entrixfrom entrix
Bootstraps or repairs Entrix guardrail specs in a repository by discovering real quality signals, generating docs/fitness, and iterating with validation until executable.
Ships in entrix. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Goal: leave the target repository with a working docs/fitness/ configuration
that matches real tooling, is discoverable from the repository entrypoint, and
passes Entrix validation instead of merely looking plausible.
Entrix uses fitness in the evolutionary architecture sense: an executable
check that measures whether a codebase still satisfies a quality or architecture
goal. The user-facing description is "quality guardrail".
This skill now uses a small entrypoint plus reusable spec files under
specs/. Read those specs instead of improvising schema details.
specs/README.md: second-level map of the available specsspecs/schema-frontmatter.spec.md: Entrix-compatible evidence file shapespecs/manifest.spec.md: required manifest.yaml shapespecs/dimension-boundaries.spec.md: how to split or merge dimensionsspecs/dimension-*.spec.md: per-dimension guidanceexamples/: copyable minimal snippets../../tests/fixtures/skill_regression/: bundled repository profiles used by
the skill regression harnessFor any bootstrap or repair task, read in this order:
AGENTS.md and CLAUDE.md if presentpackage.json, pyproject.toml, Cargo.toml, justfile, Makefile.github/workflows/**docs/fitness/** if presentspecs/README.mdspecs/dimension-*.spec.md files needed for the taskexamples/*.md when entry-document or CI-boundary behavior is
ambiguousjust, make, npm run, or
cargo --manifest-path ... when a bare tool invocation would depend on a
subdirectory working directory.fast hard gate. Prefer a locally runnable wrapper, another repo-established
signal, or explicit blocker reporting.execution_scope: ci over leaving that command as a default local metric that will fail on a
fresh machine.100.release_readiness explicitly.api_contract explicitly.Use the standard Entrix shapes only:
dimensionweighttierthresholdmetricssnake_case, for example:
code_qualitytestabilityrelease_readinessapi_contractmanifest.yaml uses:schema: fitness-manifest-v1
evidence_files:
- docs/fitness/code_quality.md
- docs/fitness/testability.md
Never use:
dimensions:weightpass_thresholdmanifest.yamlDetermine the real executable signals from:
justdocs/fitness/**Preferred command order:
Common dimension families:
code_qualitytestability or test_coveragesecurityrelease_readinessapi_contractui_consistencydesign_systemobservability or performanceKeep one stable concern per file. If the repository already separates concerns, do not collapse them into one vague file.
Minimum output for a new repository:
docs/fitness/README.mddocs/fitness/manifest.yamldocs/fitness/review-triggers.yamlcode_quality and testability or another clearly justified test
dimensionKeep the repository entrypoint short:
AGENTS.md exists, add or repair a short fitness section thereCLAUDE.md exists, add or repair the same short fitness section there tooAGENTS.mdCreation rules are strict:
CLAUDE.md when the repository did not already have oneAGENTS.md when CLAUDE.md already exists as the sole
agent entrypoint unless the user explicitly asks for bothAGENTS.mdDo not duplicate the whole rulebook into the entrypoint file. The goal is discoverability from every agent entry document the repository already uses, not just the first one you happen to see.
After generating or repairing docs/fitness/, you MUST validate it yourself.
Use the best available Entrix invocation in this order:
entrix ...uvx --from entrix entrix ...python3 -m entrix ...Run:
entrix validate
entrix run --dry-run
If a fast tier exists or the generated commands are cheap, also run:
entrix run --tier fast
If validation fails because of files you wrote, fix them and re-run validation. Do not stop after the first draft.
Mandatory repair loop:
docs/fitnessentrix validatemanifest.yaml and every evidence fileentrix validate againentrix run --dry-runentrix run --tier fast whenever that tier exists
or the generated commands are cheap enough to execute locallyexecution_scope: ci or another
non-local authority boundary when appropriateWhen validation reports 0% total weight or No metrics matched, check for:
pass_thresholdweightWhen generated commands are semantically wrong, check for:
Cargo.toml lives in a
subdirectoryjust test over a raw cargo nextest variantAGENTS.md and CLAUDE.md files where the generated output updated
only one of themCLAUDE.md where the generated output invented a new
AGENTS.mdThe skill is complete only when all of the following are true:
docs/fitness/ exists and is coherentdocs/fitness/README.md existsmanifest.yaml includes schema: fitness-manifest-v1manifest.yaml lists repo-relative evidence file pathsAGENTS.md and CLAUDE.md
points to the fitness docs consistently100fast hard gate chosen by the skill is locally runnable, or is called
out as a concrete repository blockerentrix run does not execute CI-only metrics unless the user
explicitly asks for that scopeentrix run passes as a whole; soft or advisory metrics that
are expected to fail locally are CI-scoped, zero-weight, or otherwise modeled
so they do not sink the local score below thresholddry-run whenever a cheap
fast-tier run is availableexamples/advisory-probe-metric.md (opens in a new tab)examples/ci-scoped-authoritative-metric.md (opens in a new tab)examples/entry-doc-topology.md (opens in a new tab)examples/minimal-dimension.md (opens in a new tab)examples/release-readiness-build.md (opens in a new tab)examples/runtime-zero-weight-dimension.md (opens in a new tab)examples/toolchain-boundary-ci-scope.md (opens in a new tab)specs/README.md (opens in a new tab)specs/dimension-api-contract.spec.md (opens in a new tab)specs/dimension-boundaries.spec.md (opens in a new tab)specs/dimension-code-quality.spec.md (opens in a new tab)specs/dimension-design-system.spec.md (opens in a new tab)specs/dimension-engineering-governance.spec.md (opens in a new tab)specs/dimension-release-readiness.spec.md (opens in a new tab)specs/dimension-runtime.spec.md (opens in a new tab)specs/dimension-security.spec.md (opens in a new tab)specs/dimension-testability.spec.md (opens in a new tab)specs/dimension-ui-consistency.spec.md (opens in a new tab)specs/manifest.spec.md (opens in a new tab)specs/schema-frontmatter.spec.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
entrix, guardrails, quality-signals, fitness-functions, spec-generation
npx claudepluginhub phodal/entrix --plugin entrixOther plugins' skills for the same job