Design Reference Analysis
Reference this skill when reverse-engineering any website or design reference into implementation-grade specs. Follow all 8 steps in order.
The 8-Step Process
Step 1: Identify the Aesthetic
Capture the overall vibe in one sentence. Examples:
- "Pure black bg, Apple-inspired, liquid glass morphism, premium serif + sans-serif"
- "Cinematic, minimalist, dark, architectural. Video backgrounds, vignette overlays"
- "Light hero → dark via diagonal divider, system sans-serif, video blend modes"
Then note the tech stack:
Tech: React + [framework] + TypeScript + Tailwind + [UI library] + [animation library]
Fonts: [heading font] + [body font] + [mono font if present]
Step 2: Extract the Color System
Pull exact values using browser DevTools (Computed Styles panel).
Minimum extraction:
--bg: /* Page background */
--surface: /* Card/panel background */
--elevated: /* Raised elements */
--border: /* Dividers, borders */
--muted: /* Lowest text */
--secondary: /* Supporting text */
--primary: /* Main text */
--accent: /* Brand/action color */
Plus any gradients:
--accent-gradient: linear-gradient(90deg, #start, #end);
Never write "dark gray" or "light blue" — always hex, rgba, or HSL.
Step 3: Map the Typography
For every text element on the page, extract:
| Element |
Font Family |
Weight |
Size (Desktop) |
Size (Mobile) |
Tracking |
Leading |
Color |
Common elements to capture:
- Hero headline, sub-headline, CTA text
- Section headings (H2, H3)
- Body text, captions, labels
- Nav links, footer links
- Button text, badge text
- Stat values, code/mono text
Check font-feature-settings and font-variant-numeric for tabular numbers.
Step 4: Document Layout & Spacing
For every section:
Section: [name]
Container: [max-width] [padding]
Grid: [columns per breakpoint] [gap]
Section spacing: [padding-top/bottom]
Capture:
- Container max-width (inspect the outermost content wrapper)
- Grid column counts at each breakpoint
- Gap values between grid items
- Section vertical padding
- Card internal padding
- Navigation height and position (fixed/sticky)
Step 5: Catalog Effects
For every visual effect:
| Effect |
Element |
Complete CSS |
Look for:
- Glass/blur effects (
backdrop-filter, background-blend-mode)
- Gradient borders (::before pseudo-elements with mask-composite)
- Box shadows (multiple shadows, inset shadows, glow effects)
- Vignettes (radial-gradient overlays)
- Patterns (halftone, dot patterns, grid patterns)
- Video overlays (gradient fades, color tints)
Extract the FULL CSS — including pseudo-elements, mask properties, and animation keyframes.
Step 6: Record Animations
For every animation:
| Animation |
Trigger |
From |
To |
Duration |
Easing |
Delay |
Check for:
- Page load entrances (GSAP, Framer Motion)
- Scroll-triggered reveals (IntersectionObserver, ScrollTrigger)
- Hover effects (scale, translateY, color, shadow)
- Parallax (scroll-linked transforms)
- Marquee/ticker (infinite horizontal scroll)
- Loading screen (counter, progress, word rotation)
- Layout animations (shared element transitions)
Inspect the element's transition, animation, and computed transform during interaction.
Step 7: Map the Z-Index Stack
From DevTools, inspect z-index on all positioned elements:
z-0: Background, video
z-[1-3]: Overlays, dividers
z-10: Content
z-20: Sticky elements
z-30: Dropdowns
z-40-50: Navigation, modals
z-[100]: Lightbox
z-[9999]: Loading screen
Step 8: Compile the Spec
Assemble into implementation-grade format:
# [Reference Name] — Design Analysis
## Aesthetic
[One-sentence vibe + tech stack + fonts]
## Design System
[Color variables as CSS custom properties]
## Typography
[Full type scale table]
## Layout
[Section-by-section breakdown with exact Tailwind]
## Effects
[Complete CSS for every visual effect]
## Animations
[Framer Motion or GSAP code for every animation]
## Z-Index Map
[Layer stack]
## Responsive
[What changes at sm/md/lg/xl]
Quality Gate (7 Patterns)
Before submitting any reference analysis, verify:
- Every color is exact.
#0F0F0F, rgba(255,255,255,0.01), text-white/60. Never "dark" or "muted" without a value.
- Every spacing uses the system.
px-5 py-4 md:px-12 md:py-6, gap-12, mb-8. Never "some padding."
- Effects have complete CSS. Including pseudo-elements, masks, filters. Copy-pasteable.
- Animations have exact parameters. Duration, delay, easing, from/to values.
- Responsive is per-breakpoint.
text-[2.75rem] md:text-[5.5rem]. State exactly what changes.
- Z-index is explicit. Every layered element has a documented z-value.
- Typography is fully specified. Family + weight + size + responsive sizes + tracking + leading + color.
10-Question Quality Check
Run on every completed analysis:
- What color? → hex or Tailwind class with opacity
- What font? → family, weight, size per breakpoint, tracking, leading, style
- What spacing? → exact Tailwind values with responsive breakpoints
- What effect? → complete CSS including pseudo-elements, filters, shadows
- What animation? → exact Framer Motion or GSAP props
- What layout? → grid/flex columns per breakpoint, gap, max-width
- What z-order? → explicit z-index for every layered element
- What on hover? → exact state change
- What on mobile? → exactly what changes at sm/md/lg/xl
- What accessibility? → ARIA labels, keyboard focus, reduced motion
If any question can't be answered from the spec, the analysis isn't done.
DevTools Quick Reference
- Colors: Right-click element → Inspect → Computed →
background-color, color, border-color
- Fonts: Computed →
font-family, font-size, font-weight, letter-spacing, line-height
- Spacing: Computed →
padding, margin, gap (or inspect the box model diagram)
- Effects: Computed →
backdrop-filter, box-shadow, background-image, filter
- Animations: Elements panel → check for
transition, animation, transform in Styles
- Z-index: Computed →
z-index (check parent stacking contexts too)
- Responsive: Toggle device toolbar, check at 375/768/1024/1280/1920px
Rules
- Never analyze a reference without completing all 8 steps.
- Never submit a reference with vague descriptions — every value must be exact.
- Always verify by comparing your spec against the original at each breakpoint.
- Save completed analyses to
design-specs/references/ for future reuse.
1---2name: design-reference-analysis3description: "8-step reverse-engineering process for any website into implementation-grade specs. Use when analyzing a reference site, cloning a design, extracting design tokens, or turning a visual reference into a build-ready specification."4metadata:5 source: https://skillmd.com/skills/nickgallick/design-reference-analysis6---78# Design Reference Analysis910Reference this skill when reverse-engineering any website or design reference into implementation-grade specs. Follow all 8 steps in order.1112## The 8-Step Process1314### Step 1: Identify the Aesthetic1516Capture the overall vibe in one sentence. Examples:17- "Pure black bg, Apple-inspired, liquid glass morphism, premium serif + sans-serif"18- "Cinematic, minimalist, dark, architectural. Video backgrounds, vignette overlays"19- "Light hero → dark via diagonal divider, system sans-serif, video blend modes"2021Then note the tech stack:22```23Tech: React + [framework] + TypeScript + Tailwind + [UI library] + [animation library]24Fonts: [heading font] + [body font] + [mono font if present]25```2627---2829### Step 2: Extract the Color System3031Pull exact values using browser DevTools (Computed Styles panel).3233**Minimum extraction:**34```css35--bg: /* Page background */36--surface: /* Card/panel background */37--elevated: /* Raised elements */38--border: /* Dividers, borders */39--muted: /* Lowest text */40--secondary: /* Supporting text */41--primary: /* Main text */42--accent: /* Brand/action color */43```4445**Plus any gradients:**46```css47--accent-gradient: linear-gradient(90deg, #start, #end);48```4950Never write "dark gray" or "light blue" — always hex, rgba, or HSL.5152---5354### Step 3: Map the Typography5556For every text element on the page, extract:5758| Element | Font Family | Weight | Size (Desktop) | Size (Mobile) | Tracking | Leading | Color |59|---------|-------------|--------|----------------|---------------|----------|---------|-------|6061**Common elements to capture:**62- Hero headline, sub-headline, CTA text63- Section headings (H2, H3)64- Body text, captions, labels65- Nav links, footer links66- Button text, badge text67- Stat values, code/mono text6869Check `font-feature-settings` and `font-variant-numeric` for tabular numbers.7071---7273### Step 4: Document Layout & Spacing7475For every section:76```77Section: [name]78Container: [max-width] [padding]79Grid: [columns per breakpoint] [gap]80Section spacing: [padding-top/bottom]81```8283**Capture:**84- Container max-width (inspect the outermost content wrapper)85- Grid column counts at each breakpoint86- Gap values between grid items87- Section vertical padding88- Card internal padding89- Navigation height and position (fixed/sticky)9091---9293### Step 5: Catalog Effects9495For every visual effect:9697| Effect | Element | Complete CSS |98|--------|---------|-------------|99100**Look for:**101- Glass/blur effects (`backdrop-filter`, `background-blend-mode`)102- Gradient borders (::before pseudo-elements with mask-composite)103- Box shadows (multiple shadows, inset shadows, glow effects)104- Vignettes (radial-gradient overlays)105- Patterns (halftone, dot patterns, grid patterns)106- Video overlays (gradient fades, color tints)107108Extract the FULL CSS — including pseudo-elements, mask properties, and animation keyframes.109110---111112### Step 6: Record Animations113114For every animation:115116| Animation | Trigger | From | To | Duration | Easing | Delay |117|-----------|---------|------|-----|----------|--------|-------|118119**Check for:**120- Page load entrances (GSAP, Framer Motion)121- Scroll-triggered reveals (IntersectionObserver, ScrollTrigger)122- Hover effects (scale, translateY, color, shadow)123- Parallax (scroll-linked transforms)124- Marquee/ticker (infinite horizontal scroll)125- Loading screen (counter, progress, word rotation)126- Layout animations (shared element transitions)127128Inspect the element's `transition`, `animation`, and computed `transform` during interaction.129130---131132### Step 7: Map the Z-Index Stack133134From DevTools, inspect `z-index` on all positioned elements:135136```137z-0: Background, video138z-[1-3]: Overlays, dividers139z-10: Content140z-20: Sticky elements141z-30: Dropdowns142z-40-50: Navigation, modals143z-[100]: Lightbox144z-[9999]: Loading screen145```146147---148149### Step 8: Compile the Spec150151Assemble into implementation-grade format:152153```markdown154# [Reference Name] — Design Analysis155156## Aesthetic157[One-sentence vibe + tech stack + fonts]158159## Design System160[Color variables as CSS custom properties]161162## Typography163[Full type scale table]164165## Layout166[Section-by-section breakdown with exact Tailwind]167168## Effects169[Complete CSS for every visual effect]170171## Animations172[Framer Motion or GSAP code for every animation]173174## Z-Index Map175[Layer stack]176177## Responsive178[What changes at sm/md/lg/xl]179```180181---182183## Quality Gate (7 Patterns)184185Before submitting any reference analysis, verify:1861871. **Every color is exact.** `#0F0F0F`, `rgba(255,255,255,0.01)`, `text-white/60`. Never "dark" or "muted" without a value.1882. **Every spacing uses the system.** `px-5 py-4 md:px-12 md:py-6`, `gap-12`, `mb-8`. Never "some padding."1893. **Effects have complete CSS.** Including pseudo-elements, masks, filters. Copy-pasteable.1904. **Animations have exact parameters.** Duration, delay, easing, from/to values.1915. **Responsive is per-breakpoint.** `text-[2.75rem] md:text-[5.5rem]`. State exactly what changes.1926. **Z-index is explicit.** Every layered element has a documented z-value.1937. **Typography is fully specified.** Family + weight + size + responsive sizes + tracking + leading + color.194195---196197## 10-Question Quality Check198199Run on every completed analysis:2002011. What color? → hex or Tailwind class with opacity2022. What font? → family, weight, size per breakpoint, tracking, leading, style2033. What spacing? → exact Tailwind values with responsive breakpoints2044. What effect? → complete CSS including pseudo-elements, filters, shadows2055. What animation? → exact Framer Motion or GSAP props2066. What layout? → grid/flex columns per breakpoint, gap, max-width2077. What z-order? → explicit z-index for every layered element2088. What on hover? → exact state change2099. What on mobile? → exactly what changes at sm/md/lg/xl21010. What accessibility? → ARIA labels, keyboard focus, reduced motion211212**If any question can't be answered from the spec, the analysis isn't done.**213214---215216## DevTools Quick Reference217218- **Colors:** Right-click element → Inspect → Computed → `background-color`, `color`, `border-color`219- **Fonts:** Computed → `font-family`, `font-size`, `font-weight`, `letter-spacing`, `line-height`220- **Spacing:** Computed → `padding`, `margin`, `gap` (or inspect the box model diagram)221- **Effects:** Computed → `backdrop-filter`, `box-shadow`, `background-image`, `filter`222- **Animations:** Elements panel → check for `transition`, `animation`, `transform` in Styles223- **Z-index:** Computed → `z-index` (check parent stacking contexts too)224- **Responsive:** Toggle device toolbar, check at 375/768/1024/1280/1920px225226---227228## Rules229- Never analyze a reference without completing all 8 steps.230- Never submit a reference with vague descriptions — every value must be exact.231- Always verify by comparing your spec against the original at each breakpoint.232- Save completed analyses to `design-specs/references/` for future reuse.