CommunityImagegithub.com

build-drawings

Make construction drawings someone can build from - frame elevations, plans and sections, a marked cutting list, timber cutting plans and sheet (MDF/ply) cutting diagrams - as an A4 PDF for a tradesperson, a helper or a phone/iPad. Use when the user wants drawings, plans, a PDF to send or print, a cutting diagram, or "something to give the joiner/my dad/the electrician", for any DIY or joinery build.

Qu'est-ce que build-drawings ?

build-drawings is a Claude Code agent skill that make construction drawings someone can build from - frame elevations, plans and sections, a marked cutting list, timber cutting plans and sheet (MDF/ply) cutting diagrams - as an A4 PDF for a tradesperson, a helper or a phone/iPad. Use when the user wants drawings, plans, a PDF to send or print, a cutting diagram, or "something to give the joiner/my dad/the electrician", for any DIY or joinery build.

Compatible avec✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/jtgcyber/home-diy-skills/tree/HEAD/plugins/home-diy/skills/build-drawings

Installed? Explore more Image skills: steipete/songsee, affaan-m/frontend-design, mattpocock/improve-codebase-architecture · View all 6 →

Demander à votre IA préférée

Ouvre une nouvelle conversation avec cette compétence d'agent déjà préchargée.

Documentation

Drawings to build from

Drawings for the person holding the saw. Drawn from the model, so they always match the design and the shopping list. On the media wall they went to the tradesman building the frame (a family member) to review on an iPad, then were printed for build day. Before printing, the owner asked for A4 and "the less writing the better"; the tradesman's review was that the frame looked too complicated, which simplified the design itself.

Start with the task

<skill-dir> means this skill's own folder: the base directory shown when the skill loads (for a personal install, ~/.claude/skills/build-drawings).

TaskStart withGo deeper
Any drawing setscripts/drawkit.py (copy into the project, or import it)references/sheet-recipes.md
Frame drawings (stud walls, breasts, boxes)Overview, elevations, plans/sections, cutting listsheet-recipes.md
A cutting diagram for each sheet of boardOne A4 page per sheet, 1:10sheet-recipes.md
Look at the pages yourselfpage_pngs(svgs, "out/pages"), then Read each PNGbelow
Run the demopython3 <skill-dir>/scripts/drawkit.py /tmp/demo.pdf-

drawkit.py has no dependencies: SVG in paper millimetres, one HTML file with a page per sheet, printed to PDF by headless Google Chrome (--no-pdf-header-footer, @page sized to the paper). Without Chrome, open the HTML in any browser and print with no margins.

What makes drawings usable on site

  • A4 landscape. Lay sheets out on an A3 grid and shrink to A4 (text 3.5 on the grid prints about 7 pt). Then they're not to scale, so every sheet says "Don't scale: use the figures". For sheet cutting diagrams, draw at true 1:10 on A4 instead (a 2440 sheet is 244 mm across).
  • Few words. One-line notes. A red "Check first" list of site checks (ceiling height at both ends, the stud positions, a pilot hole before relying on a joist) and a short "Remember" list (carpet and skirting off, never cut into the existing wall, don't board until cables are in). The first version had paragraphs; cut to one-liners, it was better.
  • Leave the trade's choices to the trade. "Fixings: your call. Into studs and joists." An expert doesn't need screw sizes; they need to know what must be fixed to what.
  • Piece marks. Every piece gets a letter for what it is and a number for its length (S1 = longest stud, P2, N1...). The same marks on the elevations, the cutting list and the cutting plan. Identical pieces share a mark, so the cutting list is short.
  • "Ceiling not 2300?" column. Pieces that run floor to ceiling are listed as "ceiling less 76" as well as a length, so a ceiling that's 10 mm out doesn't need new drawings.
  • Running dimensions, all measured from one end, not chains: errors can't add up. Mark the datum ("from the left corner", "from the factory edge").
  • The cutting plan uses the same stock lengths and plan as the shopping list, so what was bought is what the plan cuts. "Get one or two spare."
  • Colour helps on an iPad (timber tan, dimensions blue, warnings red) and still reads printed in grey.
  • Dated, numbered, titled: "3. Back frame, on the wall. Sheet 3 of 5." in a title box.

Check each change

You can't see a PDF directly (the Read tool needs poppler for PDFs), so render each sheet to a PNG and look at every page before telling anyone it's ready:

pngs = dk.page_pngs(svgs, "out/pages")   # then Read out/pages/page-1.png, page-2.png ...
Look forWhy
Labels overlapping, text past the border or into the title boxthe commonest fault; spread() and View.label() help but don't catch everything
Every mark on a drawing has a cutting-list row, and the counts match the modelthe list is what gets cut
Totals (pieces, metres, lengths to buy) match the BOM summaryone source of truth
Notes column fits and says nothing twicefewer words
A piece that floats (fixed to nothing) or a dimension that's missingeasy to see in a picture, hard in numbers

Then print the PDF, and say how many pages and what's on each.

Individual skills in this repo

This repo contains 1 individual skill — each has its own dedicated page.

Skills associés