agentleFS
Community-AccessCommunity-Access/accessibility-agents/skills/a11y-core/SKILL.md

a11y-core

Skill458 starsChanged 33 days agoMITView on GitHub

Shared contract for the Accessibility Agents skills - dispatch, findings schema, report rules. Read by skills, never dispatched on its own.

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 4 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Every skill sits in one of four tiers.

    line 19
  2. Distinctive:

    Only routers are model-invocable.

    line 29
  3. Very specific:

    findings: - only JSON matching schemas/findings.schema.json.

    line 70
  4. Distinctive:

    Every interactive element reachable and operable by keyboard.

    line 95
  5. Distinctive:

    No information carried by color alone.

    line 97
  6. Very specific:

    If the workspace root holds .a11y-office-config.json, .a11y-pdf-config.json, .a11y-epub-config.json or .a11y-web-config.json, read it and …

    line 136

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Shared rules for every skill in the Accessibility Agents package. Skills point here instead of repeating this text. Read the section you need.

Tiers

Every skill sits in one of four tiers. The tier decides who can start it and what it is allowed to cost.

TierWhat it isWho invokes it
routerThe six entry points: accessibility-lead, web-accessibility-wizard, document-accessibility-wizard, markdown-a11y-assistant, developer-hub, github-hubThe model or the user
specialistOne accessibility domain, one checklist, one findings payloadA router, by pointer
helperMechanical work: inventory, scanning one file, CSV export, scan configA router, by pointer
referenceRule tables, URL registries, scoring formulas. kb- prefixCited by a skill that needs the data

Only routers are model-invocable. Specialists and helpers stay out of every client's skill catalog so they cost nothing until a router names one.

Skills name each other in backticks, such as kb-python-development, rather than linking across folders. A named skill's instructions are at <skills-root>/<name>/SKILL.md; read one only when the task needs it.

Dispatch contract

A router dispatches a specialist with the client's own subagent primitive. Keep the prompt at this shape and this size. Never read a specialist's instructions into the router's own context, and never paste a specialist body into a prompt.

Run the skill "aria-specialist": read <skills-root>/aria-specialist/SKILL.md
and follow it. It is a specialist, hidden from the skill catalog to save
context; running it this way is intended. Replace a leading skills/ in any path it
names with <skills-root>/.
Task: <one paragraph, what to check and why>
Scope: <file list or glob>
Rules: semantic HTML before ARIA; report, do not edit.
Return ONLY JSON matching <skills-root>/a11y-core/schemas/findings.schema.json.

<skills-root> is the absolute path of the folder that holds this skill's own folder: the parent of the directory this SKILL.md was loaded from. Send it resolved, never as the relative path skills/...: the subagent starts in the user's project, where no skills/ folder exists. If the load path is not shown, it is the folder that contains a11y-core/SKILL.md.

Per client: Claude Code uses the Agent tool, Codex spawns a worker subagent, Copilot uses a subagent or handoff, Gemini and Antigravity use the generalist agent. The prompt is the same in all four.

The specialist reads its own instructions inside its own context. The router receives JSON. Nothing else crosses the boundary.

Output contract

Skills declare metadata.output, and it decides what they return.

  • findings - only JSON matching schemas/findings.schema.json. No prose, no preamble, no restated instructions.
  • report - collect findings JSON from each dispatched skill, write them to .a11y-history/<timestamp>/, then render with node <skills-root>/a11y-core/scripts/render-report.mjs. Never type a report by hand unless the renderer cannot run (see "When a tool is not available").
  • artifact - produce the file or script asked for; report the paths written and what each changes.
  • guidance - answer the question, cite the criterion or API by name, stop.

The findings schema and the renderer are for accessibility audits. GitHub workflow skills (issues, pull requests, briefings, analytics) declare artifact and write the document their own instructions describe.

Severity is one of critical, serious, moderate, minor. Confidence is high, medium or low. A finding without a location and a fix is not a finding.

Non-negotiable standards

These hold for every web skill in the package and do not need restating in a dispatch prompt.

  • Semantic HTML before ARIA. A button element beats div role="button".
  • One H1 per page. Never skip heading levels.
  • Every interactive element reachable and operable by keyboard.
  • Text contrast 4.5:1. UI component and graphical object contrast 3:1.
  • No information carried by color alone.
  • Focus managed on route change, dynamic content and deletion.
  • Dialogs trap focus and return it on close.
  • Dynamic content updates are announced.

Report requirements

Any audit report this package produces carries all of these, or it is a triage result and must say so in its opening line.

  1. Metadata: date, tool versions, scope, scan configuration used
  2. Executive summary: score out of 100, A-F grade, counts by severity, verdict
  3. Findings: rule ID, WCAG criterion, severity, location, description, fix
  4. Severity breakdown by critical, serious, moderate, minor
  5. Remediation priorities, ordered by impact against effort
  6. Next steps and a re-scan timeline
  7. Delta against the previous report when one exists: fixed, new, persistent, regressed

The renderer emits all seven from findings JSON and embeds the merged JSON in a fenced block at the end of the report, which is what makes the next delta cheap.

When a tool is not available

In a chat with no scanner tools, no scripts and no project files, a skill still works from what the person gives it. Ask for their checker's results by name: Word's, Excel's or PowerPoint's Accessibility Checker, Acrobat's Accessibility Checker or PAC, Ace by DAISY, axe or Accessibility Insights. Use only what you are given, and never say you scanned, ran or opened anything you did not. When the renderer cannot run, write the report yourself with the seven sections above.

Files here

  • schemas/findings.schema.json - the one findings shape
  • references/sources.md - every specification the skills cite, grouped by skill
  • scripts/measure-context.mjs - context cost accounting and budget check

Scan configuration

If the workspace root holds .a11y-office-config.json, .a11y-pdf-config.json, .a11y-epub-config.json or .a11y-web-config.json, read it and honour it. Do not fall back to defaults when a config file exists. Profiles for strict, moderate and minimal live in templates/.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.