Agent skill

Analyse Design

by sammcj in sammcj/agentic-coding

Reverse-engineer an application, website or document's design system from its codebase and screenshots.

Apache-2.0Auto-check passedFrontend & Design

Install Analyse Design

skills CLI
$ npx skills add sammcj/agentic-coding --skill analyse-design -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install sammcj/agentic-coding analyse-design --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/sammcj/agentic-coding.git skills-src && mkdir -p .claude/skills && cp -r skills-src/Skills/analyse-design .claude/skills/analyse-design && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
analyse-design
GitHub stars
162
Token cost
~1.2k tokens
SKILL.md length
568 words
Files
1
Skills in repo
64
Repo updated
First seen
Licence
Apache-2.0

At a glance

Reverse-engineer an application, website or document's design system from its codebase and screenshots.

  • Works in 5 steps: Theme/token files - tailwind.config,… → Global styles - global.css, app.css,… → Component library config - shadcn… → …
  • Asked to analyse visual design
  • SKILL.md covers Where to Look, Dimensions to Analyse, Output Format and Tips
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Analyse Design is an agent skill from sammcj/agentic-coding. Reverse-engineer an application, website or document's design system from its codebase and screenshots. Use when asked to analyse visual design, extract a colour palette, document UI patterns, identify typography and spacing systems, audit design consistency, or understand the design language of a frontend codebase.

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Frontend & Design, covering Design systems, UI design and Theming and dark mode. The repository describes itself as: Agentic Coding Rules, Templates etc... The licence is Apache-2.0.

When your agent uses it

  • Asked to analyse visual design
  • Extract a colour palette
  • Document UI patterns
  • Identify typography and spacing systems

Example prompts

  • “/analyse-design”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Theme/token files - tailwind.config, Tailwind v4 CSS-first tokens (@theme blocks in CSS), theme.ts/js, tokens.json, design-tokens…
  2. Global styles - global.css, app.css, index.css, _variables.scss, CSS custom properties (:root / [data-theme])
  3. Component library config - shadcn components.json, MUI theme, Chakra theme, Ant Design config
  4. Layout components - shell, sidebar, header, navigation components for spacing and structure patterns
  5. Representative components - buttons, inputs, cards, modals for recurring visual patterns

What it can do on your machine

Read from SKILL.md and the folder at commit 2f25ced. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Analyse Design loads about 1.2k tokens when it runs. Until then it costs about 83 tokens; SKILL.md has 568 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~83
When it runs · the whole SKILL.md, loaded when a task matches
~1.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from sammcj/agentic-coding at commit 2f25ced, republished under its Apache-2.0 licence (© sammcj). 568 words, ~1,173 tokens.

