Skip to content

task: skills - Conform all skills to the SKILL.md spec #3467

Open

Description

@eleshar

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.md plus metadata.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. name is 1 to 64 lowercase alphanumerics and single hyphens and equals the folder name; description is 1 to 1024 characters.
  • Fold metadata.yml content into SKILL.md metadata; remove the files.
  • Native validator in scripts/validation/ implementing those rules; skills-ref only as an optional local cross-check (upstream: demonstration only).
  • Generate the registry and index from SKILL.md frontmatter; stop hand-maintaining skills/SKILL_REGISTRY.json.
  • Run the frontmatter validator after any bulk rewrite script.
  • Keep SKILL.md under 500 lines; move detail into references/.
  • Update spec 016 (spec.md, research.md, data-model.md, quickstart.md) to SKILL.md.

Acceptance

  • Validator passes on all skills in CI
  • No metadata.yml under skills/
  • 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.

Activity

  1. linear-code commented on Sep 23, 2026

    @linear-code
  2. eleshar commented on Oct 2, 2026

    @eleshar
    ContributorAuthor

    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

    • Frontmatter limited to the six spec fields — name, description, license, compatibility, metadata, allowed-tools for an open-spec skill. A field outside the set for its class is a finding.
    • name 1–64 lowercase alphanumerics and single hyphens, equal to the folder name — enforced, including the 64-character boundary.
    • description 1–1024 characters — enforced for skills. The cap comes from the Agent Skills specification, so it is deliberately not applied to subagents or AGENTS.md; emptiness is still checked on every class.
    • Native validator in 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.
    • Run the validator after any bulk rewrite — the skill-spec job runs npm run validate:skills on every pull request and push, and a finding outside skills-baseline.json fails the run.
    • Body presence — added from fix(validation): validate-skills.js accepts a SKILL.md with no body, which is how 66 empty skills shipped #3707, which asked for it to live alongside this work rather than inside it.

    Not landed

    • Fold metadata.yml into SKILL.md and 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.
    • Generate the registry from frontmatter; stop hand-maintaining skills/SKILL_REGISTRY.json — not done, and the file is currently orphaned: nothing in the repository references SKILL_REGISTRY, so it is a stale hand-maintained artifact stamped generated: 2026-05-28. Worth deciding whether the registry is still wanted at all before writing a generator for it; nothing reads it.
    • skills-ref as 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.
    • Keep SKILL.md under 500 lines — not enforced. It is a style rule rather than a specification rule, and gating it would produce findings unrelated to conformance.
    • Update spec 016 to 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, so description: true and license: 42 passed the rules written to catch them. Now read with JSON_SCHEMA, which preserves booleans and numbers while leaving ISO dates as strings. This exposed one genuine defect: skills/audit-label-coverage declared version: 1.0, which YAML parses as the number 1. 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 missing title silently accepted a file_type removed 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.

  3. eleshar commented on Oct 2, 2026

    @eleshar
    ContributorAuthor

    Update: #3717 is merged into develop as 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:

    • Eleven metadata.yml files under skills/ to fold into SKILL.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.
    • 754 baselined findings to clear. The baseline is now the to-do list: a finding in it is a warning, a finding outside it fails the run, and a baseline entry that stops reproducing is counted as progress rather than treated as a failure. So each fix both removes work and demonstrates the gate working.
    • skills/SKILL_REGISTRY.json — still orphaned. Nothing in the repository references SKILL_REGISTRY; it is a stale hand-maintained file stamped generated: 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.md guidance (a style rule, not a specification rule) and skills-ref as a local cross-check (the rule library cites the specification and the upstream validator as sources instead).

  4. eleshar commented on Oct 2, 2026

    @eleshar
    ContributorAuthor

    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 develop at b028d5d.

    Findings by rule

    Rule Count Nature of the fix
    closed-field-set 357 Remove or sanction a field per file. Needs a judgement per field.
    name 196 Rename to match the directory, or rename the directory.
    required-fields 159 Add a frontmatter line. Mechanical.
    vendored-plugin 16 Third-party code; probably exempt rather than fix.
    frontmatter 13 Add or repair a --- block.
    body 10 Write real instructions.
    metadata 2 Quote a value.
    folder-name 1 Rename one directory.

    Start here: the 40 subagents missing exactly one field

    Of the 159 required-fields findings, 40 are a single missing frontmatter line each — 35 missing title, 3 missing file_type, 2 missing name. These need no judgement, only a value, and each fix retires one baseline entry.

    # agents/adr-generator/adr.agent.md — missing `title`
    name: "ADR Generator"
    description: "Generate architectural decision records with configuration-driven templates and validation."
    file_type: "agent"
    title: "ADR Generator"        # <- add

    The remaining 119 are 35 files missing all three of title/file_type/last_updated and 7 missing two. Same shape, more lines.

    Distribution by missing field across all 159: title 76, last_updated 42, file_type 39, name 2. By file kind: 157 are *.agent.md subagent definitions, 2 are top-level SKILL.md. 82 distinct files. No AGENTS.md and 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-plugin batch

    16 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-set at 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, tags and similar are common, and whether to remove them, fold them into metadata, or sanction them per class is a per-field decision, not a bulk edit. It needs the SKILLS_STANDARDS.md table settled first, because that table is what defines each class's permitted set.

    Notes for whoever picks this up

  5. changed the title [-]task: conform all skills to the Agent Skills SKILL.md spec[/-] [+]task: skills - Conform all skills to the SKILL.md spec[/+] on Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions