Check UX stage records, human gates and verification blockers deterministically and write a handoff completeness index beneath the configured artifact root.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Ux Handoff Index?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/jmagly-ux-handoff-index)
---
name: ux-handoff-index
namespace: aiwg
platforms: [all]
description: Check UX stage records, human gates and verification blockers deterministically and write a handoff completeness index beneath the configured artifact root.
triggers:
- close the ux run
- build the ux handoff index
- is the ux handoff complete
---
# UX Handoff Index
Final step of `flow-ux-studio` stage 7. This checks recorded evidence; it does
not perform live verification or establish that human attestations are true.
## Inputs and routing
Take the run's kebab-case slug and owning project directory. Before any write,
run `aiwg artifacts path --json --check-write` in that project. Use
`<artifact_root>/ux/<slug>/`; stop if the configured root is unavailable.
The runner uses the same resolver, including external roots and environment
overrides. It never substitutes a local payload root for an unavailable one.
Discover the stage templates with `aiwg discover "UX studio stage" --type template`.
IDs are `ux-00-brief-template`, `ux-01-research-template`,
`ux-02-structure-template`, `ux-03-direction-template`, `ux-04-screens-template`,
`ux-05-build-template`, `ux-06-verify-template`, `ux-07-handoff-template` and
`ux-index-template`. Retain their exact field names when filling records.
## Deterministic check
```bash
node "$AIWG_ROOT/tools/ux/handoff-index.mjs" <slug> <project-dir>
```
Exit 0 means complete, 1 means incomplete (with index and gaps), 2 means an
execution/routing error. Read the JSON result and inspect the written index.
Do not infer a pass from a failed invocation or a previous index.
- Read Tier (`quick`, `standard`, `full`) and Review-only (`true` or `false`)
from `00-brief.md`. Missing, duplicate or unknown metadata is a gap.
- Quick requires 00,03,04,05,06,07; standard/full requires 00–07.
Review-only drops 05 at every tier. Optional stages are marked not required.
- Every required file must be a nonempty regular file, with Status: Complete
and Gaps: none. Templates start pending, so copying them cannot pass.
- Gate A in 00, Gate B in 03 and Gate C in 07 each use an exact `## Gate A`
(or B/C) section, Decision: approved, a non-placeholder human Answer,
By (human name) and Date (valid YYYY-MM-DD). Rejections, pending answers,
cancellation and undated decisions cannot pass. A direction selection is
recorded verbatim in Answer; approval is separately recorded in Decision.
- `06-verify.md` must contain exactly one Blocking: none and one
Evidence gaps: none. Missing, ambiguous or populated lines block completion.
Keep a nonempty `## Verification results` section with the inspected results.
Comments and fenced examples cannot supply completion fields.
- The index links every stage, copies decisions and verification, lists gaps
and points back to stages for repairs. Gates alone cannot close a run.
Missing live evidence remains a gap even in review-only mode.
- Only a complete result appends a UTC completion entry to `activity.log`
beneath the resolved artifact root. Repeat checks do not duplicate that
run's completion entry. The index is recomputed on every invocation.
In explore mode ensure every direction's evidence is recorded before Gate B;
the checker cannot judge evidence quality or determine whether a screenshot
was actually inspected. Independently review evidence before clearing gaps.
## Bound rule
Load `aiwg show rule artifact-output-policy --body` before writing; canonical
fallback: `$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/artifact-output-policy.md`.
Stop if the rule cannot be loaded. Documentation:
`$AIWG_ROOT/docs/frameworks/ux-complete/handoff-index.md`.