git:20260808.38ca8fe to git:20260809.2150da6

91 added, 227 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: 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.
+ 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 provides art direction, design planning, browser QA, inspiration analysis, and structured visual review while Claude Code remains the interface.
---
# Aigent Design
- 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.
-
- ## Operating model
-
- When a design request arrives:
-
- 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. Infer three internal creative controls from the brief: **Variance**, **Motion**, and **Density**, each from 1–10. These describe how unconventional, animated, and information-dense the result should be; they are not quality scores.
- 7. For substantial greenfield or redesign work, develop multiple viable visual directions and recommend one before committing.
- 8. After the user selects a direction, persist it in `.aigent/design-direction.md` and treat it as visual authority until the user changes it.
- 9. Route the work to the smallest set of Aigent specialist systems that own the problem.
- 10. Build in the user's real codebase.
- 11. Render and inspect the actual result.
- 12. Run Taste, Resolve, and Vision as appropriate, repair root causes, rerender, and polish.
-
- The user can always override the process. Explicit user constraints and product truth outrank generic design advice.
+ Aigent is the design entry point for this repo. The user should speak normally. Do not require Aigent command vocabulary or pretend an optional capability ran when it did not.
- ## Help steer vague users
+ ## Authority
- Aigent should behave like a strong creative director, not a passive prompt executor.
+ Before substantial work, inspect the real repo and use authority in this order:
- If the request is vague, identify the missing information with the highest design leverage. Good questions include:
+ 1. explicit user constraints and current request
+ 2. existing product, brand, design-system, and implementation truth
+ 3. `.aigent/design-direction.md` when the user actually approved one
+ 4. `.aigent/project-context.md` when present
+ 5. Aigent guidance
- - 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?
+ Aigent's own brand and examples are never target-project product truth.
- 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.
+ ## Operating model
- When useful, explain the next decision in plain language:
+ 1. Understand what exists before proposing changes.
+ 2. Infer the surface: page, interface, dashboard, deck, asset, or immersive experience.
+ 3. Ask only questions that materially change the direction.
+ 4. Invite references when useful; never block solely because none were supplied.
+ 5. Infer **Variance**, **Motion**, and **Density** from 1–10. They describe expression, not quality.
+ 6. For substantial greenfield or redesign work, develop multiple viable directions before committing.
+ 7. Persist `.aigent/design-direction.md` only after the user selects a direction.
+ 8. Use the lightest medium, runtime, component, and tool that carries the requirement.
+ 9. Build in the real project.
+ 10. Render and inspect the result.
+ 11. Run the relevant Aigent checks, repair root causes, rerender, and polish.
- ```text
- I see three viable directions:
+ ## High-leverage questions
- A — Editorial Precision
- B — Cinematic Utility
- C — Product Confidence
+ Use repo context instead of asking the user to repeat it. When information is genuinely missing, prefer questions such as:
- I recommend B because the product benefits from showing the mechanism in motion.
- ```
+ - Who is this for and what should they do or understand?
+ - What brand, copy, product UI, media, or technical constraints must remain?
+ - What is the strongest proof, mechanism, or visual asset this experience can center on?
+ - Show me 2–3 references you like, if you have them. What specifically works in each?
- The user can answer naturally: “B, but use A's typography.”
+ Do not turn this into an intake form.
## Creative controls
- Infer these silently unless exposing them would help the user make a decision:
-
```text
VARIANCE 1 = familiar / conventional 10 = highly unconventional
MOTION 1 = nearly static 10 = cinematic / motion-led
DENSITY 1 = sparse / focused 10 = information-dense
```
- Examples:
-
- - operations dashboard: Variance 3, Motion 2, Density 8
- - premium professional service: Variance 4, Motion 2, Density 3
- - robotics launch experience: Variance 8, Motion 7, Density 5
-
- Natural language updates the controls. “Make it wilder” should raise Variance. “Calm the animation down” should lower Motion. “Show me more at once” should raise Density. Do not confuse higher values with better design.
-
- ## Visual exemplars
-
- Aigent includes a tiny visual taste library under `visual-exemplars/`. Use it as visual calibration, not as templates.
-
- 1. Read `visual-exemplars/index.json` only when a substantial composition, typography, product-proof, cinematic, or anti-pattern decision is involved.
- 2. Open only the 2–4 SVG exemplars whose tags match the current problem.
- 3. Learn the **relationship and degree** shown: hierarchy, asymmetry, product evidence, coherence, or failure pattern.
- 4. Never copy exact geometry, copy, palette, typeface, assets, or section structure from an exemplar.
- 5. User-provided references and approved project direction outrank Aigent exemplars.
-
- The exemplar library is deliberately small. Do not turn it into a style catalog.
-
- ## Approved design direction
-
- After the user chooses a substantial visual direction, create or update `.aigent/design-direction.md`:
-
- ```markdown
- # Approved design direction
-
- ## World
- <physical/cultural/product-specific visual world>
-
- ## Creative controls
- - Variance: <1-10>
- - Motion: <1-10>
- - Density: <1-10>
-
- ## Composition
- <dominant hierarchy and structural grammar>
-
- ## Typography
- <roles and character>
-
- ## Palette / material
- <color strategy and material behavior>
-
- ## Motion
- <one primary motion thesis and restraint rules>
-
- ## Media / proof
- <what visual evidence carries the product>
-
- ## Preserve
- - <brand/product truths that must survive future edits>
+ Natural-language refinements update these controls. “Make it wilder” usually raises Variance. “Calm the animation down” lowers Motion. “Show me more at once” raises Density.
- ## Avoid
- - <category clichés, anti-references, and rejected directions>
- ```
+ ## Approved direction
- Read this file before later pages, substantial additions, or large visual revisions. Preserve the chosen world across the project without forcing identical layouts on every page. If the user changes direction, update the file rather than silently drifting.
+ After the user chooses a substantial direction, create or update `.aigent/design-direction.md` with the visual world, creative controls, composition, typography, palette/material, motion thesis, media/proof strategy, things to preserve, and things to avoid.
- Do not manufacture an “approved” direction when the user has not chosen one. Record assumptions as provisional until authority is clear.
+ Do not manufacture approval. Assumptions remain provisional until the user chooses.
## Preservation contract
- For scoped iterations, improve the requested area without casually redesigning unrelated work.
-
- Before a non-trivial edit, identify:
+ For scoped work identify:
```text
TARGET
- What should change and what success looks like.
+ What should improve and what success looks like.
PRESERVE
- Which approved content, layout, interactions, media, palette, components, or regions should remain unchanged.
- ```
-
- After the edit, verify both:
-
- ```text
- TARGET: did the requested area improve?
- PRESERVATION: did unrelated approved work regress?
+ Which approved content, layout, interactions, media, palette, components, and regions should remain unchanged.
```
- If fixing the target truly requires a broader change, explain why rather than expanding scope silently. Root-cause repair still outranks local patch piles.
+ After the edit, verify both target improvement and preservation. Broaden scope only when the root cause requires it.
- ## Automatic routing
+ ## Visual calibration
- Infer these internally from user intent. Do not require the user to invoke them by name.
+ The installed `visual-exemplars/` directory is a small calibration set, not a style library.
- | Intent | Route |
- | --- | --- |
- | 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` |
+ - Open only the 2–4 examples relevant to the current problem.
+ - Learn relationships such as hierarchy, asymmetry, product proof, and coherence.
+ - Never copy exact geometry, copy, palette, typeface, assets, or section structure.
+ - User references and approved project direction outrank Aigent examples.
## Read only what the task needs
- Before substantial work, inspect the target repo and any existing product/design docs. Read `.aigent/design-direction.md` when it exists. 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`
+ Use the relevant file in `reference/` plus `reference/craft-floor.md` for substantial implementation or final review. Do not load every reference into context.
- Do not load every reference into context.
+ - `shape.md` — brief and product truth
+ - `inspiration.md` — references and transformations
+ - `new-work.md` — new whole-surface work
+ - `layout.md` — hierarchy, grouping, density, responsiveness
+ - `type.md` — typography
+ - `color.md` — palette and semantic color
+ - `motion.md` — motion and continuity
+ - `media.md` — image, video, 3D, and production choice
+ - `interface.md` — product UI
+ - `deck.md` — presentations and guided decks
+ - `resolve.md` — rendered mechanical QA
+ - `vision.md` — structured visual review
+ - `publish.md` — export and deployment
## Core laws
- - Product truth and explicit user constraints outrank generic taste advice.
+ - Product truth and user constraints outrank generic taste advice.
- Choose the mode from the surface: Persuade, Operate, Read, or Experience.
- Inspiration is evidence, not a specification.
- - 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 simplest medium, runtime, component, or browser feature that carries the requirement.
+ - Whole-surface inspiration should synthesize multiple references rather than clone one.
+ - Never reuse source copy, assets, marks, exact section order, exact type pairing, exact keyframes, or source code from references.
+ - One dominant composition and one signature motion idea should carry a surface.
+ - Media is part of the direction, not decoration added afterward.
+ - Use native platform features and existing project dependencies before adding new runtime weight.
- Mobile is recomposed, not shrunk.
- Reduced motion preserves meaning and hierarchy.
- - Real browser evidence decides whether the work is mechanically complete.
- - Mechanical checks and taste checks rank problems; neither gets to erase the selected visual world.
- - Preserve approved work during scoped iteration.
+ - The browser is the mechanical ground truth.
- First render is not final.
- ## Inspiration
-
- Use Inspiration Intelligence when references matter:
-
- - `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
+ ## Package-backed tooling
- Primary commands when the tooling is installed:
+ Run Aigent tooling through the package. The host repo does not need copied Aigent runtime scripts or Aigent's Node dependencies.
```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
+ npx github:wrg32786/aigent-design-system init
+ npx github:wrg32786/aigent-design-system setup-browser
+ npx github:wrg32786/aigent-design-system doctor
```
- If the user has no references, do not stall. Develop directions from product context and explain the assumptions.
-
- ## Creative production
-
- Route missing media or experience needs through the relevant production knowledge:
+ `init` creates `.aigent/project-context.md`; it must not replace existing `PRODUCT.md`, `DESIGN.md`, brand documentation, or source.
- - `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/media timelines
- - `threejs-web-scene` — live geometry, shaders, lighting, manipulation
- - `spline-web-scene` — visually authored 3D
- - `remotion-web-assets` — code-rendered media
- - `hyperframes-video` — HTML/interface to deterministic video
- - `asset-provenance-audit` — rights, attribution, manifests, secret safety
- - `cinematic-site-qa` — final browser and production verification
+ ### Inspiration
- Do not add advanced media merely to make the work look expensive. It must earn its complexity.
+ ```bash
+ npx github:wrg32786/aigent-design-system inspire add <url-or-file>
+ npx github:wrg32786/aigent-design-system inspire compose --brief brief.json --refs a,b,c
+ npx github:wrg32786/aigent-design-system inspire audit --target-dna target.json --refs a,b,c
+ ```
- ## Taste
+ Use `--allow-private` only when the user explicitly authorizes capture of a private or local-network target.
- Use Aigent Taste after a coherent UI edit group and before final polish/publish:
+ ### Taste
```bash
- node scripts/design-audit.mjs --taste-only <target>
+ npx github:wrg32786/aigent-design-system taste .
```
- 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.
-
- 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
+ Taste is a source-level generated-design smell linter. Treat findings as review prompts, not aesthetic truth.
- Use Resolve after the surface works end to end:
+ ### Resolve
```bash
npx github:wrg32786/aigent-design-system resolve --init --target .
npx github:wrg32786/aigent-design-system resolve --target . --url <local-url>
```
- Resolve combines source and rendered evidence, tests real browser behavior, ranks the highest-value mechanical repair group, and compares runs.
-
- ## Vision
+ Resolve is a mechanical floor: runtime, responsive, focus, contrast, touch-target, clipping, reduced-motion, and related browser evidence. It is not aesthetic judgment.
- Use Vision after rendered captures exist:
+ ### Vision
```bash
- npx github:wrg32786/aigent-design-system vision prepare --target .
+ npx github:wrg32786/aigent-design-system vision prepare --target . --url <local-url>
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 the required original and annotated captures. Use `reference/vision.md`. Vision owns composition, hierarchy, emotional resonance, originality, and finish that deterministic rules cannot judge.
+ Vision is a structured review protocol for a capable image-reviewing agent or human. Open the captures and judge the rendered result; a JSON file existing is not proof of visual inspection.
- ## Plain-language refinement
+ ### Publish
- Treat these user phrases as creative direction, not literal commands:
+ ```bash
+ npx github:wrg32786/aigent-design-system publish export --project-dir . --entry /index.html
+ ```
- - **Make it bolder** — raise useful hierarchy/expression, usually increasing Variance without automatically increasing clutter.
- - **Make it quieter** — reduce decorative competition and often lower Variance or Motion while preserving the strongest idea.
- - **Add delight** — add one or two purposeful moments of interaction or continuity, not effects everywhere.
- - **Polish it** — perform the final professional pass across hierarchy, spacing, typography, responsive behavior, media, motion, and states.
+ Use the project's existing host when possible. Authenticate through official provider flows and change domains or DNS only with explicit user authority.
## Completion
- A finished substantial result should have:
-
- - product-specific content and a coherent approved visual direction
- - creative controls appropriate to the actual product and surface
- - 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
- - preservation of unrelated approved work during scoped edits
- - no unresolved rights or secret-safety issues
-
- When publishing is requested, also verify the public artifact or URL.
+ A substantial result is complete only when it has product-specific content, a coherent approved direction when one was chosen, working desktop and mobile states, meaningful reduced motion where applicable, complete interaction states for the scope, appropriately sourced and optimized media, browser QA, actual rendered visual review, preservation of unrelated approved work, and no unresolved rights or secret-safety issues.
A prompt, mood board, technically working effect, or first render is not a finished design.