audit-router
Skill4 starsChanged 4 months agoMITView on GitHub
This skill should be used when the user asks to "audit commands", "check command frontmatter", "audit skills", "check skill standards", "validate command/skill health", or invokes `/craft:code:command-audit` or `/craft:code:skill-standards`. Shared vocabulary + reference bodies for craft's two schema-audit commands — both validate craft's own frontmatter (commands/skills/agents vs `_schema.json`, or `skills/**/SKILL.md` vs Anthropic's authoring standards) and share the same `--format`/`--fix` semantics. Not for dependency or docs-site checks — see `/craft:code:deps-audit`, `/craft:code:deps-check`, `/craft:code:docs-check` instead, which are unrelated generic cross-project tools despite living in the same `commands/code/` directory.
In this repository42 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- system-architectSkill
- project-detectorSkill
- command-skill-token-efficiencySkill
- plugin-auditSkill
- sync-featuresSkill
- backend-designerSkill
- devops-helperSkill
- frontend-designerSkill
- git-workflowSkill
- dist-extrasSkill
- distribution-strategistSkill
- homebrew-formula-expertSkill
- homebrew-multi-formulaSkill
- homebrew-setup-wizardSkill
- homebrew-workflow-expertSkill
- architecture-decision-recordsSkill
- changelog-automationSkill
- claude-md-lifecycleSkill
- guard-auditSkill
- hooksSkill
- insights-applySkill
- mode-controllerSkill
- drive-engineSkill
- plan-orchestratorSkill
- repo-triageSkill
- session-stateSkill
- task-analyzerSkill
- workflow-engineSkill
- orchestrator-resilienceSkill
- project-plannerSkill
- preflight-checkSkill
- releaseSkill
- test-generatorSkill
- test-strategistSkill
- adhd-workflowSkill
- brainstorm-insightsSkill
- brainstormSkill
- grillSkill
- prompt-refinerSkill
- background-task-managerSkill
The file
Files
Audit Router — Shared Vocabulary for craft's Schema-Audit Commands
Two commands audit craft's own frontmatter against a schema and share one vocabulary:
| Command | Validates | Against |
/craft:code:command-audit | commands/, skills/, agents/ frontmatter | _schema.json |
/craft:code:skill-standards | skills/**/SKILL.md | vendored Anthropic authoring standards (docs/reference/SKILL-STANDARDS.md) |
Both commands stay independently slash-invocable — this skill holds the shared vocabulary and each command's full reference body, not a replacement entry point.
Shared Flag Vocabulary
Both commands accept the same two flags with the same meaning:
--format terminal|json|markdown— output rendering only, defaultterminal. Never changes what is checked.--fix— auto-fixes safe mechanical issues only, never prose or descriptions:command-audit --fix: removes invalid frontmatter fields, renamesargs→arguments.skill-standards --fix: strips rot-prone version tags from reference headers, normalizes frontmatter key casing/order, inserts TOC stubs in oversized reference files.
Both share the same health-score formula (100 − errors×5 − warnings×2, floored at 0) and the
same exit-code convention (0 clean, 1 warnings-only, 2 errors — command-audit --strict also
treats warnings as errors, matching skill-standards' own error-severity checks).
skill-standards carries one extra flag (--refresh-standards) with no command-audit
equivalent — documented in its own reference only, not promoted to the shared set.
Full Reference Bodies
references/command-audit.md— full command-audit body (what-it-checks table, CI integration, output example, exit codes)references/skill-standards.md— full skill-standards body (what-it-checks table, 5-step remediation flow, auto-fix mode detail, exit codes)
Not This Skill
deps-audit, deps-check, docs-check are not schema-audit-shaped — they're generic
cross-project tools (dependency security/freshness for any project, or a full docs/site
preflight+deploy pipeline) with incompatible flag surfaces. They stay independent commands
with their own bodies, not references under this skill.
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.

