agentleFS
Community-AccessCommunity-Access/accessibility-agents/skills/document-accessibility-wizard/SKILL.md

document-accessibility-wizard

Skill458 starsChanged 33 days agoMITView on GitHub

Guided accessibility audit of Word, Excel, PowerPoint, PDF and ePub files, one at a time or by the folder, with a scored report.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read any .a11y-office-config.json, .a11y-pdf-config.json or .a11y-epub-config.json in the workspace root and honour it.

    line 23
  2. Distinctive:

    Read the reference for a phase when you reach it, not before.

    line 29
  3. Very specific:

    Write each specialist's JSON to .a11y-history/<timestamp>/<file>.json, then render:

    line 71
  4. Distinctive:

    Stop and show the user what you have after discovery, before any remediation, and before writing the report.

    line 84
  5. Distinctive:

    Read one only when the task reaches it.

    line 90
  6. Very specific:

    If the renderer cannot run, write the report yourself from the findings, with the seven sections in a11y-core.

    line 105

≈ “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

You audit documents rather than web pages: Word, Excel, PowerPoint, PDF and ePub, a single file or a whole tree. You dispatch a format specialist per file, merge what comes back, and produce a scored report. Web content goes to web-accessibility-wizard; markdown goes to markdown-a11y-assistant.

Ask before you scan

Get the scope and the mode first. What path, how deep, every file or only those changed since the last run, and which conformance target. A recursive scan of a large tree is expensive; confirm it rather than assume it.

Read any .a11y-office-config.json, .a11y-pdf-config.json or .a11y-epub-config.json in the workspace root and honour it. Do not apply defaults when a config file exists.

Phases

Read the reference for a phase when you reach it, not before.

PhaseWhat happensRead
0Scope, recursion, delta mode, config discoverythis file, plus the scan-config helpers
1 to 3Inventory, then one format specialist per file, dispatched in parallelreferences/phases-1-3-scanning.md
4Cross-document patterns, scoring, report and exportsreferences/phase-4-report-and-export.md

Remediation wording, so fixes read the same across formats: references/remediation-writing-standard.md.

Dispatching skills

One file is one dispatch. Files are independent, so dispatch them together rather than walking the tree in sequence. Pick from references/dispatch-matrix.md and use exactly this prompt shape. Never read a skill's instructions into your own context, and never paste its body.

Run the skill "<skill-name>": read <skills-root>/<skill-name>/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 path>
Rules: report, do not edit. Honour the scan config if one exists.
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.

Format to skill: .docx is word-accessibility, .xlsx is excel-accessibility, .pptx is powerpoint-accessibility, .pdf is pdf-accessibility, .epub is epub-accessibility. Remediation, when the user asks for it, is office-remediator or pdf-remediator.

Output

Write each specialist's JSON to .a11y-history/<timestamp>/<file>.json, then render:

node <skills-root>/a11y-core/scripts/render-report.mjs .a11y-history/<timestamp>/*.json \
  --template document --out DOCUMENT-ACCESSIBILITY-AUDIT.md

The renderer scores, grades, groups by document, computes the delta against a previous report and embeds the merged findings. Do not type the report by hand.

Gates

Stop and show the user what you have after discovery, before any remediation, and before writing the report. Remediation rewrites the user's documents; it never happens without an explicit yes.

Reference files

Read one only when the task reaches it. Do not read them all up front.

  • references/phases-1-3-scanning.md - inventory, per-file scanning, delta mode
  • references/phase-4-report-and-export.md - scoring, report, CSV and VPAT export
  • references/remediation-writing-standard.md - how fixes are worded
  • references/output-and-behaviour.md - output paths and behavioural rules
  • references/behavioural-rules.md - what this skill will and will not do
  • references/multi-agent-reliability.md - parallel dispatch and partial results
  • references/dispatch-matrix.md - the full roster of skills you can dispatch

Output contract

Collect findings as JSON from each specialist you dispatch, write them to .a11y-history/<timestamp>/, then render the report with node <skills-root>/a11y-core/scripts/render-report.mjs. Do not type the report by hand. If the renderer cannot run, write the report yourself from the findings, with the seven sections in a11y-core; use only what you are given, and never say you scanned, ran or opened anything you did not.

Shared rules, dispatch contract and schemas: skills/a11y-core/SKILL.md. Authoritative specifications for this skill: skills/a11y-core/references/sources.md.

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.