pedronauck avatar

Design Spec Extraction

This is a serious piece of engineering for turning design screenshots into structured JSON specs. It runs seven sequential passes, each writing intermediate files to disk, extracting everything from layout grids and color tokens to component hierarchies and accessibility issues. The file-based architecture means you can inspect each stage and resume if something breaks. Output follows the W3C DTCG format with extensions for layout and components. You'd use this when you need machine-readable design data for handoffs, reverse engineering UIs, or feeding design-to-code pipelines. It's thorough but heavy, so probably overkill if you just need a quick color palette.

skills.sh installs
271
GitHub stars
652
last updated
Aug 21, 2026

Install

$ npx -y skills add pedronauck/skills --skill design-spec-extraction --agent claude-code

Installs into .claude/skills of the current project.

Files

This is a serious piece of engineering for turning design screenshots into structured JSON specs. It runs seven sequential passes, each writing intermediate files to disk, extracting everything from layout grids and color tokens to component hierarchies and accessibility issues. The file-based architecture means you can inspect each stage and resume if something breaks. Output follows the W3C DTCG format with extensions for layout and components. You'd use this when you need machine-readable design data for handoffs, reverse engineering UIs, or feeding design-to-code pipelines. It's thorough but heavy, so probably overkill if you just need a quick color palette.

Browse the repository on GitHub

Sponsors

Details

Repository
github.com/pedronauck/skills
Categories
Frontend Development, Code Review & Quality, Design & UI/UX
First seen
Jun 3, 2026

More from pedronauck/skills

All 70
1hoodini avatarux-design-systemshoodini/ai-agents-skillsBuild consistent design systems with tokens, components, and theming. Use when creating component libraries, implementing design tokens, building theme systems,270skills.sh installs
2pproenca avatarrails-design-systempproenca/dot-skillsRuby on Rails design system guidelines for building consistent, maintainable UI with minimal abstraction. This skill should be used when creating or refactoring270skills.sh installs
3patricio0312rev avatarhot-reload-optimizerpatricio0312rev/skillsOptimizes hot module replacement and fast refresh for development speed with Vite, Next.js, and webpack configurations. Use when users request "hot reload", "HM264skills.sh installs
4patricio0312rev avatartanstack-query-setuppatricio0312rev/skillsImplements TanStack Query (React Query) for server state management with caching, mutations, optimistic updates, and infinite queries. Use when users request "r264skills.sh installs
5borghei avatardesign-system-leadborghei/claude-skillsDesign systems leadership across component libraries, design tokens, and design-dev collaboration. Use when architecting a token system, building a component li259skills.sh installs
6jdrhyne avatarelegant-reportsjdrhyne/agent-skillsGenerate beautifully designed PDF reports with a Nordic/Scandinavian aesthetic. Use when creating polished executive briefings, analysis reports, or presentatio259skills.sh installs