본문으로 건너뛰기
cccskills
무료GitHub에 공개

forgecad

ForgeCAD model authoring, editing, debugging, and execution guidance for .forge.js, SVG-import, assembly, and CLI workflows. Use when building or modifying ForgeCAD geometry, structuring multi-file projects, validating scripts, or using ForgeCAD export/render tooling.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(20)

  • SKILL.md6.4 KB
  • docs/API/core/concepts.md3.2 KB
  • docs/CLI.md28.9 KB
  • docs/generated/assembly.md35.6 KB
  • docs/generated/core.md82.2 KB
  • docs/generated/curves.md65.6 KB
  • docs/generated/lib.md17.5 KB
  • docs/generated/output.md6.7 KB
  • docs/generated/runtime-names.md2.2 KB
  • docs/generated/sdf.md17.3 KB
  • docs/generated/sheet-metal.md14.0 KB
  • docs/generated/sketch.md45.2 KB
  • docs/generated/viewport.md17.8 KB
  • docs/generated/wood.md3.3 KB
  • docs/guides/coordinate-system.md570 B
  • docs/guides/inspection-bundles.md9.4 KB
  • docs/guides/joint-design.md2.8 KB
  • docs/guides/positioning.md2.7 KB
  • docs/guides/scene-presentation.md3.7 KB
  • docs/guides/surface-members.md2.4 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

ForgeCAD

Author or modify ForgeCAD models, sketches, assemblies, and CLI workflows. Prefer documented primitives, import rules, placement strategies, and CLI commands over inventing new APIs.

Workflow

  1. Identify the artifact: .forge.js, SVG asset, or CLI/export task.
  2. If the model has any moving parts, load the assembly group and {{SKILL_DIR}}/docs/guides/joint-design.md upfront — do not defer the kinematic structure to a refactor pass.
  3. Load only the docs the task needs (see Source Map below). Start from the top group, add others as needed, and prefer these docs and recipes over ad-hoc repo examples.
  4. If any two parts are intended to touch or mate in the final model, load {{SKILL_DIR}}/docs/guides/positioning.md immediately and default to connectors + matchTo().
  5. Default to a concrete first pass — easy iteration beats speculative design review.
  6. If an existing model is broken, replace the weak structure rather than preserving bad architecture.
  7. Validate with forgecad run <file> (add --debug-imports for import chain issues; pass --backend manifold|occt|truck when the backend matters).
  8. For moving assemblies, return the Assembly directly so runtime controls re-solve the link/edge kinematics model instead of stacking viewport-only transforms.
  9. Model the physical artifact, not an educational diagram. No explanatory labels, arrows, legends, or text plaques unless the user explicitly asks for a presentation or teaching view; product markings only where the real object would carry them.
  10. Build the real closed CAD first. Never bake cutaways, sectioned shells, permanently exploded layouts, or hidden-parts views into the default model just to show internals — use viewer-only cut planes, explodeView, object hiding, transparency, or inspect sections after the artifact exists.

Import and Composition

  • Always include the extension in relative imports: require("./file.forge.js", { Param: value }) for model files, require("./helpers.js") for plain helper modules. Extensionless imports such as require("./file") do not resolve; ForgeCAD resolves project imports by exact path.
  • ForgeCAD APIs are injected globals in .forge.js files. Use bom(), box(), scene(), Shape, etc. directly; never destructure those names from helpers (const { bom } = require("./bom.js")). Import helper files under a project-specific name such as const bomHelpers = require("./bom.js").
  • For static multi-part models, connectors + matchTo() are the default way to assemble touching parts.
  • Top-level scripts can return Assembly or SolvedAssembly directly. Do not call .toGroup() just to render an assembly; use it only when you need ShapeGroup composition, transforms, or named-child lookup.
  • Import.svgSketch() loads SVG files (file format loader, not a module import).
  • .placeReference('bottom', [0,0,0]) aligns any built-in anchor to a world coordinate; also works with custom .withReferences().
  • Plain .js modules hold shared helpers/constants (not model imports).

Source Map

Load groups top-to-bottom, stopping when you have what the task needs.

1. Core API (always read first)

