# Compliance Check for Accessibility and SEO

Run static checks on a built site to ensure compliance with WCAG 2.2 AA, EAA accessibility statement requirements, and SEO/answer-engine readiness. This includes checking for accessibility issues, generating sitemap, robots.txt, and llms.txt files.

**Canonical URL:** https://skillshunter.net/skills/discovered-b78bc38da65192cf36e8e10adcd0ee8dd8a228f77a524131

**JSON URL:** https://skillshunter.net/api/public/v1/skills/discovered-b78bc38da65192cf36e8e10adcd0ee8dd8a228f77a524131

**Markdown URL:** https://skillshunter.net/skills/discovered-b78bc38da65192cf36e8e10adcd0ee8dd8a228f77a524131.md

**Instructions download URL:** https://skillshunter.net/skills/discovered-b78bc38da65192cf36e8e10adcd0ee8dd8a228f77a524131/download

**Category:** Software & Development

**Source URL:** https://github.com/DevPatel128/lilac-plugin/blob/7e77aadbd31442412fba6856e43e4a2d8b781a6d/skills/compliance/SKILL.md

**Source commit:** 7e77aadbd31442412fba6856e43e4a2d8b781a6d

**Listing approved at:** 2026-11-29

**Created at:** 2026-11-28T18:57:41.000000Z

**Updated at:** 2026-11-29T10:53:53.000000Z

## Catalog information

The following descriptions are catalog information. Listing approval does not mean the skill has been tested or is safe for every environment.

### Editor's note

Before running the compliance checks, ensure the site is fully built and the project directory is correctly set. The EAA accessibility statement must include a contact route, feedback route, standard, date, and complaint route. Shops (cart, checkout, product) will trigger errors during the check.

### When to use it

- Verify a website meets accessibility standards before deployment
- Ensure SEO elements like sitemap.xml and robots.txt are correctly configured
- Validate the presence and structure of an EAA accessibility statement

## Skill instructions

---
name: compliance
description: Check a built site for WCAG 2.2 AA, EAA accessibility-statement and SEO/answer-engine readiness; init sitemap, robots, llms.txt.
disable-model-invocation: true
---
# /lilac:compliance

Static checks on the built site. They find problems; they never prove compliance.

1. Run `node "${CLAUDE_PLUGIN_ROOT}/scripts/a11y-law.mjs" check "${CLAUDE_PROJECT_DIR}"` (`--site <dir>`, `--json`). Each finding names its WCAG 2.2 success criterion. The EAA section needs an accessibility statement with a contact route, a feedback route, a standard, a date and a complaint route. Shops (cart, checkout, product) get errors, other sites warnings.
2. Run `node "${CLAUDE_PLUGIN_ROOT}/scripts/seo-ready.mjs" check "${CLAUDE_PROJECT_DIR}"`. It checks sitemap.xml, robots.txt, llms.txt, canonical, JSON-LD, Open Graph and duplicate titles.
3. If sitemap.xml, robots.txt or llms.txt is missing, run `seo-ready.mjs init "${CLAUDE_PROJECT_DIR}" --base https://<real-domain>`. It never overwrites. Ask the human for the domain; if unknown, init writes `https://unknown.invalid` and check fails until it is set.
4. Fix every error using the `fix:` hint. Never invent a rating, review count, address, phone or date to satisfy a check: remove the property instead. Re-run until both last lines say `0 error(s)`.
5. Report in plain words: what was fixed, the warnings, and every UNVERIFIED line verbatim. Say that whether the EAA applies to this business is UNKNOWN (not legal advice) and that browser axe results are a separate step.

Approval: when a statement page is drafted for the human, ask with AskUserQuestion (Approve / Change something / Stop) before it is written into the site. Statement text must say "aims to meet" unless an audit supports more.

