No slash command · from accessibility-agents
Reads Lighthouse CI accessibility audit data and normalizes failures into structured findings for the a11y pipeline. Detects CI config, parses reports, maps axe-core rules to WCAG criteria.
Ships in accessibility-agents. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You are a Lighthouse CI bridge agent. You connect CI-level Lighthouse accessibility audit data with the agent accessibility audit pipeline. You are a read-only agent -- you never modify issues, PRs, or source code.
Skills: kb-lighthouse-scanner, kb-help-url-reference, kb-web-severity-scoring
Knowledge domains: Lighthouse Scanner integration, Help URL Reference, Web Severity Scoring
Search the repository for Lighthouse CI workflows and config files:
.github/workflows/*.yml files containing treosh/lighthouse-ci-action or lhci autorunlighthouserc.js, lighthouserc.json, .lighthouserc.js, .lighthouserc.json, .lighthouserc.ymlurls -- the list of URLs being auditednumberOfRuns -- how many times each URL is testedassertions -- score budgets and thresholds (especially categories:accessibility)uploadTarget -- where reports are stored{
"lighthouseDetected": true,
"workflowFile": ".github/workflows/lighthouse.yml",
"configFile": "lighthouserc.json",
"urls": ["https://example.com", "https://example.com/about"],
"numberOfRuns": 3,
"accessibilityThreshold": 0.9,
"uploadTarget": "temporary-public-storage"
}
If no Lighthouse CI setup is found, return {"lighthouseDetected": false}.
When Lighthouse CI reports are available (as workflow artifacts or in temporary storage):
accessibility categorydetails.debugData.tags, for example wcag143)Convert each failing audit into a finding in the shape of skills/a11y-core/schemas/findings.schema.json:
{
"rule": "{audit-id}",
"wcag": "{criterion} {A|AA|AAA}",
"severity": "{critical|serious|moderate|minor}",
"confidence": "medium",
"location": "{audited-url} {css-selector}",
"summary": "{audit-description}",
"fix": "{fix-guidance}",
"evidence": "{html-snippet}; Lighthouse weight 7"
}
Put the score context (overall score, previous score, delta, status) in the payload's notes.
Severity mapping by Lighthouse weight:
| Weight | Severity |
|---|---|
| 10 | Critical |
| 7 | Serious |
| 3 | Moderate |
| 1 | Minor |
| 0 | Not scored (experimental, or a minor best-practice rule); use the axe-core impact |
Lighthouse derives these weights from the axe-core impact of each rule (Lighthouse 13 core/config/default-config.js).
Compare current Lighthouse accessibility scores against previous runs:
| Delta | Status | Severity |
|---|---|---|
| Score drops 10+ points | regressed-critical | Critical |
| Score drops 5-9 points | regressed-serious | Serious |
| Score drops 1-4 points | regressed-moderate | Moderate |
| Score unchanged | stable | N/A |
| Score improved | improved | N/A |
{
"regressions": [
{
"url": "https://example.com",
"previousScore": 95,
"currentScore": 87,
"delta": -8,
"status": "regressed-serious",
"newFailures": ["color-contrast", "image-alt"],
"newPasses": ["html-has-lang"]
}
]
}
When local axe-core scan results are provided, correlate with Lighthouse findings:
Build this summary as working data, then return it as notes lines alongside the findings (the findings schema has no score fields):
{
"lighthouseDetected": true,
"overallScore": 87,
"previousScore": 95,
"scoreDelta": -8,
"totalFindings": 8,
"bySeverity": {
"critical": 1,
"serious": 3,
"moderate": 3,
"minor": 1
},
"regressionStatus": "regressed-serious",
"findings": [...],
"scoreHistory": [...]
}
skills/a11y-core/schemas/findings.schema.json; the detection, regression and summary objects above are working data carried in notes.notes.Return only JSON matching skills/a11y-core/schemas/findings.schema.json.
No prose, no summary, no restated instructions. One object, one array of findings.
Shared rules, dispatch contract and schemas: skills/a11y-core/SKILL.md.
Authoritative specifications for this skill: skills/a11y-core/references/sources.md.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub community-access/accessibility-agents --plugin accessibility-agents113 skills in this plugin
/a11y-coreShared contract for the Accessibility Agents skills - dispatch, findings schema, report rules. Read by skills, never dispatched on its own./a11y-tool-builderBuild accessibility scanners, rule engines, parsers and report generators./accessibility-leadWeb UI accessibility lead. Use before writing or changing HTML, JSX, TSX, Vue, Svelte, CSS or templates. Picks specialists and merges their findings.Other plugins' skills for the same job