ea-validate
Skill3 starsChanged 3 months agoMITView on GitHub
Run and interpret the deterministic EA model validation gate. Use when asked to check, validate, review or lint an architecture model, when a model build fails, before promoting content from staging to approved, or when investigating ArchiMate relationship errors, provenance failures or model quality findings.
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 59
Never "fix" this by editing the oracle.
- Very specific: line 61
PROV003-- quote not found: Treat this as a factual error, not a formatting nit. - Very specific: line 71
Do not re-pin to make it green.
- Very specific: line 89
Run easkills promote --root <repo> --dry-run -- it validates the merged result by approved-zone standards, which is the actual bar.
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Validating the model
easkills validate --root <repo> --zone approved # default zone
easkills validate --root <repo> --zone staging
easkills validate --root <repo> --json report.json # machine-readable
easkills validate --root <repo> --strict # warnings fail tooExit code 0 means no errors; 1 means errors (or, under --strict, warnings). The
compiler refuses to run on a model with errors, so this gate is what stands between a
proposal and a published model.
Zone semantics: staging validates as an overlay on approved -- staging is a
proposed delta, so its relationships may reference approved elements and a same-id
concept is an update proposal. The promotion gate (easkills promote
--dry-run) validates the merged result by approved-zone standards instead; content
that merely warns in staging can block there (ownership, review dates).
The full rule catalogue with severities is in docs/RULES.md. Read it rather than
guessing what a code means.
How to work a failing report
Fix in this order -- earlier layers cause spurious findings in later ones:
SCHEMA*-- structural problems. A file that does not parse produces no concepts, so everything downstream looks empty.ID*/REF*-- identifiers and references. A dangling endpoint suppresses the semantic check for that relationship, soREL001may be hiding behindREF001.PROV*-- traceability.GOV*-- ownership and review metadata.REL*,NAME*,SMELL*-- semantics and quality.
Cap the repair loop at three iterations. Beyond three passes, fixes stop converging; what follows is invented remedies and churn. If findings survive three attempts, stop and report precisely what is unresolved, which rule fires, and what you think the underlying modelling question is. An escalated open question is a useful outcome; a model bludgeoned into passing is not.
Interpreting the findings that matter
REL001 -- relationship not permitted. The ArchiMate 3.2 matrix has spoken; it is
vendored from Archi's own rule table, not recalled from memory. The message lists what is
permitted between those two element types, and says explicitly when the relationship is
legal in the opposite direction, which is the usual cause. Two honest fixes: swap the
endpoints, or pick a permitted type. A third, sometimes correct, fix: the element types
are wrong -- if you find yourself wanting Node --Assignment--> ApplicationComponent, the
model is missing an Artifact.
Never "fix" this by editing the oracle.
PROV003 -- quote not found. Treat this as a factual error, not a formatting nit. It
means the model asserts a source says something it does not say. Either locate the real
sentence and quote it verbatim, or -- if the claim genuinely is not in the sources --
convert the concept to assumed: true with a rationale. Do not go looking for a different
document that happens to contain similar words.
PROV004 -- approximate match. Someone paraphrased. Replace with the verbatim
sentence.
ORACLE001 -- oracle drift. A vendored rule file no longer matches its pinned hash.
Do not re-pin to make it green. Find out what changed: git diff oracle/. Re-pinning
(easkills pin-oracle) is correct only when the change is a deliberate,
reviewed oracle update -- for example moving to a newer Archi revision.
GOV001 / GOV002 in approved. Ownership is not paperwork; unowned content is the
documented mechanism by which EA repositories rot. Find the accountable team, do not
invent an address.
SMELL001 -- isolated element. Usually one of three real things: the element is
genuinely unused and should be retired, its dependencies were never captured (go back to
the sources), or it was modelled speculatively and should not exist.
REL002 -- structural cycle. Composition and aggregation express containment;
containment cannot be circular. Something in that chain is a different relationship --
often serving, association or flow.
Before promoting staging to approved
Run easkills promote --root <repo> --dry-run -- it validates the merged
result by approved-zone standards, which is the actual bar. Confirm: zero errors,
GOV001/GOV002 resolved (warnings in staging, errors at the gate), every PROV006
assumption either confirmed into evidence or consciously accepted, and every warning
either fixed or explained. The promotion itself is the ea-approve skill's job and
requires an explicit human decision -- which is why that skill is invoked by the human
(/ea-skills:ea-approve) rather than loaded on your initiative.
Then compile, because passing validation and producing an openable model are different claims:
easkills compile --root <repo> --zone approvedReporting back
Lead with the verdict and the counts, then the findings that need a human decision --
grouped by underlying cause rather than listed rule by rule. Ten SMELL001 warnings from
one unfinished modelling session are one finding, not ten. State clearly what you fixed,
what you could not, and what you deliberately left. Do not describe a model as validated
when warnings remain unexplained.
In this repository25 other files it gives its agents.
- ea-adrSkill
- ea-ai-governanceSkill
- ea-alignSkill
- ea-approveSkill
- ea-boardSkill
- ea-capability-mapSkill
- ea-change-triageSkill
- ea-checkSkill
- ea-complianceSkill
- ea-contextSkill
- ea-delta-ingestSkill
- ea-dispensationSkill
- ea-docsSkill
- ea-evalSkill
- ea-healthSkill
- ea-importSkill
- ea-intakeSkill
- ea-modelSkill
- ea-regulatorySkill
- ea-runSkill
- ea-securitySkill
- ea-serviceSkill
- ea-stakeholdersSkill
- ea-standards-baseSkill
- ea-viewsSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

