git:20260807.337b13a to git:20260808.fe86199

144 added, 99 removed. Audit A to A.

What this update changes in the checks

No check changed: every fixed check gives the same answer before and after this update.

A tripped check is a label, not a verdict: read the matched text and the lines below. This week's updates that newly trip a check.

---
name: aigent-design
- description: Turn Claude or another coding agent into a professional design studio for a DOM-backed visual canvas, immersive websites, 3D experiences, cinematic decks, product interfaces, inspiration synthesis, creative media, collaboration, verified publishing, ranked repair, and production verification.
+ description: Use automatically for requests to design, redesign, build, improve, critique, polish, animate, or visually direct websites, product interfaces, dashboards, decks, landing pages, and immersive web experiences. Aigent acts as the design-team router: it helps shape vague briefs, asks for useful references when needed, chooses the right specialist design skills, builds the real project, inspects the browser, and polishes the result.
---
- # AIgent Design
+ # Aigent Design
- Use this as the single entry point for the flagship design system. It routes to specialist Studio Canvas, inspiration, video, 3D, GSAP, Spline, Three.js, Remotion, provenance, publishing, resolve, and browser-QA skills only when needed.
+ Aigent is the single design-team entry point for this project. The user should be able to speak normally. Do not make them memorize Aigent commands or choose specialist skills themselves.
- ## Start once
+ ## Operating model
- ```bash
- node skills/aigent-design/scripts/context.mjs --command <command> --target <path>
- ```
+ When a design request arrives:
- Then read:
+ 1. Understand what already exists in the repo before proposing changes.
+ 2. Infer the surface: website/page, product interface, dashboard, deck, asset, or immersive experience.
+ 3. Determine whether the brief is sufficient to act.
+ 4. Ask only the few questions that materially affect the design direction.
+ 5. Invite references when they would improve the result: “Show me 2–3 designs you like” is often useful, but never block on references when the user wants you to proceed.
+ 6. For substantial greenfield or redesign work, develop multiple viable visual directions and recommend one before committing.
+ 7. Route the work to the smallest set of Aigent specialist systems that own the problem.
+ 8. Build in the user's real codebase.
+ 9. Render and inspect the actual result.
+ 10. Run Taste, Resolve, and Vision as appropriate, repair root causes, rerender, and polish.
- 1. `PRODUCT.md`
- 2. `DESIGN.md`
- 3. the target surface brief, if present
- 4. `design-intelligence/README.md`
- 5. the one reference that owns the command
- 6. `reference/craft-floor.md` immediately before implementation or final review
+ The user can always override the process. Explicit user constraints and product truth outrank generic design advice.
- Do not load every reference into context.
+ ## Help steer vague users
- ## Commands
+ Aigent should behave like a strong creative director, not a passive prompt executor.
- | Command | Owns |
+ If the request is vague, identify the missing information with the highest design leverage. Good questions include:
+
+ - Who is this for and what should they do or understand?
+ - What existing brand, copy, product UI, media, or technical constraints must remain?
+ - Show me 2–3 designs you like, if you have them. What do you like about each?
+ - Should this feel more editorial, cinematic, product-focused, restrained, luxurious, playful, technical, or something else?
+ - What is the strongest proof, product mechanism, or visual asset the experience can center on?
+
+ Do not turn this into a questionnaire. Ask only what changes the direction. If enough context already exists in the repo, use it instead of asking the user to repeat it.
+
+ When useful, explain the next decision in plain language:
+
+ ```text
+ I see three viable directions:
+
+ A — Editorial Precision
+ B — Cinematic Utility
+ C — Product Confidence
+
+ I recommend B because the product benefits from showing the mechanism in motion.
+ ```
+
+ The user can answer naturally: “B, but use A's typography.”
+
+ ## Automatic routing
+
+ Infer these internally from user intent. Do not require the user to invoke them by name.
+
+ | Intent | Route |
| --- | --- |
- | `shape` | clarify the design brief, then stop |
- | `inspire` | inspect references, create Design DNA, synthesize a direction, and record influence |
- | `create` | new surface or replacement visual world |
- | `page` | cinematic page, story, gallery, or landing surface |
- | `deck` | immersive sales, launch, sponsorship, or presentation deck |
- | `interface` | product UI, dashboard, editor, command center, or resource system |
- | `canvas` | direct DOM-backed visual editing, comments, components, responsive overrides, and source distillation |
- | `asset` | video, 3D, frame sequence, poster, texture, or rendered media |
- | `layout` | hierarchy, grouping, density, structure, responsive adaptation |
- | `typeset` | font roles, hierarchy, reading, and delivery |
- | `color` | palette strategy, semantic roles, contrast, and material |
- | `animate` | focal motion, continuity, feedback, and reduced motion |
- | `critique` | design review with evidence and priorities |
- | `polish` | final pass on an already working surface |
- | `taste` | deterministic generated-design smell check before visual judgment |
- | `resolve` | render, rank, repair, rerender, and verify mechanical quality |
- | `vision` | open annotated captures, write structured critique, and merge visual judgment with Resolve |
- | `publish` | checkpoint, export, deploy, verify, connect domains, and redeploy an exact artifact |
- | `audit` | deterministic, inspiration, browser, asset, registry, and rights checks |
- | `extract` | convert proven work into a reusable recipe or registry item |
- | `install` | choose and install the smallest useful system or component source |
- | `eval` | score a finished result without faking visual judgment |
+ | clarify the product/design brief | `shape` |
+ | analyze references or inspiration | `inspire` |
+ | create or replace a visual world | `create` |
+ | landing page, editorial page, product story | `page` |
+ | sales, launch, sponsorship, presentation | `deck` |
+ | dashboard, editor, application UI | `interface` |
+ | image, video, 3D, texture, rendered media | `asset` |
+ | hierarchy, grouping, density, responsive structure | `layout` |
+ | typography | `typeset` |
+ | palette, semantic color, contrast | `color` |
+ | motion, continuity, feedback | `animate` |
+ | design review | `critique` |
+ | final refinement | `polish` |
+ | generated-design smell check | `taste` |
+ | browser-measured mechanical QA | `resolve` |
+ | rendered screenshot critique | `vision` |
+ | deployment/export | `publish` |
+ | deterministic/rights/system checks | `audit` |
+ | turn proven work into reusable patterns | `extract` |
+ | evaluate a finished result | `eval` |
+ ## Read only what the task needs
+
+ Before substantial work, inspect the target repo and any existing product/design docs. Then load only the Aigent reference that owns the task plus `reference/craft-floor.md` before implementation or final review.
+
+ Useful references in this skill:
+
+ - `reference/shape.md`
+ - `reference/inspiration.md`
+ - `reference/new-work.md`
+ - `reference/layout.md`
+ - `reference/type.md`
+ - `reference/color.md`
+ - `reference/motion.md`
+ - `reference/media.md`
+ - `reference/interface.md`
+ - `reference/deck.md`
+ - `reference/craft-floor.md`
+ - `reference/resolve.md`
+ - `reference/vision.md`
+
+ Do not load every reference into context.
+
## Core laws
- Product truth and explicit user constraints outrank generic taste advice.
- Choose the mode from the surface: Persuade, Operate, Read, or Experience.
- Inspiration is evidence, not a specification.
- - Whole-surface inspiration uses at least three references; no source controls more than two design dimensions.
- - Show the reference matrix, transformations, and exclusions before implementation.
- - Never reuse source copy, assets, marks, section order, exact type pairing, exact keyframes, or source code.
- - Generate multiple viable structures before committing to a whole new surface.
- - One dominant composition and one signature motion idea carry the surface.
+ - For whole-surface inspiration, synthesize multiple references rather than copying one source.
+ - Never reuse source copy, assets, marks, section order, exact type pairing, exact keyframes, or source code from references.
+ - Generate multiple viable structures before committing to substantial new whole-surface work.
+ - One dominant composition and one signature motion idea should carry the surface.
- Media is part of the direction, not decoration added later.
- - Use the first medium, runtime, component, or browser feature that carries the requirement.
+ - Use the simplest medium, runtime, component, or browser feature that carries the requirement.
- Mobile is recomposed, not shrunk.
- Reduced motion preserves meaning and hierarchy.
- - Canvas operations are reversible operator intent until they are deliberately distilled into source.
- - Never publish unresolved Canvas operations or a whole workspace when a constrained public artifact will do.
- Real browser evidence decides whether the work is mechanically complete.
- - Every required screenshot must be opened before visual review can be marked complete.
- - Mechanical and taste checks rank problems; neither gets to erase the selected visual world.
-
- ## Planning contract
-
- For open whole-surface work:
-
- 1. Complete a product brief.
- 2. When references are involved, run Design Forensics and compose the inspiration plan first.
- 3. Run `npm run plan -- <brief.json> --out .aigent/design-plan.json`.
- 4. Inspect the recommended direction, seeded exploration, and conventional fallback.
- 5. Record:
+ - Mechanical checks and taste checks rank problems; neither gets to erase the selected visual world.
+ - First render is not final.
- ```text
- THESIS
- OWN WORLD
- STRUCTURE
- INSPIRATION AND TRANSFORMATIONS
- MOTION
- PROOF AND FALLBACKS
- ```
+ ## Inspiration
- ## Inspiration routing
+ Use Inspiration Intelligence when references matter:
- - `design-forensics` — live URL, screenshot, motion, or structured reference to Design DNA
- - `reference-synthesis` — reference matrix, required transformations, AIgent pattern mapping, and influence ledger
- - `inspiration-originality-audit` — source dominance, copy overlap, asset reuse, and weak transformation review
+ - `design-forensics` — URL, screenshot, motion, or structured reference → Design DNA
+ - `reference-synthesis` — multi-reference matrix, transformations, and influence ledger
+ - `inspiration-originality-audit` — source dominance, copy overlap, asset reuse, weak transformation
- Primary commands:
+ Primary commands when the tooling is installed:
```bash
node scripts/inspire.mjs add <url-or-file>
node scripts/inspire.mjs compose --brief brief.json --refs a,b,c
node scripts/inspire.mjs apply plan.json --target .
node scripts/inspire.mjs audit --target-dna target.json --plan plan.json --refs a,b,c
```
- ## Production routing
+ If the user has no references, do not stall. Develop directions from product context and explain the assumptions.
- - `creative-asset-director` — missing media or asset choice
+ ## Creative production
+
+ Route missing media or experience needs through the relevant production knowledge:
+
+ - `creative-asset-director` — choose the medium and production route
- `video-asset-pipeline` — video, posters, mobile, scrub exports
- `web-3d-asset-pipeline` — model source, Blender cleanup, GLB optimization
- - `gsap-scroll-choreography` — coordinated DOM and media timeline
+ - `gsap-scroll-choreography` — coordinated DOM/media timelines
- `threejs-web-scene` — live geometry, shaders, lighting, manipulation
- `spline-web-scene` — visually authored 3D
- `remotion-web-assets` — code-rendered media
- - `hyperframes-video` — website or HTML interface to deterministic video
+ - `hyperframes-video` — HTML/interface to deterministic video
- `asset-provenance-audit` — rights, attribution, manifests, secret safety
- `cinematic-site-qa` — final browser and production verification
- ## Taste routing
+ Do not add advanced media merely to make the work look expensive. It must earn its complexity.
- Use AIgent Taste as a cheap smell detector after a coherent UI edit group, after Canvas distillation, and immediately before final polish or publish:
+ ## Taste
+ Use Aigent Taste after a coherent UI edit group and before final polish/publish:
+
```bash
node scripts/design-audit.mjs --taste-only <target>
```
- It intentionally checks only high-confidence generated-design tells from the craft floor: generic gradient text, purple/indigo-to-blue AI gradients, overused display-font defaults, bounce/elastic motion, repeated fade-up reveals, pill overuse, card-dominant language, glow overuse, and nested card-like containers.
-
- Treat a finding as a review prompt, not an automatic rewrite order. If the selected visual world intentionally earns a device, preserve it. Fix repeated defaults and root causes, then rerun Taste. Use Vision for composition, emotional resonance, originality, and finish; those judgments are not reducible to deterministic rules.
-
- ## Canvas routing
-
- Use `aigent-studio` and `reference/canvas.md` when the operator is editing the rendered website directly. Preserve active Canvas operations, selected elements, project components, and open element comments. When asked to distill, apply the approved result to the smallest shared source owner, run Taste on the changed surface, verify the real page, and leave the journal intact for comparison.
-
- ## Publish routing
-
- Use `publish-site` and `reference/publish.md` after the approved Canvas state has been distilled. Create a checkpoint, export only referenced public dependencies, run Taste and preflight Resolve for production, deploy through the selected official provider CLI, verify the public URL, prepare Vision captures when requested, and record the exact artifact for forward redeploy.
+ Taste catches high-confidence generated-design tells such as generic gradient text, stereotypical AI gradients, overused display-font defaults, bounce/elastic motion, repeated fade-up reveals, pill overuse, card-dominant language, glow overuse, and nested card-like containers.
- Never ask the operator to paste hosting tokens or secret environment-variable values into Studio. Provider authentication belongs to the official CLI and browser flow.
+ A finding is a review prompt, not an automatic rewrite order. Preserve intentional devices that belong to the selected visual world. Fix repeated defaults and root causes.
- ## Resolve routing
+ ## Resolve
- Use `design-resolver` after the surface works end to end:
+ Use Resolve after the surface works end to end:
```bash
npx github:wrg32786/aigent-design-system resolve --init --target .
npx github:wrg32786/aigent-design-system resolve --target . --url <local-url>
```
- The resolver combines source and rendered evidence, ranks the highest-value mechanical repair group, and compares each run.
+ Resolve combines source and rendered evidence, tests real browser behavior, ranks the highest-value mechanical repair group, and compares runs.
- ## Vision routing
+ ## Vision
- Use `visual-design-critic` after Resolve has produced captures:
+ Use Vision after rendered captures exist:
```bash
npx github:wrg32786/aigent-design-system vision prepare --target .
npx github:wrg32786/aigent-design-system vision check --target . --review .aigent/resolve/latest.visual-review.json
npx github:wrg32786/aigent-design-system vision finalize --target . --review .aigent/resolve/latest.visual-review.json
```
- Open every original and annotated image. Use `reference/vision.md`. The combined gate blocks completion until all twelve critique dimensions are recorded and no open P0/P1 visual finding remains.
+ Open the required original and annotated captures. Use `reference/vision.md`. Vision owns composition, hierarchy, emotional resonance, originality, and finish that deterministic rules cannot judge.
+ ## Plain-language refinement
+
+ Treat these user phrases as creative direction, not literal commands:
+
+ - **Make it bolder** — strengthen hierarchy, composition, typography, media, and one focal interaction.
+ - **Make it quieter** — remove decorative competition and unnecessary effects while preserving the strongest idea.
+ - **Add delight** — add one or two purposeful moments of interaction or continuity.
+ - **Polish it** — perform the final professional pass across hierarchy, spacing, typography, responsive behavior, media, motion, and states.
+
## Completion
- A finished result includes resolved Canvas comments and either an intentionally active patch journal or verified source distillation, product-specific content, a committed visual world, working desktop and mobile states, reduced motion, complete UI states, optimized and manifest-backed media, an influence ledger when references were used, reviewed Taste findings, a passing Resolve mechanical gate, a passing structured Vision review, and no unresolved rights or private records.
+ A finished result should have:
- When publishing was requested, completion also includes a recorded live URL or explicit local export artifact, the deployment provider and channel, the source checkpoint, and the public verification result.
+ - product-specific content and a coherent visual direction
+ - working desktop and mobile states
+ - meaningful reduced-motion behavior where motion exists
+ - complete interaction states
+ - optimized and appropriately sourced media
+ - reviewed Taste findings
+ - passing mechanical/browser QA for the scope
+ - rendered visual review for substantial work
+ - no unresolved rights or secret-safety issues
- A prompt, mood board, screenshot imitation, partial component list, technically working effect, green mechanical report without rendered judgment, or unverified deployment is not a finished design.
+ When publishing is requested, also verify the public artifact or URL.
+
+ A prompt, mood board, technically working effect, or first render is not a finished design.