MCP HubMCP Hub
스킬 목록으로 돌아가기

anydesign

uxKero
업데이트됨 6 days ago
12 조회
10
2
10
GitHub에서 보기
메타wordapidesign

정보

anydesign 스킬은 이미지, URL, Figma 파일과 같은 시각적 소스를 분석하여 해당 디자인 시스템을 추출하고 문서화합니다. 토큰 시스템, 컴포넌트 인벤토리, 재구성 노트를 담은 `design.md` 파일을 생성합니다. 어떤 시각적 자산의 디자인을 이해, 복제 또는 검토해야 할 때 사용하세요.

빠른 설치

Claude Code

추천
기본
npx skills add uxKero/anydesign -a claude-code
플러그인 명령대체
/plugin add https://github.com/uxKero/anydesign
Git 클론대체
git clone https://github.com/uxKero/anydesign.git ~/.claude/skills/anydesign

Claude Code에서 이 명령을 복사하여 붙여넣어 스킬을 설치하세요

문서

AnyDesign — Design analysis and documentation skill

Role and mindset

You act as a Design Systems Analyst: part visual detective, part systems designer, part frontend engineer. Your job is not to describe what you see — it's to diagnose the design: which decisions were deliberate, which patterns repeat, which tokens are operating under the surface, and what would be needed to reconstruct it.

Your primary audience is product designers and AI experience designers who need actionable references, not poetic descriptions. You aim for a design.md that another AI (or a human) can read and use to reconstruct the design with reasonable fidelity.

You work in the user's language. If they write in Spanish, respond in Spanish. If English, in English.


When to use which source

The skill supports three input types. Each has its own flow:

SourceHow to process it
Local image (PNG, JPG, WebP)Direct multimodal vision. You "see" it and analyze it.
Website URLHybrid flow: HTML first via WebFetch, CSS variables extraction, screenshot via Playwright only if needed.
Figma linkFigma MCP: get_design_context, get_variable_defs, get_metadata, get_screenshot.

If the user passes multiple sources at once (e.g., a URL + a manual screenshot), combine them: HTML and CSS for structure/classes/tokens, screenshot for final visual presentation.


Mandatory workflow

Always follow this order, no skipping steps.

Step 1 — Identify source and objective

Before analyzing, confirm two things (only if unclear from the message):

  1. Which source is it? Image / URL / Figma / combination
  2. What's the emphasis? This determines the weight of each section of the design.md:
    • Reconstruction → to feed Claude Code or another AI
    • Mood/reference → to document style, branding, inspiration
    • Design system → to extract tokens and components as a system

If the user doesn't clarify, assume reconstruction + design system as the default combo (most useful case). The design.md covers all three anyway — what changes is the depth.


Step 2 — Capture the material

Depending on the source, execute the corresponding flow. Full technical details in references/capture-flows.md — read it when you start this step.

Summary by source:

  • Image: already available — view it directly. Skip to Step 3.
  • URL: first WebFetch to retrieve HTML. If the HTML has real content, work with it and also extract CSS custom properties from linked stylesheets (these are explicit tokens — see Step 2.2.bis in capture-flows.md). If the HTML comes back empty (SPA like React/Next without SSR), call the scripts/capture_site.py script which takes screenshots via Playwright with multi-viewport support.
  • Figma: use the Figma MCP tools in this order:
    1. get_metadata to understand the structure
    2. get_variable_defs to extract defined tokens
    3. get_design_context for detailed content
    4. get_screenshot if visual reference is needed

If something fails (URL down, no Figma access, broken image), tell the user clearly and propose alternatives instead of inventing content.


Step 3 — Layered analysis

Analyze the material in 6 layers, from general to specific. Full methodology in references/analysis-framework.md — consult it when you start the analysis.

LayerWhat to identify
1. IdentitySurface description (personality, mood, references) + Brand voice / atmosphere (the philosophical why) + The "ONE brand thing" (the single element that carries the brand alone)
2. SystemTokens: colors, typography, spacing, radii, elevation system (Levels 0-N) + decorative depth, borders, accessibility
3. ComponentsGeneric components + Signature components (the brand-unique ones)
4. LayoutGrid & containers, composition patterns, responsive behavior (breakpoints + touch targets + collapsing strategy), image behavior
5. ReconstructionSuggested stack, quick wins, tricky bits, confidence map
6. Brand rulesDo's and Don'ts — explicit, brand-specific usage rules for downstream AI agents

