Loading...
Loading...
Analyze any website's UI style using ChromeDevTools to extract precise CSS tokens, animations, and interaction states. Handles complex sites and anti-bot measures by guiding the user. Triggers on "analyze this site", "extract UI style", "create design system from [URL]", or "learn visual style".
npx skill4agent add nakanosanku/ohmyskills design-system-analyzerreferences/design-system-template.mdchrome.exe --remote-debugging-port=9222[1. Navigate] → [2. Anti-Bot Check] → [3. Deep Extraction] → [4. Synthesize to Template]mcp__chrome-devtools__navigate_page (url: "<target-url>")() => {
const text = document.body.innerText.toLowerCase();
const title = document.title.toLowerCase();
if (text.includes('cloudflare') || text.includes('verify you are human') || title.includes('just a moment')) {
return 'CHALLENGE_DETECTED';
}
return 'OK';
}references/analysis-guide.md| Order | Script | Purpose | Max Items |
|---|---|---|---|
| 1 | CSS Variables & Tokens | Colors, spacing, typography variables | 50 tokens |
| 2 | Animation & Keyframes | @keyframes, animation usage, transitions | 10 KF, 15 trans |
| 3 | Interaction States | :hover, :focus, :active rules | 15 rules |
| 4 | Typography | Font stacks from key elements | 7 elements |
| 5 | Layout & Spacing | Border radius, gaps, shadows | 5 each |
| 6 | Tech Stack | Framework detection | - |
references/design-system-template.md| Extracted Data | Template Section | Notes |
|---|---|---|
| | Format as table |
| | Include radius values |
| | Include font stacks |
| Typography script | | Computed styles |
| | Full keyframe definitions |
| | Duration, easing |
| | Common patterns |
| | Hover/focus effects |
| Layout sampler | | Spacing system |
| Tech stack | | Tailwind/CSS notes |
<role><design-system>## Design Philosophy## Design Token System## Component Styling Principles## Layout Principles## The "Signature" Factor## Animation & Motion## Accessibility Constraints## Anti-Patterns## Implementation Notes## Aesthetic Checklist</design-system>