gen-sketch SKILL.md skillA

gen-sketch from partcad/partcad is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add partcad/partcad/gen-sketch@git:20261107.261a936

Pins git:20261107.261a936 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
partcad/partcad
Path
ai-agents/common/skills/gen-sketch/SKILL.md
Versions recorded
7
Latest version
git:20261107.261a936, committed Nov 7, 2026
First version recorded
Aug 5, 2026
Size
27,379 bytes
Repository stars
528
License
Apache-2.0

Generate a PartCAD 2D sketch (build123d / cadquery / basic / dxf / svg) whose dimensions are measured to match the request rather than estimated - normalize the input to 2D (a description, a drawing, a photo, a projection, or a 3D model projected with `pc adhoc render`), measure the target dimensions, author a candidate, render it with both of PartCAD's projections (`--reproducible` and `--no-reproducible`, which draw the same geometry as different shapes), measure the same dimensions on both…

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# pc:gen-sketch

Generate one PartCAD **sketch** — a 2D profile — whose dimensions are the ones
that were asked for. *You* author the sketch; there is no built-in `ai-*` sketch
type. Two hard requirements:

- the sketch **renders without errors**, and
- **every target dimension, measured on the rendering, is within its
  tolerance** — or the sketch is reported as not meeting it, with the numbers.

A sketch that looks right is not the goal. A dimension is right only once it has
been measured on the result and compared, as a number, with the number it was
meant to be. So this skill works in a loop that never estimates where it can
measure: write the targets down (§3), get them out of the input by normalizing
it to 2D and measuring it (§4, §5), draw a candidate (§6), render it and measure
the *same* dimensions on the rendering (§7), and compare (§8) — iterating with
the error in hand until there is none worth the name.

The same loop is what `/pc:gen-part` and `/pc:gen-assembly` run first, on
**temporary sketches**, to settle a part's dimensions and an assembly's
placements before modelling anything (§9).

Sketches are not manufacturable, so unlike parts they need no
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add partcad/partcad/gen-sketch@sha256:b6742ea738abb4ed

The line at the top of this page pins the label git:20261107.261a936, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_tln6dkl6hjoqkvxp.svg)](https://markdownregistry.com/a/art_tln6dkl6hjoqkvxp)

5 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 7 versions of this file, between Aug 5, 2026 and Nov 7, 2026, about one every 16 days.

versioncommittedcommitsizeaudit
git:20261107.261a936 latest2026-11-07 261a936 27,379 BA view · diff
git:20261107.797cc422026-11-07 797cc42 27,346 BA view · diff
git:20261102.ef2be302026-11-02 ef2be30 26,757 BA view · diff
git:20261024.6286b602026-10-24 6286b60 2,695 BA view · diff
git:20261008.9f2d5f92026-10-08 9f2d5f9 2,698 BA view · diff
git:20260901.0372b3a2026-09-01 0372b3a 2,697 BA view · diff
git:20260805.ef943a62026-08-05 ef943a6 2,699 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (27379 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

partcad/partcad · 528 stars · license Apache-2.0 · pushed 2026-11-08 · branch devel

API

GET https://markdownregistry.com/api/v1/artifacts/art_tln6dkl6hjoqkvxp
GET https://markdownregistry.com/api/v1/resolve?ref=partcad/partcad/gen-sketch
GET https://markdownregistry.com/api/v1/blob/b6742ea738abb4edf2554583c95b19c50bd6b41fa2d9b82274d400799346eb71

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from partcad/partcad

openspec-apply-change SKILL.md skill
partcad/partcad · .claude/skills/openspec-apply-change/SKILL.md · Implement tasks from an OpenSpec change. Use when the user wants to start implementing, continue implementation, or…
v1.0 · audit A · 528 stars
openspec-archive-change SKILL.md skill
partcad/partcad · .claude/skills/openspec-archive-change/SKILL.md · Archive a completed change in the experimental workflow. Use when the user wants to finalize and archive a change after…
v1.0 · audit A · 528 stars
openspec-explore SKILL.md skill
partcad/partcad · .claude/skills/openspec-explore/SKILL.md · Enter explore mode - a thinking partner for exploring ideas, investigating problems, and clarifying requirements. Use…
v1.0 · audit A · 528 stars
openspec-propose SKILL.md skill
partcad/partcad · .claude/skills/openspec-propose/SKILL.md · Propose a new change with all artifacts generated in one step. Use when the user wants to quickly describe what they…
v1.0 · audit A · 528 stars
openspec-sync-specs SKILL.md skill
partcad/partcad · .claude/skills/openspec-sync-specs/SKILL.md · Sync delta specs from a change to main specs. Use when the user wants to update main specs with changes from a delta…
v1.0 · audit A · 528 stars
openspec-update-change SKILL.md skill
partcad/partcad · .claude/skills/openspec-update-change/SKILL.md · Update an OpenSpec change by revising its existing planning artifacts and keeping them coherent with one another. Use…
v1.0 · audit A · 528 stars
pc-ci-dependency-bot SKILL.md skill
partcad/partcad · .claude/skills/pc-ci-dependency-bot/SKILL.md · Sweep the open dependency-bot pull requests once - rebase the stale ones, re-trigger infrastructure failures, and merge…
v2.0 · audit A · 528 stars
openspec-apply-change SKILL.md skill
partcad/partcad · .cursor/skills/openspec-apply-change/SKILL.md · Implement tasks from an OpenSpec change. Use when the user wants to start implementing, continue implementation, or…
v1.0 · audit A · 528 stars
openspec-archive-change SKILL.md skill
partcad/partcad · .cursor/skills/openspec-archive-change/SKILL.md · Archive a completed change in the experimental workflow. Use when the user wants to finalize and archive a change after…
v1.0 · audit A · 528 stars
openspec-explore SKILL.md skill
partcad/partcad · .cursor/skills/openspec-explore/SKILL.md · Enter explore mode - a thinking partner for exploring ideas, investigating problems, and clarifying requirements. Use…
v1.0 · audit A · 528 stars
openspec-propose SKILL.md skill
partcad/partcad · .cursor/skills/openspec-propose/SKILL.md · Propose a new change with all artifacts generated in one step. Use when the user wants to quickly describe what they…
v1.0 · audit A · 528 stars
openspec-sync-specs SKILL.md skill
partcad/partcad · .cursor/skills/openspec-sync-specs/SKILL.md · Sync delta specs from a change to main specs. Use when the user wants to update main specs with changes from a delta…
v1.0 · audit A · 528 stars

Every file in partcad/partcad

Browse by kind, by grade A, or by owner.