Agent skill

Forgecad Design Spec

by ForgeCAD in ForgeCAD/forgecad-public-kit

Create a ForgeCAD design brief, HLD, or LLD before coding by walking through use, assembly, interfaces, decisions, and verification.

MITAuto-check passedDevelopment

Install Forgecad Design Spec

skills CLI
$ npx skills add ForgeCAD/forgecad-public-kit --skill forgecad-design-spec -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ForgeCAD/forgecad-public-kit forgecad-design-spec --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ForgeCAD/forgecad-public-kit.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/forgecad-design-spec .claude/skills/forgecad-design-spec && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
forgecad-design-spec
GitHub stars
941
Token cost
~2.5k tokens
SKILL.md length
1,112 words
Files
3 (incl. references)
Skills in repo
10
Repo updated
First seen
Licence
MIT

At a glance

Create a ForgeCAD design brief, HLD, or LLD before coding by walking through use, assembly, interfaces, decisions, and verification.

  • Works in 3 steps: Intake (fuzzy request → concrete brief) → High-Level Design (HLD) → Low-Level Design (LLD)
  • Development work in your project
  • SKILL.md covers Altitude — three phases, one…, Phase 1 — Intake (fuzzy…, Phase 2 — High-Level Design… and Phase 3 — Low-Level Design (LLD), plus 2 more sections
  • Calls git

What it does

Forgecad Design Spec is an agent skill from ForgeCAD/forgecad-public-kit. Create a ForgeCAD design brief, HLD, or LLD before coding by walking through use, assembly, interfaces, decisions, and verification.

Its SKILL.md is about 2.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `references/default-profiles.md` and `references/master-prompt.md`).

It sits in Development. The repository describes itself as: Public companion kit for ForgeCAD: examples, agent skills, docs links, and issue tracking. The hosted CAD app and core source live elsewhere. The licence is MIT.

When your agent uses it

  • Development work in your project

Example prompts

  • “/forgecad-design-spec”

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. Intake (fuzzy request → concrete brief)
  2. High-Level Design (HLD)
  3. Low-Level Design (LLD)

What it can do on your machine

Read from SKILL.md and the folder at commit 7523f68. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Forgecad Design Spec loads about 2.5k tokens when it runs, and up to ~6.1k if it reads all its reference files. Until then it costs about 38 tokens; SKILL.md has 1,112 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~38
When it runs · the whole SKILL.md, loaded when a task matches
~2.5k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~6.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from ForgeCAD/forgecad-public-kit at commit 7523f68, republished under its MIT licence (© ForgeCAD). 1,112 words, ~2,460 tokens.

Download SKILL.mdSave it as .claude/skills/forgecad-design-spec/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
forgecad-design-spec
description
Create a ForgeCAD design brief, HLD, or LLD before coding by walking through use, assembly, interfaces, decisions, and verification.
forgecad-public
true

Design Spec

The design document — a git-committed, diff-reviewed markdown file — is the source of truth. Not the code, not the chat, not your head. You iterate it by commit-and-review, and the git diff is the review artifact.

Validate the design by mentally operating the thing, step by step. Walk it as someone assembles, uses, or moves it. The step with no answer — "how does the servo get inside the housing?" — is the real design gap. A spec that reads complete on the page can still hide a hole that only surfaces when you try to put it together in your head. State each gap falsifiably: not "tolerances might be tight" but "the 12mm arm cantilevers under gripping load, may flex >0.5mm."

Every number has a reason; the narrative comes before the numbers. Describe the object as if over the phone, then derive each value and show its math: wallThickness = 2.4mm = 6 × 0.4mm nozzle. The design is implementation-blind — shaped by the object, never by what the ForgeCAD API makes easy. Manufacturing process is one of those reasons — a design decision you weigh, never a default you inherit (never assume FDM/printing).

A vague request is a set of decisions you make honestly, not information to extract. No placeholders ("appropriate motor"); choose a defensible value, show why, continue. The Decisions table fills only after user review, so the loop stays in the document.

Altitude — three phases, one document trail

PhaseWhenOutput
Intakerequest is fuzzy / process unspecifiedengineering brief + master prompt
HLDdesign is wrong in approach, alternatives exist<name>-hld.md
LLDdecisions locked, or a simple single-body part<name>-lld.md

The HLD carries only decision-driving dimensions and genuinely-different alternatives; the LLD carries enough that someone builds from it alone. Speccing every tolerance in an HLD, or revisiting locked decisions in an LLD, is an altitude error — back up. Simple parts skip straight from HLD to code, or from a request to an LLD.


