Evaluators are YAML files under evaluators/agent/ or evaluators/mcp/ at the repo root. Adding one needs no code. After adding or editing, run npm run build:catalog to rebuild the skill catalogs.
Minimal evaluator
Fields
Optional fields
Standards → auto-derived suites
Setting a standards key automatically includes the evaluator in the matching suite.
Don’t use ref: or mitre: keys — the pre-commit hook rejects them on staged evaluator files.
Directory layout for many patterns
When patterns are long or numerous, split them into their own files:
Validate
Both run on pre-commit via Husky. validate:skills checks frontmatter against its own Zod schema, which is a separate, hand-maintained copy of the runtime loader’s schema. When you add a new standards key, update both so the check and the engine stay in sync.