# Fidelity

Check the built site against the accepted requirements and generate a traceability matrix. Use after the build or before deploy. Output is a matrix, not a score.

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

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

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

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

**Category:** Software & Development

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

**Source commit:** 7e77aadbd31442412fba6856e43e4a2d8b781a6d

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

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

**Updated at:** 2026-11-29T10:54:04.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

The tool requires the presence of `brief/requirements.yaml` before running. If it is missing, the user should run `/lilac:requirements` first.

### When to use it

- Validate that a built website meets all defined requirements
- Generate a traceability matrix for quality assurance
- Ensure alignment between site functionality and project brief

## Skill instructions

---
name: fidelity
description: Check the built site against the accepted requirements and write a traceability matrix. Use after the build or before deploy.
disable-model-invocation: true
---
# /lilac:fidelity

Does the site do what the requirements say? Output is a matrix, not a score.

1. Run: `node "${CLAUDE_PLUGIN_ROOT}/scripts/fidelity.mjs" run "${CLAUDE_PROJECT_DIR}"`. Needs `brief/requirements.yaml`. If missing, tell the user to run `/lilac:requirements` first.
2. Read `reports/FIDELITY.md`. Lead with the line `Must-have pass rate: X of Y (Z%)`. Never call it an average.
3. Items marked NEEDS-BROWSER (behavior, perf, a11y): run the browser gates (`qa-browser`, `controls-test`) and say what they cover. Do not mark them PASS yourself.
4. Items marked NEEDS-JUDGE (visual): act as a rubric-bound vision judge.
   - Screenshot the page (desktop and mobile). Judge one requirement at a time against its EARS text only, not general taste.
   - Answer `yes`, `no` or `partial`, and cite the `region` you looked at (for example `hero, top 600px`). No region, no verdict.
   - Write `[{"id":"R-007","verdict":"yes","region":"hero, top 600px"}]` to a file in `.lilac/`, then rerun with `--judge-file <file>`. Answers without a region are rejected.
5. MANUAL items: list them for the user. They check these themselves.
6. A FAIL on a must-have, or any N- item present, blocks deploy. Offer fixes with AskUserQuestion (Fix now / Change the requirement / Stop). Changing a requirement is the user's call.

