Repository navigation
Description
Part of #3464.
Problem
402 skill folders under skills/: 378 are SKILL.md only, 11 also carry metadata.yml, 13 have no SKILL.md, 2 folder names break the spec naming rule. Spec 016 treats metadata.yml as the primary format, which contradicts the spec and the repo.
Non-conforming skills
- No
SKILL.md(13): accessibility-auditor, agent-creator-agent-builder-pack, ai-governance-toolkit-expanded, ai-readiness-agent-knowledge-upload, ai-readiness-template-pack-md, ai-service-templates, claude-skills, design-md-agent, document-skills, lsx-wp-design-system-v2, prd-task-manager-agent-pack, tour-operator-agent-instructions, zendesk-backlog-capability-profile-pack SKILL.mdplusmetadata.yml(11): ai-readiness-assessor, frontmatter-audit, implementation-plan-generator, label-governance, launch-readiness-auditor, pr-review, project-intake-router, task-breakdown-planner, wordpress-block-theme-router, wordpress-plugin-packaging-review, wordpress-theme-validation- Invalid folder names (2):
_template-skill,ai-readiness-orchestrator 2
Change
- Frontmatter limited to the six spec fields:
name,description,license,compatibility,metadata,allowed-tools.nameis 1 to 64 lowercase alphanumerics and single hyphens and equals the folder name;descriptionis 1 to 1024 characters. - Fold
metadata.ymlcontent intoSKILL.mdmetadata; remove the files. - Native validator in
scripts/validation/implementing those rules;skills-refonly as an optional local cross-check (upstream: demonstration only). - Generate the registry and index from
SKILL.mdfrontmatter; stop hand-maintainingskills/SKILL_REGISTRY.json. - Run the frontmatter validator after any bulk rewrite script.
- Keep
SKILL.mdunder 500 lines; move detail intoreferences/. - Update spec 016 (
spec.md,research.md,data-model.md,quickstart.md) toSKILL.md.
Acceptance
- Validator passes on all skills in CI
- No
metadata.ymlunderskills/ - Registry generated from frontmatter
Counterpart history and delivery boundary
The recommended delivery primary for GitHub issue #3467 records active delivery. This record retains the explicit active issue sync and GitHub progress discussion.
Preserve merged validator delivery, dated findings, metadata-file evidence, registry decisions and the format-versus-style distinction alongside the counterpart's implementation comments. Do not reinterpret partial delivery as completion or historical measurements as current counts. The unassigned/Backlog versus Ash/In Progress distinction remains unresolved. No duplicate marking, history transfer, parent change, sync change or closure is authorised.
Metadata
Metadata
Assignees
Type
Fields
Priority
Activity
linear-code commentedon Sep 23, 2026
LS-4232
fix(skills): validate SKILL.md frontmatter against the Agent Skills spec
fix(skills): validate SKILL.md frontmatter against the Agent Skills spec
fix(skills): validate SKILL.md frontmatter against the Agent Skills spec
feat(skills): validate every skill, subagent and agents file by its c…
eleshar commentedon Oct 2, 2026
The validator this issue asked for now exists, in #3717, and runs in CI. Recording which parts of the Change list landed and which did not, checked against
673cb9d9.Landed
name,description,license,compatibility,metadata,allowed-toolsfor an open-spec skill. A field outside the set for its class is a finding.name1–64 lowercase alphanumerics and single hyphens, equal to the folder name — enforced, including the 64-character boundary.description1–1024 characters — enforced for skills. The cap comes from the Agent Skills specification, so it is deliberately not applied to subagents orAGENTS.md; emptiness is still checked on every class.scripts/validation/— yes, one validator rather than two, as fix(validation): validate-skills.js accepts a SKILL.md with no body, which is how 66 empty skills shipped #3707 also asked.skill-specjob runsnpm run validate:skillson every pull request and push, and a finding outsideskills-baseline.jsonfails the run.Not landed
metadata.ymlintoSKILL.mdand remove the files — eleven remain:ai-readiness-assessor,frontmatter-audit,implementation-plan-generator,label-governance,launch-readiness-auditor,pr-review,project-intake-router,task-breakdown-planner,wordpress-block-theme-router,wordpress-plugin-packaging-review,wordpress-theme-validation.skills/SKILL_REGISTRY.json— not done, and the file is currently orphaned: nothing in the repository referencesSKILL_REGISTRY, so it is a stale hand-maintained artifact stampedgenerated: 2026-05-28. Worth deciding whether the registry is still wanted at all before writing a generator for it; nothing reads it.skills-refas an optional local cross-check — not adopted. The rule library cites the specification and the upstream validator as sources in its header comment instead, so rules are traceable without adding a dependency.SKILL.mdunder 500 lines — not enforced. It is a style rule rather than a specification rule, and gating it would produce findings unrelated to conformance.SKILL.md— outside the scope of the validator work.Two corrections found in review, worth knowing before the conformance sweep
Frontmatter was being read with
FAILSAFE_SCHEMA, which resolves every scalar to a string, sodescription: trueandlicense: 42passed the rules written to catch them. Now read withJSON_SCHEMA, which preserves booleans and numbers while leaving ISO dates as strings. This exposed one genuine defect:skills/audit-label-coveragedeclaredversion: 1.0, which YAML parses as the number1. Quoted rather than baselined.Findings are keyed
<path>#<rule>#<subject>. An earlier<path>#<rule>key meant two findings of the same rule in one file collapsed into one baseline entry, so a file baselined for a missingtitlesilently accepted afile_typeremoved later. The subject is the offending field, or the kind of name problem. 754 entries, no duplicates.The baseline is the remaining work list for this issue: a finding in it is a warning, and a finding outside it fails the run.
feat(skills): validate every skill, subagent and agents file against …
eleshar commentedon Oct 2, 2026
Update: #3717 is merged into
developas b028d5d, so the validator half of this issue is delivered and the gate now runs in CI. This issue stays open — the conformance work it describes is not done.Still outstanding, per the earlier breakdown:
metadata.ymlfiles underskills/to fold intoSKILL.md:ai-readiness-assessor,frontmatter-audit,implementation-plan-generator,label-governance,launch-readiness-auditor,pr-review,project-intake-router,task-breakdown-planner,wordpress-block-theme-router,wordpress-plugin-packaging-review,wordpress-theme-validation.skills/SKILL_REGISTRY.json— still orphaned. Nothing in the repository referencesSKILL_REGISTRY; it is a stale hand-maintained file stampedgenerated: 2026-05-28. Decide whether a registry is still wanted before writing a generator for it.Not enforced by the gate, and deliberately so: the 500-line
SKILL.mdguidance (a style rule, not a specification rule) andskills-refas a local cross-check (the rule library cites the specification and the upstream validator as sources instead).eleshar commentedon Oct 2, 2026
Baseline triage: the 754 findings, ordered by cost
#3717 merged the gate. This is the work list it left behind, broken down so the cheapest wins are separable from the expensive ones. Measured against
developat b028d5d.Findings by rule
closed-field-setnamerequired-fieldsvendored-pluginfrontmatter---block.bodymetadatafolder-nameStart here: the 40 subagents missing exactly one field
Of the 159
required-fieldsfindings, 40 are a single missing frontmatter line each — 35 missingtitle, 3 missingfile_type, 2 missingname. These need no judgement, only a value, and each fix retires one baseline entry.The remaining 119 are 35 files missing all three of
title/file_type/last_updatedand 7 missing two. Same shape, more lines.Distribution by missing field across all 159:
title76,last_updated42,file_type39,name2. By file kind: 157 are*.agent.mdsubagent definitions, 2 are top-levelSKILL.md. 82 distinct files. NoAGENTS.mdand no nested agent skill is affected.So this is one coherent batch: agent definitions were never held to the local required set, and #3717 is the first check that does it. The 159 findings are that check reporting pre-existing debt, not 159 new defects.
Worth deciding before the
vendored-pluginbatch16 findings say a directory is vendored third-party material. #3717 exempts vendored roots from the closed-field check for exactly this reason — the code is not ours to change. These 16 look like the same situation recorded as a finding rather than an exemption. Worth checking whether the exemption list is too narrow, rather than filing 16 findings against code that should not be touched.
What I would not do first
closed-field-setat 357 is the biggest block and the least mechanical. Each entry means a file carries a field its class does not permit —type,status,author,tagsand similar are common, and whether to remove them, fold them intometadata, or sanction them per class is a per-field decision, not a bulk edit. It needs theSKILLS_STANDARDS.mdtable settled first, because that table is what defines each class's permitted set.Notes for whoever picks this up
validate-changelog-safety.jsmust stay at zero critical.SKILL_REGISTRY.json, orphaned) and ci(skills): the 500-line SKILL.md guidance is documented but not gated — 28 files already exceed it #3748 (the ungated 500-line guidance).[-]task: conform all skills to the Agent Skills SKILL.md spec[/-][+]task: skills - Conform all skills to the SKILL.md spec[/+]