Logo Describe

Describe

Tổ chức
partcad
describe

Viết phần mô tả bằng văn bản, phù hợp để đọc thành lời và chú trọng khả năng tiếp cận, về một chi tiết, cụm lắp ráp hoặc bản phác thảo PartCAD hiện có, dựa trên hộp giới hạn và thể tích đo được, hình ảnh kết xuất từ nhiều góc nhìn và — nếu có — bản vẽ kỹ thuật có kích thước. Dùng cho /pc:describe hoặc khi người dùng yêu cầu mô tả, tóm tắt hay viết chú thích cho một đối tượng PartCAD. Tái hiện tính năng tóm tắt hình dạng bằng AI tích hợp đã ngừng cung cấp.

Add to TypingMind

Tổng quan

Nhà phát hànhpartcad
Kho mãpartcad
Tên kỹ năngdescribe
Sao
504
Bản fork
47
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépApache-2.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được partcad công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Describe trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/partcad/partcad/tree/devel/ai-agents/common/skills/describe
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/partcad/partcad.git /tmp/partcad
mkdir -p .claude/skills
cp -r /tmp/partcad/ai-agents/common/skills/describe .claude/skills/describe
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Describe trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Describe ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Describe với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

pc:describe

Produce a text description of an existing PartCAD shape by rendering it and looking at the result — the replacement for PartCAD's retired built-in AI summary. The text after the command ($ARGUMENTS) names the object to describe (optionally with its kind).

One picture is not enough to describe a shape. A single projection hides everything behind it, and a description written from one is a description of a silhouette. Render three views (§3), and where a dimensioned drawing can be had, read the numbers off that rather than estimating them (§4).

Nor is any picture enough to give a size. A projection is rendered to fit its frame, so nothing in it says whether the part is 20 mm across or 200 — which is why this starts by asking PartCAD what it measured (§2) and never estimates a dimension a number was available for.

1. Resolve the object

$ARGUMENTS is the object name (a part by default; an assembly or sketch if the user says so). Read its desc:/requirements: from partcad.yaml for context. Make sure PartCAD is available as /pc:init describes.

Pass --no-ansi on every run so the output is plain text; it is a global flag, goes before the subcommand, and routes the logs to stderr.

This skill describes an object a package declares, because §6 stores the result back into that package. To describe a bare CAD file that is in no package, render it with /pc:render (pc adhoc render) and write the description for the user instead of storing it.

2. Measure it

pc info reports what PartCAD measured when it built the object, and those are the numbers this description is anchored on:

sh
pc --no-ansi info <name> 2>&1   # add -a / -s for an assembly or a sketch

Read all of it. The measurements are the first thing to look for, but the sections below are what the design says about itself, and a filter narrow enough to catch BoundingBox would cut them off.

  • BoundingBox — min, max and size in millimetres. size is the overall envelope of the design: state it, and give every other dimension in proportion to it rather than in pixels.
  • Volume — how much material is in it, in cubic millimetres, with Solids saying how many solids that is the volume of. More than one solid in a part is worth saying out loud: it is usually either deliberate (a part that is two pieces) or a mistake nobody has noticed. A negative volume means the faces are oriented inward — report that as a defect rather than dropping the sign.
  • A sketch, a shell or a wire has no volume, and pc info says so by leaving Volume out. It is flat, so its bounding box is its size.

The rest of what pc info prints is worth a look too, and for an object read from a file it is where the design's own words are: a STEP file's File, Products, Layers and Properties, a DXF sketch's Drawing, Layers and Annotations — including the angle, radius and direction of a sheet metal bend. Anything stated there is the design's own and beats a reading off a picture.

The first run builds and measures the object, so it is slow; every run after it is a cache hit. If it fails — no sandbox, a part that does not build — say so in the report and describe the shape from the views alone, without inventing a size.

3. Render three views

front, top and iso: two orthographic views to read proportion and features from, and one pictorial view that shows how they go together. A rendered file is named after the object, so give each view a directory of its own or they overwrite each other:

sh
for view in front top iso; do
  mkdir -p /tmp/pc-render/$view
  pc --no-ansi render -t png --view $view -O /tmp/pc-render/$view <name>   # add -a for an assembly
done

View all three — /tmp/pc-render/<view>/<name>.png.

