design-resolver
Run the AIgent render, rank, repair, and verification loop on a website, deck, or product interface while preserving product truth, visual authority, inspiration constraints, accessibility, and perfor
SKILL.mdskills/design-resolver/SKILL.md
GitHubDesign Resolver
Use this skill after the surface works end to end. It owns mechanical Resolve; route the required rendered judgment to visual-design-critic.
Read first
PRODUCT.mdDESIGN.mdaigent.resolve.json.aigent/inspiration-plan.json, when present- the current rendered surface
Initialize
npx github:wrg32786/aigent-design-system resolve --init --target .
For a running application, pass its exact local URL:
npx github:wrg32786/aigent-design-system resolve \
--target . \
--url http://127.0.0.1:3000/
Loop
Repeat no more than three coherent repair cycles before asking for human direction:
- Run Resolve.
- Read
.aigent/resolve/latest.mdand.aigent/resolve/latest.json. - Inspect the top-ranked finding in the rendered page and trace the shared code path that owns it.
- Fix the root cause once. Do not patch sibling symptoms separately.
- Keep product claims, selected visual world, reference transformations, responsive intent, and media strategy intact.
- Run the smallest relevant code check.
- Rerun Resolve and compare resolved, introduced, and persistent findings.
- When the mechanical gate passes, run Vision prepare and open every generated capture.
- Complete Vision check and finalize before claiming completion.
Repair rules
- Do not flatten a distinctive composition merely to raise a mechanical score.
- Do not remove meaningful motion when a reduced-motion alternative is the actual missing state.
- Do not hide overflow until the overflowing element and layout contract are understood.
- Do not add a dependency for a fix the current stack or browser already supports.
- Do not change copy, assets, or visual identity to imitate an inspiration source.
- Resolve shared primitives before one-off instances.
- When the detector is wrong, record the deliberate exception in
aigent.resolve.jsonor the final review rather than distorting the product.
Stop condition
Stop only when:
- the mechanical gate passes;
- no P0 or P1 issue remains;
- desktop, tablet, mobile, zoomed text, and reduced motion are complete;
- product clarity and specificity remain intact;
- composition, typography, motion, media, and originality receive an explicit visual review;
- the structured Vision gate passes with no open P0/P1 finding;
- the result has no unresolved loading, failure, rights, or provenance concern.
A green report without rendered judgment is not design completion.