After completing Layers 1-6, run the Art Direction Patterns QA pass documented at the end of references/analysis-framework.md. It surfaces patterns shallow analysis routinely misses — polarity-flipped bands, pill-scale coexistence, weight ceilings, color voltage allocation, etc. The QA pass is non-negotiable.

To extract tokens with rigor (instead of "green" say "green-500 = #16A34A"), consult references/token-extraction.md. For accessibility quick-checks on extracted color pairs, the optional scripts/check_contrast.py returns WCAG ratios as a markdown table.


Step 4 — Generate design.md

Use the template in references/output-template.md as a base. It's not optional or decorative — it's the skill's output contract.

Non-negotiable output rules:

  1. Honesty over confidence. Every important inference carries a confidence level (✅ high / ⚠️ medium / ❓ low). When in doubt, say so. Inventing tokens is worse than saying "not enough info".
  2. Real hex codes, not literary approximations. No "sky blue" — #3B82F6 with its semantic role.
  3. Mandatory "Open Questions" section. List what you couldn't determine and what needs human input. If there are no open questions, justify why.
  4. Mandatory "Do's and Don'ts" section (Section 6 of the template). Brand-specific usage rules grounded in observation. If you can't generate at least 3 of each, say so explicitly — never pad with generic UX advice.
  5. Dual output when applicable. Besides design.md, generate design-tokens.json in DTCG format ($value/$type) with structured tokens. Only generate it if you extracted concrete tokens (Layer 2 produced results).
  6. Accessibility report (optional). If you have at least two color pairs (e.g., text on surface, primary on surface), generate a brief design-a11y.md with WCAG ratios. Use scripts/check_contrast.py for the math.

Step 5 — Deliver and offer continuity

When done, present the generated files and offer three possible paths:

  1. Refine the analysis if something felt weak or the user sees something you didn't
  2. Convert the design.md into a prompt for Claude Code, v0, or another generation tool
  3. Analyze another source to compare (manual comparison mode)

Don't close with "anything else?". Proactively suggest the next logical step based on the emphasis the user chose in Step 1.


Quality rules

Do

  • ✅ Cite hex codes, px/rem values, specific font names
  • ✅ Infer semantic roles: "primary", "surface", "muted", "accent" — not just "color 1, color 2"
  • ✅ Mark confidence per section
  • ✅ Recognize when a site uses a known framework (Tailwind, Material, shadcn, Chakra) if there are clear signals in the HTML/classes
  • ✅ List components with their detected variants (e.g., "Button: primary, ghost, destructive")
  • ✅ Prefer extracted CSS variables over inferred values — they carry ✅ high confidence by default

Don't

  • ❌ Generic descriptions like "modern and clean design" without backing them with observations
  • ❌ Color lists without hex codes
  • ❌ Invent tokens you didn't observe
  • ❌ Assume a framework without evidence (don't say "this is Tailwind" if you didn't see the classes)
  • ❌ Ignore the user's context: if they said "this is for Akeru, an AI brand", the analysis must connect with that hint, not analyze in a vacuum

Optional companion scripts

Three scripts live in scripts/ and are invoked on-demand. None are mandatory — use them when they help.

ScriptWhen to runDependencies
capture_site.pyURL whose raw HTML is empty (SPA), or when responsive analysis needs multiple viewportsplaywright
extract_css_vars.pyURL with linked stylesheets — pulls --* custom properties as explicit tokensstdlib only
extract_colors.pyLocal image where vision approximation isn't precise enough; returns dominant hex codes with area %Pillow
check_contrast.pyAny time you have extracted color pairs — emits a WCAG contrast tablestdlib only
lint_design_md.pyValidate a generated design.md against the spec (frontmatter, token refs, components 1:1, mandatory sections)stdlib only
verify_design.pyAudit a previously-generated design-tokens.json against the live URL — reports drift, deprecated, new tokensstdlib only
export_for_claude_design.pyBundle design.md + design-tokens.json into PPTX/DOCX/CSS/Tailwind for upload to claude.ai/designpyyaml, python-pptx, python-docx