Phase 1 — Intake (fuzzy request → concrete brief)

Use when the user wants something physically real but the ask is vague ("make me a robot gripper", "make it production ready", "pick sensible numbers"). This phase owns intake; once the brief is concrete, continue to HLD or hand off to the forgecad skill.

Manufacturing is a design decision, not a default. Derive the process stack from artifact family, load path, scale, safety expectations, material, production intent, and operating story — never assume printing/plastic. If the user names a process, honor it but warn when it is unsafe or dishonest for the duty. Family→process anchors live in references/default-profiles.md.

Default posture: manufacture-realistic prototype — real materials, purchased-part boundaries, assembly logic, validation; no claims of production tooling or certification. Other postures only when justified: production-realistic, printable, visual-CAD, or a specific process posture (sheet-metal, CNC-machined, laser-cut, welded-tube, injection-molded, cast, hybrid purchased-hardware). Pick the posture honest for the artifact, not the easiest CAD surface.

Family-scoped numbers. Every starter assumption is scoped to one artifact family; never reuse numbers across families.

Workflow:

  1. Normalize the ask into plain mechanism language ("6 DOF gripper" → standalone gripper, wrist+gripper, or arm+gripper).
  2. Build a specific operating story — invented (non-famous) org, named program, prototype revision, review moment, mission pressure (pilot gate, demo date, investor milestone), and the generic failure mode to avoid. Prefer bold high-agency stories over modest lab exercises. Never assert the user works for a named real company; use real products only as public comparison anchors; never clone proprietary designs.
  3. Classify the artifact family (references/default-profiles.md); use the no-family-fits escape rather than forcing one. Rideables route to human-vehicles, never chassis.
  4. Choose the process posture per the taxonomy above.
  5. Pick qualitative levers — duty (light/general/sturdy), scale (compact/medium/large), cost (cheapest/balanced/performance-first) — and translate to family-scoped starter assumptions.
  6. Close only critical gaps — at most 3 grouped questions, always choice menus, never raw engineering inputs unless the architecture truly depends on them. Good: "light desk demo, useful hobby tool, or sturdier bench mechanism?" Bad: "What payload mass?"
  7. Write the engineering brief: artifact + family + normalized interpretation; operating story + production reason + test setting + failure mode to avoid; output posture; intended loads, size envelope, motion/DOF; process stack + material defaults; purchased-part (BOM) boundary; validation standard; variant policy (versions are selectable params, one rendered at a time); file organization (main.forge.js entry for multi-file); explicit uncertainty policy.
  8. Emit one master prompt — fill references/master-prompt.md; return the finished prompt, not notes about it. It must demand exactly BUILD-READY or BEST-EFFORT BUILD CANDIDATE (human-bearing furniture and rideables usually end the latter).

Defaults if the user stays vague: general-duty / medium / balanced, invent the operating story, use family starter assumptions.


Show full SKILL.md (356 more words)Show less

Phase 2 — High-Level Design (HLD)

Aligns user and agent on what to build before how. Brevity is a readability tool, not a metric — include whatever evidence, diagrams, and dimensions a good decision needs. Write the sections top to bottom; the order is the workflow.

markdown
# [Name] — High-Level Design

## Problem
What must this do? Hard requirements (grip 40-90mm objects, fit a 60mm
housing, use purchased bearings). State the problem without implying a
solution. Unspecified process choice is an open design dimension.

## Approach
How it works conceptually. ASCII diagram of key elements and their
spatial relationships — diagram labels stay in this markdown, never
carried into CAD geometry unless the real artifact needs markings.

## Key Interfaces
Every point where this touches another part or the outside world:
mating surfaces, shared dimensions, coordination points. These are the
contracts that constrain the design.

## Dictionary
| Term | What it is |
Define every domain term in plain words, with dimensions where relevant.
Write for a developer without a mechanical-engineering background.

## Alternatives
| Option | Description | Tradeoff |
2-3 genuinely different strategies, not minor variations. Mark one
recommended and say why. If there is honestly one approach, say so.

## Usage Guide
Work backwards from how someone uses, assembles, or operates the thing,
step by step. If a step doesn't make sense ("how does the servo get
inside?"), flag it inline with ⚠️ and promote it to Concerns.

## Concerns
1. Numbered, falsifiably specific — a reviewer must be able to say "real
   problem" or "fine, because…".

## Decisions
| # | Decision | Rationale |
Filled ONLY after user review — never pre-decide. Each row resolves a
concern or alternative.