Download SKILL.mdSave it as .claude/skills/analyse-design/SKILL.md (or your agent's skills folder).
name
analyse-design
description
Reverse-engineer an application, website or document's design system from its codebase and screenshots. Use when asked to analyse visual design, extract a colour palette, document UI patterns, identify typography and spacing systems, audit design consistency, or understand the design language of a frontend codebase.

Analysing Design Systems

Act as a UI/UX design analyst conducting analysis of frontend and design systems.

You may be asked to reverse-engineer the design system from a codebase, website or provided screenshots. Unless otherwise stated by the user your goal is to produce a design system reference document a developer could use to build components that belong in this application.

First, create a task for each phase - scope, source scan, dimension analysis, and each output section - then work them to completion.

Where to Look

Scan for design-relevant sources in this priority order:

  1. Theme/token files - tailwind.config, Tailwind v4 CSS-first tokens (@theme blocks in CSS), theme.ts/js, tokens.json, design-tokens, variables.css/scss
  2. Global styles - global.css, app.css, index.css, _variables.scss, CSS custom properties (:root / [data-theme])
  3. Component library config - shadcn components.json, MUI theme, Chakra theme, Ant Design config
  4. Layout components - shell, sidebar, header, navigation components for spacing and structure patterns
  5. Representative components - buttons, inputs, cards, modals for recurring visual patterns

Dimensions to Analyse

For each dimension, cite specific files and style definitions.

  • Design language - visual school/philosophy (e.g., neo-brutalist, material, glassmorphism, minimal flat). Mood conveyed. Unique visual signatures
  • Colour palette - extract actual values. Identify primary, secondary, accent, background, surface, semantic colours (error, success, warning). Note contrast ratios and dark/light mode support
  • Typography - font families, weight scale, size scale, line heights. How hierarchy is established
  • Spacing and layout - spacing scale, grid system, whitespace usage, information density, consistent sizing patterns
  • Component patterns - common shapes, border radii, shadow treatments, interaction states across buttons, inputs, cards, navigation, status indicators
  • Iconography - icon style (outline, filled, duotone), library if identifiable
  • Motion - animation patterns, easing curves, transition durations found in code
  • Responsive behaviour - breakpoints, layout shifts, mobile adaptations
Show full SKILL.md (291 more words)Show less

Output Format

Ask the user if they want your final output delivered in a markdown document (e.g. docs/DESIGN_LANGUAGE.md) or returned in the conversation.

Structure findings as:

  1. Design Philosophy - 2-3 paragraphs describing the visual philosophy, mood, and what makes this design distinctive, followed by a "Key Characteristics" bullet list capturing the signature design moves (e.g. "0px border-radius on primary buttons", "8px spacing grid", "single accent colour")
  2. Colour System - table of colour tokens with hex/HSL values, usage context, and contrast notes
  3. Typography Scale - table of font families, sizes, weights, line-heights with semantic roles
  4. Spacing Scale - list of spacing values and where they apply
  5. Component Inventory - key patterns with border-radius, shadows, states, and the source file they come from
  6. Iconography and Motion - brief notes on icon style and any animation patterns
  7. Responsive Strategy - breakpoints and layout behaviour
  8. Do's and Don'ts - derive from observed dominant patterns. "Do" lists the conventions that should be maintained. "Don't" lists anti-patterns that would break consistency (e.g. "Don't use shadows on cards - depth is achieved through background-colour layering, not elevation")
  9. Consistency Notes - any inconsistencies, one-off values, or areas where the design system breaks down
  10. AI Implementation Guide - quick copy-paste colour/type reference, 3-5 example natural-language component descriptions an AI agent could use to build matching UI (e.g. "Create a card: #f4f4f4 background, 0px border-radius, 16px padding. Title at 20px weight 600..."), and iteration hints

Tips

  • If you have the ability to ask the user questions using AskUserQuestion or similar you may ask the user multi-choice questions to clarify the scope of the analysis and their desired goals.
  • Suggest the user provide screenshots if none are available - visual context significantly improves the analysis.
  • Use sub-agents with clear operating boundaries to parallelise work.

© sammcj, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in Skills/analyse-design of sammcj/agentic-coding.

Open the folder on GitHubat commit 2f25ced

Compare with similar skills

Analyse Design next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Analyse Design compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Analyse Design this skillsammcj/agentic-coding162—~1.2kAutomated safety check: PassApache-2.0
UI UX Pro Max SkillJason904/ui-skill-lab144—~865Automated safety check: PassMIT
UI Crafteduclopez/ui-craft375—~9.5kAutomated safety check: PassMIT
Web Design Expertcuriositech/some_claude_skills243—~1.7kAutomated safety check: PassMIT
Impeccablebestofjs/bestofjs3.1k27 repos~2.6kAutomated safety check: PassMIT
UI StylingOhh-889/skyroc79513 repos~2.5kAutomated safety check: PassMIT

Similar skills

  • UI UX Pro Max Skill

    Jason904/ui-skill-lab

    A skill your agent uses for UI/UX design intelligence in Codex: planning, building, reviewing, improving, or implementing web/mobile interfaces, landing pages, dashboards, design systems…

    144 GitHub stars~865 tokensUpdated 3 mo ago
    Frontend & DesignAuto-check passed
  • UI Craft

    educlopez/ui-craft

    A skill your agent uses for UI design and implementation work to avoid generic AI-looking interfaces.

    375 GitHub stars~9.5k tokensUpdated 1 mo ago
    Frontend & DesignAuto-check passed
  • Web Design Expert

    curiositech/some_claude_skills

    Creates unique web designs with brand identity, color palettes, typography, and modern UI/UX patterns.

    243 GitHub stars~1.7k tokensUpdated 1 mo ago
    Frontend & DesignAuto-check passed
  • Impeccable

    bestofjs/bestofjs

    A skill your agent uses when the user wants to design, redesign, shape, critique, audit, polish, clarify, distill, harden, optimize, adapt, animate, colorize, extract, or otherwise improve a…

    3.1k GitHub starsUsed in 27 repos~2.6k tokens
    Frontend & DesignAuto-check passed
  • UI Styling

    Ohh-889/skyroc

    Create beautiful, accessible user interfaces with shadcn/ui components (built on Radix UI + Tailwind), Tailwind CSS utility-first styling, and canvas-based visual designs.

    795 GitHub starsUsed in 13 repos~2.5k tokens
    Frontend & DesignAuto-check passed
  • UI UX Pro Max

    saoudi-h/solar-icons

    UI/UX design intelligence for web and mobile. An agent skill from saoudi-h/solar-icons.

    186 GitHub starsUsed in 18 repos~11k tokens
    Frontend & DesignAuto-check: notes

More from sammcj/agentic-coding

All 64 skills in this repo
  • Yue2 Music

    sammcj/agentic-coding

    A skill your agent uses when generating songs with YuE2, covering a recording via SheetSage2 audio-to-ABC, editing a score or lyrics with melody preservation, or building a reproducible listening…

    162 GitHub stars~2.3k tokensUpdated today
    Auto-check passed
  • Bento Slides

    sammcj/agentic-coding

    A skill your agent uses when creating or editing Bento (.bento.html) slide decks, including any request for a single-file HTML slide deck.

    162 GitHub stars~2.9k tokensUpdated today
    Auto-check passed
  • Idrive Backup

    sammcj/agentic-coding

    A skill your agent uses whenever the user wants you to manage, discuss or diagnose iDrive Backup configuration on macOS

    162 GitHub stars~1.7k tokensUpdated today
    Auto-check: notes
  • Piper Tts Training

    sammcj/agentic-coding

    Train custom TTS voices for Piper (ONNX format) using fine-tuning or from-scratch approaches.

    162 GitHub stars~1.4k tokensUpdated today
    Auto-check passed
  • PPTX To Md

    sammcj/agentic-coding

    Convert a PPTX slide deck into per-slide markdown that preserves both the verbatim text and the meaning of embedded screenshots, diagrams and charts in their original layout positions.

    162 GitHub stars~1.8k tokensUpdated today
    Auto-check passed
  • Skill Creator Primer

    sammcj/agentic-coding

    You MUST load this skill before the skill-creator skill AND before making ANY change to, or conducting a review of ANY Agent Skill.

    162 GitHub stars~9.8k tokensUpdated today
    Auto-check passed

Questions about Analyse Design

What does Analyse Design do?

Reverse-engineer an application, website or document's design system from its codebase and screenshots. Analyse Design is an agent skill from sammcj/agentic-coding. Reverse-engineer an application, website or document's design system from its codebase and screenshots.

When should I use Analyse Design?

Analyse Design fits situations like: asked to analyse visual design; extract a colour palette; document UI patterns; identify typography and spacing systems.

How do I install Analyse Design in Claude Code?

Run `npx skills add sammcj/agentic-coding --skill analyse-design -a claude-code`. Or copy the skill folder (Skills/analyse-design in sammcj/agentic-coding) into .claude/skills/analyse-design in your project. Claude Code loads it when a task matches its description.

How do I install Analyse Design in Codex?

Run `npx skills add sammcj/agentic-coding --skill analyse-design -a codex`. Or copy the skill folder (Skills/analyse-design in sammcj/agentic-coding) into .agents/skills/analyse-design in your project. Codex loads it when a task matches its description.

Can I use Analyse Design in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add sammcj/agentic-coding --skill analyse-design -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/analyse-design, .gemini/skills/analyse-design, .github/skills/analyse-design and .opencode/skills/analyse-design in your project.

What does Analyse Design need to run?

SKILL.md names no scripts, command-line tools or credentials: Analyse Design is instructions for the agent only.

Does Analyse Design access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Analyse Design safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Analyse Design use?

Analyse Design is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Analyse Design use?

About 1.2k tokens (SKILL.md is roughly 4.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Analyse Design?

Skills that share tags, products or a category with Analyse Design: UI UX Pro Max Skill (Jason904/ui-skill-lab, 144 stars), UI Craft (educlopez/ui-craft, 375 stars), Web Design Expert (curiositech/some_claude_skills, 243 stars) and Impeccable (bestofjs/bestofjs, 3.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Analyse Design?

sammcj (a GitHub user) maintains it in sammcj/agentic-coding, which has 162 GitHub stars. The repository holds 64 skills in this directory. The repository was last updated on October 9, 2026.

Source: sammcj/agentic-coding on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.