Execution model, colors, coordinate system, primitives, booleans, patterns, imports, parameters, topology, edge queries.

  • {{SKILL_DIR}}/docs/API/core/concepts.md
  • {{SKILL_DIR}}/docs/generated/runtime-names.md
  • {{SKILL_DIR}}/docs/generated/core.md

2. Static Assembly and Positioning (for any multi-part model)

Axis conventions, winding rules, and placement strategy. If parts should touch in the final model, read this group before writing placement code. Connectors + matchTo() are the default for mating interfaces; raw translate() and rotate() are for free offsets, not assembly contracts.

  • {{SKILL_DIR}}/docs/guides/coordinate-system.md
  • {{SKILL_DIR}}/docs/guides/positioning.md

3. Sketch APIs

2D construction, transforms, booleans, paths, on-face sketching, extrusion, anchors, text, regions.

  • {{SKILL_DIR}}/docs/generated/sketch.md

4. Curves and Surfacing (for lofts, sweeps, splines)

Smooth curves, Hermite splines, lofted and swept solids. For straps, inlays, guards, brace members, vents, or physical bands that live on a carrier surface, use Carrier + SurfaceBody surface-member primitives before reaching for variableSweep, SDF sculpting, or manual boolean overlap recipes.

  • {{SKILL_DIR}}/docs/guides/surface-members.md
  • {{SKILL_DIR}}/docs/generated/curves.md

5. Assemblies and Mechanisms (for joints or kinematics)

Assembly graph, joint types, couplings, validation, and simulation export.

  • {{SKILL_DIR}}/docs/generated/assembly.md

6. Sheet Metal (for bent parts, K-factor, flat patterns)

Bend operations, flat pattern unfolding, K-factor configuration.

  • {{SKILL_DIR}}/docs/generated/sheet-metal.md

7. Output and Export (for STL/3MF/STEP, BOM, dimensions)

Mesh export, exact geometry export, bill of materials, dimension annotations.

  • {{SKILL_DIR}}/docs/generated/output.md

8. Toolbox (fasteners and standard parts)

Parametric bolts, nuts, washers, standard hardware, gears, pipes, and structural profiles.

  • {{SKILL_DIR}}/docs/generated/lib.md
  • {{SKILL_DIR}}/docs/generated/wood.md

9. Runtime Viewport APIs (for cut planes, exploded views, hiding, and animation playback)

Viewer-only APIs such as cutPlane, explodeView, render labels, comparison references, and runtime display behavior.

  • {{SKILL_DIR}}/docs/generated/viewport.md

10. Recipes and Debugging (for patterns and troubleshooting)

Modeling patterns, debugging tactics, copyable snippets.

  • {{SKILL_DIR}}/docs/guides/scene-presentation.md
  • {{SKILL_DIR}}/docs/guides/joint-design.md

11. CLI (for validation/render/export tasks)

Test-run, export pipelines, debug flags.

  • {{SKILL_DIR}}/docs/CLI.md
  • {{SKILL_DIR}}/docs/guides/inspection-bundles.md

SDF Modeling (smooth booleans, TPMS, deformations, fromFunction)

Primitives, smooth booleans, TPMS lattices, twist/bend/displace, morph, custom functions, gotchas. The doc preamble's precision caution applies to every SDF workflow.

  • {{SKILL_DIR}}/docs/generated/sdf.md

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Build or edit a manufacture-realistic `.forge.js` model in a project, then validate it with run, render, inspect, and export evidence.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ForgeCAD/forgecad-public-kit9442026년 6월 16일 업데이트

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

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ForgeCAD/forgecad-public-kit9442026년 6월 16일 업데이트

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

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ForgeCAD/forgecad-public-kit9442026년 6월 16일 업데이트

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

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ForgeCAD/forgecad-public-kit9442026년 6월 16일 업데이트

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

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ForgeCAD/forgecad-public-kit9442026년 6월 16일 업데이트

Manage hosted ForgeCAD project sync from the CLI: init, clone, pull, push, file operations, members, publishing, and shares.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ForgeCAD/forgecad-public-kit9442026년 6월 16일 업데이트

ForgeCAD의 스킬 모두 보기

이 스킬의 문제 신고