Rules: if you're speccing every part, formula, and tolerance, you're writing an LLD — back up. If you can't draw it, you don't understand it yet.


Phase 3 — Low-Level Design (LLD)

Implements the HLD's locked Decisions table; it never revisits those decisions. Simple single-body parts skip the HLD and start here. Complex assemblies split into a numbered directory: overview, global constraints, per-component files, assembly, verification.

An LLD is narrative-first (reads like describing the object over the phone), authoritative (the single source code implements), implementation-blind, and shows every number's rationale.

Required structure:

  1. Narrative — what it is, how it behaves and interacts, why it exists. Concrete comparisons ("about the size of a deck of cards"); no ungrounded vague terms.
  2. Technical — typed parameter table (length / angle / count / boolean / choice / ratio / clearance — design-document vocabulary, not the runtime Param.* API), always with units (mm, degrees default) and a rationale for every default and range; derived dimensions shown as math; geometry and constraints, each constraint with a rationale.
  3. Verification — mandatory checklist: dimensional, functional, printability/process checks.

Don'ts: never open with a parameter list (story before numbers), never leave a constraint implicit, never skip verification. Completeness gate before presenting: can someone build from this alone? Does it implement every HLD decision? Is every constraint explicit with a rationale?


Review via git

HLDs and LLDs iterate through git, not conversation:

  • Commit every version. No drafts floating in chat. After writing, commit and tell the user it's ready for review.
  • Feedback arrives as file edits (inline comments, strikethroughs) or chat — check both. Read git diff: the diff is the review artifact.
  • Update, commit, repeat until the Decisions table is filled and the user says "go."

Pipeline

StageThis skill's phaseOutputNext
Explore a fuzzy askIntakeengineering brief + master promptHLD
Decide what to buildHLD*-hld.md (Decisions filled)LLD
Detail how to buildLLD*-lld.mdforgecad-build-model + forgecad → .forge.js

© ForgeCAD, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (references) in skills/forgecad-design-spec of ForgeCAD/forgecad-public-kit.

  • SKILL.md
  • references/default-profiles.md
  • references/master-prompt.md

Open the folder on GitHubat commit 7523f68

Compare with similar skills

Forgecad Design Spec next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Forgecad Design Spec compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Forgecad Design Spec this skillForgeCAD/forgecad-public-kit941—~2.5kAutomated safety check: PassMIT
Architecture DecisionDonchitos/Claude-Code-Game-Studios26k—~1.7kAutomated safety check: PassMIT
Create Releasemlightcad/cad-viewer1.1k—~1.3kAutomated safety check: PassMIT
Renderdoc GPU Debugrudybear/renderdoc-skill212—~4kAutomated safety check: PassMIT
Refactor KalivraDevBawky/Kalivra173—~1kAutomated safety check: PassCustom licence
Opencharttryopendata/skills142—~11kAutomated safety check: PassMIT

