From entrix
Sets up or repairs Entrix fitness specs in repositories by discovering real quality signals from manifests and CI, generating docs/fitness, and iterating until valid and executable.
npx claudepluginhub phodal/entrix --plugin entrixThis skill uses the workspace's default tool permissions.
Goal: leave the target repository with a working `docs/fitness/` configuration
examples/advisory-probe-metric.mdexamples/ci-scoped-authoritative-metric.mdexamples/entry-doc-topology.mdexamples/minimal-dimension.mdexamples/release-readiness-build.mdexamples/runtime-zero-weight-dimension.mdexamples/toolchain-boundary-ci-scope.mdspecs/README.mdspecs/dimension-api-contract.spec.mdspecs/dimension-boundaries.spec.mdspecs/dimension-code-quality.spec.mdspecs/dimension-design-system.spec.mdspecs/dimension-engineering-governance.spec.mdspecs/dimension-release-readiness.spec.mdspecs/dimension-runtime.spec.mdspecs/dimension-security.spec.mdspecs/dimension-testability.spec.mdspecs/dimension-ui-consistency.spec.mdspecs/manifest.spec.mdspecs/schema-frontmatter.spec.mdAssesses codebase for AI agent readiness by detecting stacks, monorepos, git setup, and evaluating style, testing, code quality, secrets, and file sizes.
Bootstraps repositories with harness engineering scaffolding: AGENTS.md orientation map, docs/ system of record, boundary tests, linter rules, CI pipeline, GC scripts. Use for new projects, agent-readiness, or architecture boundaries.
Audits repository for baseline compliance across 9 categories: configuration, code quality, git hygiene, CI/CD, testing, security, documentation. Outputs Markdown checklist report and JSON sidecar.
Share bugs, ideas, or general feedback.
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.
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 available