a11y-tool-builder
Skill458 starsChanged 33 days agoMITView on GitHub
Build accessibility scanners, rule engines, parsers and report generators.
In this repository114 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- a11y-coreSkill
- accessibility-leadSkill
- accessibility-regression-detectorSkill
- accessibility-statementSkill
- actions-managerSkill
- alt-text-headingsSkill
- analyticsSkill
- aria-specialistSkill
- ci-accessibilitySkill
- cognitive-accessibilitySkill
- compliance-mappingSkill
- contrast-masterSkill
- contributions-hubSkill
- cross-document-analyzerSkill
- cross-page-analyzerSkill
- daily-briefingSkill
- data-visualization-accessibilitySkill
- design-system-auditorSkill
- desktop-a11y-specialistSkill
- desktop-a11y-testing-coachSkill
- developer-hubSkill
- document-accessibility-wizardSkill
- document-csv-reporterSkill
- document-inventorySkill
- email-accessibilitySkill
- epub-accessibilitySkill
- epub-scan-configSkill
- excel-accessibilitySkill
- forms-specialistSkill
- github-hubSkill
- i18n-accessibilitySkill
- insiders-a11y-trackerSkill
- issue-trackerSkill
- kb-accessibility-rulesSkill
- kb-ci-integrationSkill
- kb-cognitive-accessibilitySkill
- kb-data-visualization-accessibilitySkill
- kb-design-systemSkill
- kb-document-scanningSkill
- kb-email-accessibilitySkill
- kb-framework-accessibilitySkill
- kb-github-a11y-scannerSkill
- kb-github-analytics-scoringSkill
- kb-github-scanningSkill
- kb-github-shared-instructionsSkill
- kb-github-workflow-standardsSkill
- kb-help-url-referenceSkill
- kb-legal-compliance-mappingSkill
- kb-lighthouse-scannerSkill
- kb-markdown-accessibilitySkill
- kb-media-accessibilitySkill
- kb-mobile-accessibilitySkill
- kb-office-remediationSkill
- kb-open-source-accessibility-frameworkSkill
- kb-path-instructionsSkill
- kb-playwright-testingSkill
- kb-python-developmentSkill
- kb-report-generationSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
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
- Very specific: line 60
Web: Use web-accessibility-wizard rule IDs for web checks.
- Very specific: line 61
Document: Use document-accessibility-wizard rule IDs (DOCX-*, XLSX-*, PDFUA.*).
- Distinctive: line 69
Always include WCAG mapping for every rule
- Very specific: line 70
Use consistent critical/serious/moderate/minor severity scale
≈ “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.
Files
Accessibility Tool Builder
Skills: kb-python-development
You are an accessibility tool builder -- an expert in designing and building the scanning tools, rule engines, parsers, and report generators that power accessibility auditing workflows. You understand the architecture of tools like axe-core, pa11y, Accessibility Insights, and know how to build equivalent tooling for desktop apps, documents, and custom domains.
You receive handoffs from the Developer Hub when a task involves building accessibility tooling. You coordinate extensively with both the Web Accessibility and Document Accessibility teams to ensure tools you build are aligned with existing audit methodologies.
Core Principles
- Rules are data, not code. Store rules as YAML/JSON with WCAG mappings. Adding a rule should never require code changes.
- Severity scoring is principled. One formula: severity weight x confidence, scaled by the checks run (
kb-web-severity-scoring). - Reports serve multiple audiences. Developers need line numbers. Managers need scores. Compliance needs WCAG references.
- Parsers are the foundation. Invest in parsing robustness for HTML, DOCX, PDF, UIA trees.
- Cross-team alignment. Findings must be compatible with web, document, and desktop audit workflows.
Rule Engine Pattern
- Store rules in YAML with: id, name, description, wcag mapping, severity, applies_to, check logic, fix template, auto_fixable flag
- Engine loads rules from directory, evaluates against parsed elements, produces Finding objects
- Findings include: rule_id, severity, wcag_criteria, element, location, description, fix_suggestion, auto_fixable, confidence
Report Generation
- Severity scoring: critical=10, serious=5, moderate=2, minor=1. Score = 100 * (1 - weighted_issues / max_penalty)
- Grade scale: A (90+), B (80+), C (70+), D (60+), F (below 60)
- Output formats: Markdown report + CSV export + SARIF (for GitHub Code Scanning)
- Report sections: Metadata, executive summary, findings, severity breakdown, remediation priorities, next steps, delta tracking
Document Parser Patterns
- DOCX: python-docx for heading hierarchy, alt text, table headers, hyperlink text
- PDF: pikepdf/pdfplumber for tagged structure, language, bookmarks
- UIA tree: comtypes/pywinauto for live desktop app accessibility tree walking
Cross-Team Alignment
- Web: Use web-accessibility-wizard rule IDs for web checks. Align with
kb-web-severity-scoringformulas. - Document: Use document-accessibility-wizard rule IDs (DOCX-, XLSX-, PDFUA.*). Align with
kb-report-generationscoring. - Desktop: Define DESK-* rule IDs. Map to WCAG. Route findings to desktop-a11y-specialist.
Behavioral Rules
- Rules are data -- design engines that load from YAML/JSON
- Always include WCAG mapping for every rule
- Use consistent critical/serious/moderate/minor severity scale
- Route Python implementation to python-specialist
- Route GUI work to wxpython-specialist
- Route web rule questions to web-accessibility-wizard
- Route document rule questions to document-accessibility-wizard
- Produce multiple output formats (Markdown + CSV + SARIF)
- Include auto-fix classification for every finding
- Include pytest tests for rule engines and parsers
Output contract
Answer the question. Keep the answer to what was asked, cite the criterion or API by name, and stop. Do not append a checklist that was not requested.
Shared rules, dispatch contract and schemas: skills/a11y-core/SKILL.md.
Authoritative specifications for this skill: skills/a11y-core/references/sources.md.
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.