Similar skills

  • Architecture Decision

    Donchitos/Claude-Code-Game-Studios

    Create an ADR documenting a technical decision: context, alternatives considered, consequences.

    26k GitHub stars~1.7k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Create Release

    mlightcad/cad-viewer

    Create a concise English release message from commits since the last vX.Y.Z tag, then bump every workspace package to the same version with pnpm changeset and pnpm changeset version.

    1.1k GitHub stars~1.3k tokensUpdated today
    DevelopmentAuto-check passed
  • Renderdoc GPU Debug

    rudybear/renderdoc-skill

    GPU frame debugging with RenderDoc via rdc-cli. An agent skill from rudybear/renderdoc-skill.

    212 GitHub stars~4k tokensUpdated 7 mo ago
    DevelopmentAuto-check passed
  • Refactor Kalivra

    DevBawky/Kalivra

    Plan, implement, or review architecture refactors in the Kalivra Electron app while preserving project-file compatibility, balance calculations, Undo/Redo, exports, and process security.

    173 GitHub stars~1k tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • Openchart

    tryopendata/skills

    Generates OpenChart (https://github.com/tryopendata/openchart) chart, table, graph, sankey, tilemap, and geo map specs from data, and guides editorial design decisions.

    142 GitHub stars~11k tokensUpdated 2 mo ago
    DevelopmentAuto-check passed
  • Issue Triage

    microsoft/XBOX-Godot-Sample

    Official

    First-pass evaluation of a GitHub issue against this repository's code: classify it, find the relevant code, reason about likely causes or fit, flag version differences and missing information, and…

    237 GitHub stars~2.5k tokensUpdated yesterday
    DevelopmentAuto-check passed

More from ForgeCAD/forgecad-public-kit

All 10 skills in this repo
  • Forgecad Reconstruct From Images

    ForgeCAD/forgecad-public-kit

    Reconstruct a real parametric ForgeCAD object from reference images by using images as evidence, not as a one-view facade.

    941 GitHub stars~1.3k tokensUpdated 3 mo ago
    Auto-check passed
  • Forgecad Verify Mujoco

    ForgeCAD/forgecad-public-kit

    Verify a ForgeCAD MJCF export in MuJoCo with dynamics, contacts, controls, joint travel, and rendered evidence before calling it simulation-ready.

    941 GitHub stars~1.6k tokensUpdated 3 mo ago
    Auto-check passed
  • Forgecad

    ForgeCAD/forgecad-public-kit

    ForgeCAD model authoring, editing, debugging, and execution guidance for .forge.js, SVG-import, assembly, and CLI workflows.

    941 GitHub stars~1.6k tokensUpdated 3 mo ago
    Auto-check passed
  • Forgecad Grade Model

    ForgeCAD/forgecad-public-kit

    Grade a ForgeCAD or CAD-as-code model against a requirement, brief, prompt, reference, or acceptance criteria with evidence and a 0-10 score.

    941 GitHub stars~1.3k tokensUpdated 3 mo ago
    Auto-check passed
  • Forgecad Image Prompt

    ForgeCAD/forgecad-public-kit

    Write builder-honest AI image prompts from a concrete ForgeCAD model, build brief, HLD, or LLD without hiding how the artifact is built.

    941 GitHub stars~981 tokensUpdated 3 mo ago
    Auto-check passed
  • Forgecad Inspect Model

    ForgeCAD/forgecad-public-kit

    Select, run, and interpret ForgeCAD inspection evidence for collisions, sections, wall thickness, components, masks, depth, normals, surface continuity, and fit.

    941 GitHub stars~1.3k tokensUpdated 3 mo ago
    Auto-check passed

Questions about Forgecad Design Spec

What does Forgecad Design Spec do?

Create a ForgeCAD design brief, HLD, or LLD before coding by walking through use, assembly, interfaces, decisions, and verification. Forgecad Design Spec is an agent skill from ForgeCAD/forgecad-public-kit. Create a ForgeCAD design brief, HLD, or LLD before coding by walking through use, assembly, interfaces, decisions, and verification.

When should I use Forgecad Design Spec?

Forgecad Design Spec fits situations like: development work in your project.

How do I install Forgecad Design Spec in Claude Code?

Run `npx skills add ForgeCAD/forgecad-public-kit --skill forgecad-design-spec -a claude-code`. Or copy the skill folder (skills/forgecad-design-spec in ForgeCAD/forgecad-public-kit) into .claude/skills/forgecad-design-spec in your project. Claude Code loads it when a task matches its description.

How do I install Forgecad Design Spec in Codex?

Run `npx skills add ForgeCAD/forgecad-public-kit --skill forgecad-design-spec -a codex`. Or copy the skill folder (skills/forgecad-design-spec in ForgeCAD/forgecad-public-kit) into .agents/skills/forgecad-design-spec in your project. Codex loads it when a task matches its description.

Can I use Forgecad Design Spec in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ForgeCAD/forgecad-public-kit --skill forgecad-design-spec -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/forgecad-design-spec, .gemini/skills/forgecad-design-spec, .github/skills/forgecad-design-spec and .opencode/skills/forgecad-design-spec in your project.

What does Forgecad Design Spec need to run?

Going by SKILL.md and its folder, Forgecad Design Spec needs the command-line tools its instructions call (git).

Does Forgecad Design Spec access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Forgecad Design Spec safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Forgecad Design Spec use?

Forgecad Design Spec is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Forgecad Design Spec use?

About 2.5k tokens (SKILL.md is roughly 9.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3.6k tokens, read only when the agent opens those files.

What are the alternatives to Forgecad Design Spec?

Skills that share tags, products or a category with Forgecad Design Spec: Architecture Decision (Donchitos/Claude-Code-Game-Studios, 26k stars), Create Release (mlightcad/cad-viewer, 1.1k stars), Renderdoc GPU Debug (rudybear/renderdoc-skill, 212 stars) and Refactor Kalivra (DevBawky/Kalivra, 173 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Forgecad Design Spec?

ForgeCAD (a GitHub organization) maintains it in ForgeCAD/forgecad-public-kit, which has 941 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on June 15, 2026.

Source: ForgeCAD/forgecad-public-kit on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.