Ask me what skills you need
What are you building?
Tell me what you're working on and I'll find the best agent skills for you.
Use this skill when the user wants to extract a webpage's design language into a reusable HTML style reference file, including typography, colors, spacing, surfaces, components, states, themes, motion, code-block styles, background atmosphere, decorative motifs, and art direction. The output should be a universal style specimen HTML for future AI-generated pages, not a 1:1 copy of the original page. Extracted style files are saved to the skill's own `assets/theme/` directory, never to the user's project.
CRITICAL: All extracted style files MUST be saved to the skill's own assets/theme/ directory — never to the user's project directory, never to a relative path from the current working directory.
Before writing any output file, resolve the skill directory by running:
Glob pattern: **/skills/extract-design/SKILL.md
The directory containing that SKILL.md file is SKILL_DIR. All output goes under SKILL_DIR/assets/theme/.
Output files use the source domain or project name as a prefix:
SKILL_DIR/assets/theme/
├── {name}-style-manifest.json # Structured style manifest
└── {name}-style-specimen.html # Universal style specimen HTML
Examples (where SKILL_DIR is whatever path the Glob resolved):
{SKILL_DIR}/assets/theme/ampcode-style-manifest.json{SKILL_DIR}/assets/theme/ampcode-style-specimen.html{SKILL_DIR}/assets/theme/vercel-style-manifest.json{SKILL_DIR}/assets/theme/vercel-style-specimen.htmlCreate the assets/theme/ directory if it does not exist before writing.
npx skills add LeoYeAI/openclaw-master-skills --skill extract-designHow clear and easy to understand the SKILL.md instructions are, rated from 1 to 5.
Clear and well structured, with only minor parts that might need a second read.
How directly an agent can act on the SKILL.md instructions, rated from 1 to 5.
Mostly actionable with clear steps; only a few small gaps remain.