Dimensional Drawing
Draws a UI component or physical product as a monochrome, Apple-style technical spec sheet with coded dimensions, layers and detail views.
What it is
Dimensional Drawing is for product designers, design-system teams and anyone who needs to show how a component is built. Point it at a card, dialog or button in code, a Storybook page, a URL or a screenshot, and it produces a one-page technical drawing in the style of the dimensional drawings Apple publishes for accessory makers. It also works for physical products such as a thermos, using top, front and side views in millimetres and published specs only.
The skill brings strict house rules. Drawings use black and grey only, told apart by line weight, dashes and hatching. Real text is replaced with labelled slots, so the drawing stays true when the copy changes. Every measurement is a code such as S1 or R2, explained in tables with its name, value and formula, for example an inner corner radius equal to the outer radius minus the border and inset. Brand names are left out, and values missing from the source are marked TBD, never invented.
You get a single self-contained HTML file: a title block with notes and key variables, then a dense sheet with a plan view, exploded layer view, shadow outline, corner and radius details and variable tables. On claude.ai it can be published as an Artifact. Measuring a live component and checking the final layout use Playwright, a browser automation tool, so results are best in an agent that can run code.
What it can do
- Measures a real component's padding, gaps, corner radii, borders and heights by rendering it in a browser.
- Draws a plan view with chained dimensions, centerlines, radius callouts and numbered notes.
- Shows the layer stack as an exploded 3D view, from background and shadow up to slots and controls.
- Adds component-specific views, such as viewport placement for dialogs or side-by-side states for buttons.
- Lists every dimension code in tables with variable names, values and formulas that add up.
- Draws physical products in top, front, side and section views in millimetres, flagging conflicting specs.
- Screenshots the finished sheet to catch overlapping labels before delivering it.
When to use it
- Your design system's dialog needs a spec sheet that engineers on another team can rebuild it from.
- You are writing component documentation and want an anatomy drawing that will not go stale when the copy changes.
- You want a technical drawing of a product, such as a water bottle, for a presentation, using only its published specs.
- A developer keeps asking how the card's inner corner radius relates to its outer radius and padding.
How it works
- 1You point it at the source: a code file, Storybook story, design file, URL or screenshot.
- 2For a live component it renders it with Playwright and reads the real box sizes and styles, surveying other instances so values reflect the whole system.
- 3It assigns a code to every spacing, size, radius and shadow value and works out the formulas between them.
- 4It builds the HTML page with a title block and an SVG drawing sheet, starting from the bundled card and dialog examples.
- 5It renders the page at 1800 pixels wide, fixes overlapping labels, and delivers the file or Artifact with a note of the TBD values.
Try asking
How to install
Install with the skills CLI (recommended)
Works with Claude Code, Codex, Cursor, OpenCode and other agents, and asks which ones to install to. Needs Node.js 22.20+. Add -g to make it available in every project.
npx skills add https://github.com/enesozturk/dimensional-drawing/tree/main/skills/dimensional-drawing
pnpm dlx skills add https://github.com/enesozturk/dimensional-drawing/tree/main/skills/dimensional-drawing
Install manually
Copies the skill folder into Claude Code's personal skills directory. For claude.ai, zip the dimensional-drawing folder and upload it in the Skills section of Settings.
git clone --depth 1 https://github.com/enesozturk/dimensional-drawing.git mkdir -p ~/.claude/skills cp -r dimensional-drawing/skills/dimensional-drawing ~/.claude/skills/dimensional-drawing
Then just ask in plain language, for example: “Make a dimensional drawing of the Card component in src/components/Card.tsx”
More Design & Covers skills
Huashu Design
29kTurns a one-line request into finished designs built in HTML: clickable prototypes, slide decks with editable PPTX, MP4 animations and infographics.
Baoyu Cover Image
27kDesigns a cover image for your article from its content, letting you pick the cover type, colors, drawing style, title text and mood.
Anatomy
25kBuilds detailed, interactive isometric drawings that explain a technical idea as a working machine, as SVG, HTML, React or printable PDF.