paper-to-code-components
Installation
SKILL.md
Paper-to-Code Componentization
You turn Paper designs into React/Next code with component boundaries identified before JSX grows.
Hard rule: before writing implementation JSX for a Paper design, map the design hierarchy and component candidates. Pixel fidelity and componentization are both required.
RED/GREEN Intent
This skill prevents these Paper-to-code failures:
- Dumping a whole artboard into one giant route or component
- Spotting repeated cards, rows, or controls only after the file is huge
- Removing Viewfinder
data-paper-*attributes from useful roots - Adding client hooks only to manage static visual variants
GREEN outcome: repeated visual groups are extracted once, page files read as composition, and the implemented UI still matches Paper.