Claude plugin for working with the XF Architecture Model (CFAM) from AI assistants. Bundles skills, instructions and helpers so Claude can classify components, scaffold artefacts, review compliance, and answer questions about the XF spec.
Working plugin, version 0.5.0, tracking spec edition XF-CFAM-001:2026.
See plugin/CHANGELOG.md for the release history and
plugin/README.md for install instructions.
- A Claude plugin (
plugin/.claude-plugin/plugin.json) bundling ten skills. - A library of skills that teach Claude to apply XF rules in conversation:
xf-classify,xf-analyze,xf-specify,xf-implement,xf-scaffold,xf-library,xf-review,xf-test,xf-document, andxf-explain. - Shared references under
plugin/skills/_shared/: the modelfoundations(philosophy & particularities), thespecclause map, the synced rulecatalogue/rules-detail, and the@xfcfam/*librariesindex. - Reusable instructions (
AGENTS.md,CLAUDE.md,INSTRUCTIONS.md,.cursorrules) consumable by any agent that wants XF-aware behaviour.
The skills consume the rule catalogue from a shared, synced copy of the xftools validator's documentation:
plugin/skills/_shared/
├── catalogue.md ← copy of xfcfam/tools/README.md
└── rules-detail.md ← copy of xfcfam/tools/RULES.md
These two files are the canonical reference the LLM walks during
xf-review, xf-scaffold, xf-classify and xf-explain. They are
kept in lock-step with the normative spec (xfa-es.tex § 11.3) and the
xftools implementation; whenever the upstream catalogue changes, the
copies are resynced.
To regenerate the shared catalogue from a local checkout of
xfcfam/tools:
bin/sync-from-spec.sh # looks for ../tools/
bin/sync-from-spec.sh /path/to/tools # explicit pathThe script copies README.md and RULES.md byte-for-byte into
plugin/skills/_shared/. Commit the resulting diff.
The catalogue-sync workflow
clones xfcfam/tools and runs diff -u against the shipped copies on
every PR that touches the shared catalogue. Drift fails the check and
prompts the contributor to resync.
The plugin is consumed via Claude's plugin registry, which fetches the repository as a flat tree. Submodules add friction without solving the practical problem (drift detection), which the diff-based CI job covers directly.
- The normative XF specification — see xfcfam/docs.
- TypeScript reference implementation — see xfcfam/lib-npm.
- CLI validator / linter — see xfcfam/tools.
MIT — see LICENSE.
Please report vulnerabilities privately. See SECURITY.md.
This project follows the Contributor Covenant v2.1.