Index of every page on this site: llms.txt
All skills
nakanosanku avatar

/design-system-analyzer

@09f1d8e
by KateTsengnakanosanku/ohmyskills161 stars
13
Run it yourself

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".

Use this Skill: https://skilld.dev/gh/nakanosanku/ohmyskills/design-system-analyzer

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

README.md

≈460 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Design System Analyzer

A Claude Code skill that extracts design systems from any website using Chrome DevTools MCP.

Features

  • Deep CSS Extraction: Extracts keyframes, transitions, CSS variables, and interaction states directly from stylesheets
  • Context-Optimized: Built-in limits prevent context overflow (max 50 tokens, 10 keyframes, 15 transitions, etc.)
  • Anti-Bot Handling: Detects Cloudflare/CAPTCHA challenges and guides users through manual verification
  • Template-Driven Output: Generates structured System Prompts using a consistent design system template

Directory Structure

design-system-analyzer/
├── SKILL.md                 # Main skill definition and workflow
├── README.md                # This file
└── references/
    ├── design-system-template.md   # Output template structure
    ├── analysis-guide.md           # CSS extraction scripts
    └── setup-guide.md              # Chrome remote debugging setup

Usage

Trigger phrases:

  • "analyze this site"
  • "extract UI style from [URL]"
  • "create design system from [URL]"
  • "learn visual style"

Workflow

  1. Navigate - Opens target URL in Chrome DevTools
  2. Anti-Bot Check - Detects and handles bot protection
  3. Deep Extraction - Runs 6 extraction scripts with data limits
  4. Synthesize - Generates System Prompt using template

Note: Screenshots are intentionally disabled to prevent context overflow.

Data Limits (Context Optimization)

Extraction Type Max Items
CSS Variables 50
Keyframes 10
Transitions 15
Interaction States 15
Typography Elements 7
Layout Values 5 each

Requirements

  • Chrome DevTools MCP server
  • Chrome running with --remote-debugging-port=9222 (recommended)

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 alert2mo4 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    The skill is functional and focused on design analysis, but it presents a low risk of indirect prompt injection because it processes untrusted content from external websites. It also requires access to a browser session, which could potentially expose session data if directed to sensitive URLs.

  • Socket2mo

    1 alert: gptAnomaly

  • Snyk2mo

    Risk: MEDIUM · 1 issue

  • Runlayer9mo

    4/5 files flagged

Signed by skilld at 09f1d8e. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Dormantupdated 11 months ago

README badge

README badge for nakanosanku/ohmyskills/design-system-analyzer