Add right (or back, left, bottom) when the three leave a face unaccounted for: a part that is not symmetric about an axis has a side you have not seen, and guessing at it is exactly what this skill must not do.

A sketch is flat, so it has only one view worth rendering, and SVG suits it better than PNG:

sh
mkdir -p /tmp/pc-render
pc --no-ansi render -s -t svg -O /tmp/pc-render <name>

4. Render a dimensioned drawing (parts, when it is available)

The projections above show shape but no numbers. draftwright, a render implementation published in the public PartCAD index, draws a fully dimensioned technical drawing instead — orthographic views with dimension lines, hole callouts, radii, an ISO view, and a title block carrying the material and scale. Reading a description off that beats estimating from pixels:

sh
mkdir -p /tmp/pc-render/drawing
pc --no-ansi render -t pdf -e //pub/feature/render/draftwright \
    -O /tmp/pc-render/drawing <name>

-e names the package to read the output configuration from, so this works on any object without that object's package knowing about draftwright. Then read /tmp/pc-render/drawing/<name>.pdf — ask for pdf, whose pages can be looked at directly. Its svg draws every character as paths, so no text can be read out of that markup.

This is a best-effort extra, not a requirement. It needs the public index among the package's dependencies: (which pc init writes) and a network connection, and the first run is slow while PartCAD installs draftwright into a sandbox. It is also a part drawing — do not expect it of an assembly or a sketch.

draftwright reports what it could not do. When a part has features it cannot dimension at the chosen scale it says so and draws the rest, and the command may exit non-zero having still written a usable file — so check whether the file appeared before giving up on it. If it did not, or anything above failed, describe the object from the three views and say in your report that no dimensioned drawing was available.

5. Write the description

From the measurements, the images and the configured desc/requirements, write a description for a reader who has a mechanical-engineering / CAD background but cannot see it:

  • State every measurement §2 produced, and say so when it produced none. The overall envelope in millimetres, and for a part how much material is in it: those are measurements rather than impressions, and they are what tells a reader whether this is a bracket or a building. Where pc info gave no such number — a sketch, which has no volume; a part that would not build; a machine with no sandbox — write that the measurement was unavailable. Saying so costs a clause; the alternative is a figure you made up, which is the one thing this skill exists to prevent.
  • Describe both the overall shape and the dimensions; make no assumptions and add as much concrete detail as the renders and config support.
  • Prefer a measured or stated dimension over one you judged from a projection: pc info first, then the dimensioned drawing, then the picture. Where you are reading a proportion off a picture rather than a stated number, say it is approximate rather than inventing a figure.
  • Work through the views: overall form and bounding size first, then the features each view reveals, then how they relate.
  • Refer to it as "this design", not "the image" — and never as "the three images", which is an artifact of how you looked at it.
  • Produce prose that is ready to be narrated as-is (no markdown, no lists).

6. Persist it (so pc ide view shows it)

pc ide view reads a shape's summary: from its configuration. Write your description there so the tool and other agents can reuse it:

yaml
parts:            # or sketches: / assemblies:
  <name>:
    ...
    summary: >-
      <your description>

Report the description to the user, say which views (and whether a dimensioned drawing) it was written from and which numbers were measured rather than judged, and confirm where you stored it.

Câu hỏi thường gặp

Kỹ năng AI Describe làm được gì?

Viết phần mô tả bằng văn bản, phù hợp để đọc thành lời và chú trọng khả năng tiếp cận, về một chi tiết, cụm lắp ráp hoặc bản phác thảo PartCAD hiện có, dựa trên hộp giới hạn và thể tích đo được, hình ảnh kết xuất từ nhiều góc nhìn và — nếu có — bản vẽ kỹ thuật có kích thước. Dùng cho /pc:describe hoặc khi người dùng yêu cầu mô tả, tóm tắt hay viết chú thích cho một đối tượng PartCAD. Tái hiện tính năng tóm tắt hình dạng bằng AI tích hợp đã ngừng cung cấp.

Vì sao nên dùng Describe trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Describe là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Describe trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/partcad/partcad/tree/devel/ai-agents/common/skills/describe. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Describe?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Describe với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Describe với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Describe có miễn phí không?

Có. Kỹ năng này được partcad phát hành trên GitHub theo giấy phép Apache-2.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