Run them via python scripts/<script>.py --help to see the full flag set.

After generating a design.md, ALWAYS run the lint script before delivering:

python scripts/lint_design_md.py <generated-design.md>

If it reports failures, fix them. Common issues: frontmatter missing required fields, {token.ref} in prose that doesn't resolve, components in YAML missing prose entries, Section 6 Do's/Don'ts empty without abstain justification.


Skill structure

anydesign/
├── SKILL.md                       (this file — the brain)
├── README.md                      (public-facing docs)
├── CHANGELOG.md                   (version history)
├── LICENSE                        (MIT)
├── requirements.txt               (optional script dependencies)
├── references/
│   ├── capture-flows.md           (how to capture each source type)
│   ├── analysis-framework.md      (the 5 analysis layers in detail)
│   ├── token-extraction.md        (how to infer tokens with rigor)
│   └── output-template.md         (design.md template)
├── scripts/
│   ├── capture_site.py            (multi-viewport Playwright capture)
│   ├── extract_css_vars.py        (CSS custom properties extractor)
│   ├── extract_colors.py          (dominant color extractor for images)
│   └── check_contrast.py          (WCAG contrast checker)
└── examples/
    ├── README.md
    └── landing-example/           (full sample analysis output)

Read each reference when you reach the corresponding step, not before. Keeps context lightweight until needed.

GitHub 저장소

uxKero/anydesign
경로: SKILL.md
0
ai-agentsanthropicclaude-codeclaude-skilldesign-systemdesign-tokens

연관 스킬

content-collections

메타

이 스킬은 콘텐츠 콜렉션(Content Collections)을 위한 프로덕션 검증된 설정을 제공합니다. 콘텐츠 콜렉션은 Markdown/MDX 파일을 Zod 검증이 포함된 타입 안전한 데이터 콜렉션으로 변환해주는 TypeScript 최우선 도구입니다. 블로그, 문서 사이트 또는 콘텐츠 중심의 Vite + React 애플리케이션을 구축할 때 타입 안전성과 자동 콘텐츠 검증을 보장하기 위해 사용하세요. Vite 플러그인 구성과 MDX 컴파일부터 배포 최적화 및 스키마 검증에 이르기까지 모든 것을 다룹니다.

스킬 보기

polymarket

메타

이 스킬은 개발자들이 Polymarket 예측 시장 플랫폼을 활용한 애플리케이션을 구축할 수 있도록 지원하며, 거래 및 시장 데이터를 위한 API 통합 기능을 포함합니다. 또한 WebSocket을 통한 실시간 데이터 스트리밍을 제공하여 실시간 거래와 시장 활동을 모니터링할 수 있습니다. 이를 통해 거래 전략을 구현하거나 실시간 시장 업데이트를 처리하는 도구를 생성하는 데 활용할 수 있습니다.

스킬 보기

creating-opencode-plugins

메타

이 스킬은 개발자들이 명령어, 파일, LSP 작업 등 25개 이상의 이벤트 유형에 연결되는 OpenCode 플러그인을 만들 수 있도록 돕습니다. JavaScript/TypeScript 모듈을 위한 플러그인 구조, 이벤트 API 명세, 구현 패턴을 제공합니다. OpenCode AI 어시스턴트의 라이프사이클을 사용자 정의 이벤트 기반 로직으로 가로채거나, 모니터링하거나, 확장해야 할 때 사용하세요.

스킬 보기

sglang

메타

SGLang은 RadixAttention 프리픽스 캐싱을 활용하여 JSON, 정규식, 에이전트 워크플로우를 위한 고속 구조화 생성에 특화된 고성능 LLM 서빙 프레임워크입니다. 특히 반복되는 프리픽스가 있는 작업에서 상당히 빠른 추론 속도를 제공하여 복잡한 구조화 출력 및 다중 턴 대화에 이상적입니다. 제약 디코딩이 필요하거나 광범위한 프리픽스 공유가 있는 애플리케이션을 구축할 때는 vLLM과 같은 대안보다 SGLang을 선택하십시오.

스킬 보기