design-forensics
Inspect live websites, screenshots, motion references, or structured design files and convert the evidence into normalized Design DNA without copying source expression.
SKILL.mdskills/design-forensics/SKILL.md
GitHubDesign Forensics
Use this skill before asking an agent to apply inspiration from an existing design.
Default order
- Prefer a live public URL.
- Capture desktop, tablet, and mobile evidence.
- Record DOM hierarchy, geometry, computed styles, interactions, media, animations, responsive changes, and errors.
- Generate
design-dna.jsonandreport.html. - Mark uncertain dimensions explicitly.
- Stop before implementation unless the task also invokes reference synthesis.
Command
node scripts/inspire.mjs add <url-or-file> --label <name>
For a screenshot, video, Figma export, or other file, provide a structured annotation when exact browser evidence is unavailable:
node scripts/inspire.mjs add reference.png --analysis reference-design-dna.json
Evidence rules
- A URL may support high-confidence structure, type, material, interaction, media, and motion evidence.
- A screenshot cannot prove hidden states, breakpoints, exact fonts, DOM order, accessibility, or animation timing.
- A motion clip cannot prove source code, interaction semantics, or responsive behavior.
- Do not infer exact implementation details that the evidence does not support.
- Never store authenticated or private references without explicit authority.
- Keep local captures under
.aigent/inspiration; do not commit third-party screenshots or extracted private data.
Output contract
Every source must have:
- source identity and origin
- capture timestamp
- source kind
- evidence list
- confidence by dimension
- structure, typography, material, motion, interaction, media, and responsive DNA
- copy fingerprint, not copied copy
- human-readable report
The output describes a design. It does not authorize reuse of source assets or expression.