跳到主要内容
知仓学习社ZHICANG

solidworks-design

Plan, create, modify, inspect, repair, validate, save, and export SolidWorks parts, assemblies, and drawings. Use for any request involving SolidWor…

不碰外部(只输出文字)无严重或高危命中hashgraph-online/awesome-codex-plugins

它会碰到什么

扫了多少2 个文本文件,5 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

SolidWorks Design

Treat this skill as the entry point for every SolidWorks task. Use the available

SolidWorks automation surface for CAD operations; this plugin supplies the

engineering and knowledge workflow rather than a SolidWorks installation.

Start the task

  1. On the first SolidWorks request in the current Codex task, resolve the

plugin root from this file and run:

   python <plugin-root>/scripts/sw_session.py start

Echo the returned UUID as SESSION_ID in working context. Run this command

only once per Codex task and never replace the ID mid-task.

  1. Establish the design goal, units, geometry-driving dimensions, material,

tolerances or fits, manufacturing process, and deliverables.

  1. Ask one concise question when missing data changes geometry, safety, fit, or

the requested output. Do not guess engineering values. If the user

explicitly delegates a non-geometry default, apply the active KB convention

and disclose it.

  1. Invoke $sw-pre-start, then $sw-kb-api, in that exact order before

opening SolidWorks, generating CAD code, or calling a SolidWorks API.

Plan before editing

Write a compact implementation plan that identifies:

  • files and document types to create;
  • datums, origins, coordinate systems, and reference geometry;
  • ordered sketches and features with named driving dimensions;
  • sketch relations and the fully-defined condition;
  • material, tolerance, fit, fastener, clearance, and manufacturing decisions;
  • assembly mates and intended remaining degrees of freedom;
  • measurable acceptance criteria and required exports.

Query the KB standards tables when each material, fit, tolerance, fastener, or

clearance decision is made. Never substitute remembered nominal values when a

standards lookup is available.

Build and verify parts

Create each part separately. For every part:

  1. Use metric model units unless the user explicitly overrides them.
  2. Build parametric, fully-defined sketches with stable references and named

dimensions.

  1. Rebuild after meaningful feature groups and inspect returned API values.
  2. Before each SolidWorks API method, check the part-specific and global known

errors loaded by $sw-kb-api; apply a resolved prevention first.

  1. Assign the verified material and record its source and units.
  2. Inspect rebuild status, document errors, feature tree, mass properties,

bounding box, and a representative image.

  1. Use deterministic document validation as pass/fail. Treat screenshots as

visual evidence only.

  1. Save the native part, export requested formats, then close it before

starting an assembly.

Do not report success when rebuild or document validation has not passed.

Build and verify assemblies

Create an assembly only after all component parts are saved and closed.

Insert components from explicit saved paths, add mates in a stable order, and

verify mate status, interference or clearance requirements, component count,

and remaining degrees of freedom. Rebuild and run deterministic document

validation before saving or exporting.

Drawings and exports

Create requested drawings from the validated final model. Include specified

views, dimensions, tolerances, fits, GD&T, material notes, and title-block

metadata. Export only after final design-rule validation passes.

Prefer project folders named work/ for native working files and exports/

for deliverables unless the user explicitly chooses other paths.

Finish the task

  1. Invoke $sw-pre-start Phase 6 with final parameters and resolve every

fail. Record advisories.

  1. Report native files and exports, explicit units, measured mass and bounding

box, validation result, errors, and limitations.

  1. Track the corrected feature sequence, every final code artifact, repeatable

failures and resolutions, and non-obvious lessons.

  1. After delivering the CAD result, invoke $sw-session-reporter. Do not skip

reporting merely because the KB was offline during the build.

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。

它属于哪个仓库

星标★ 1,027
本站分层T1
该仓技能数1910
原文件路径plugins/Erfouni/solidworks-GPT-plugin/plugins/solidworks-gpt-plugin/skills/solidworks-design/SKILL.md

同一个仓库里的其他技能

看这个仓库的全部 1910 个技能