forgecad

Author and debug ForgeCAD parametric CAD scripts with assembly-first modeling and CLI validation.

917|102|Updated Feb 8, 2026
One-click install
npx skills add https://github.com/KoStard/forgecad-public-kit --skill forgecad
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: forgecad
Source: https://github.com/KoStard/forgecad-public-kit/tree/main/skills/forgecad
Command: npx skills add https://github.com/KoStard/forgecad-public-kit --skill forgecad

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you author correct ForgeCAD geometry and workflows without getting stuck on broken assemblies, wrong imports, validation blind spots, or export/debugging uncertainty.

Core Features & Use Cases

  • .forge.js authoring guidance: consistent modeling practices for primitives, parameters, imports, and file structure.
  • Assembly-first kinematics: build moving-part models using connectors, joint design recipes, and solver/debug loops.
  • Deterministic run/inspect/export workflows: validate with forgecad run, generate evidence with inspect bundles, and choose the right export/render tooling.

Quick Start

Use the forgecad skill to fix a broken adapter model by iteratively rebuilding it with forgecad run using debug import options, then inspecting the geometry with the targeted evidence command for the detected failure.

Frequently Asked Questions about forgecad

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I debug a broken ForgeCAD assembly?

To debug a broken ForgeCAD assembly, iteratively rebuild the model using forgecad run with debug import options, then execute forgecad inspect to generate targeted evidence for the detected failure.

What is the correct way to structure joints in a parametric CAD model?

Correct joint construction in parametric CAD requires an assembly-first approach using connectors, adhering to joint design recipes, and enforcing rest-pose rules for jointsView to ensure deterministic kinematics.

How do I validate and export a .forge.js geometry script?

Validate a .forge.js geometry script using the deterministic forgecad run workflow, inspect the output geometry, and select the appropriate export or render tooling to generate the final model.

Can I import SVG files into a ForgeCAD project?

Yes, you can import SVG files into a ForgeCAD project, but you must follow correct import semantics within your .forge.js model development to ensure deterministic execution and accurate geometry generation.

Why does my forgecad model fail validation before rendering?

A forgecad model fails validation when assembly-first modeling requirements are unmet, such as incorrect connector construction or invalid rest-pose rules for jointsView, requiring evidence-driven troubleshooting using inspect.