视觉画布设计
canvas-design
基于设计原则创作静态视觉作品,用于海报与品牌图形。
solidworks-design【文档与办公】Plan, create, modify, inspect, repair, validate, save, and export SolidWorks parts, assemblies, and drawings. Use for any request involving SolidWorks CAD geometry, engineering drawings or reference images, materials, fits, tolerances, fasteners, mates, mass properties, or STEP/IGES/STL/PDF deliverables. Orchestrates the mandatory knowledge-base pre-…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
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.
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.
Establish the design goal, units, geometry-driving dimensions, material, tolerances or fits, manufacturing process, and deliverables.
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.
Invoke $sw-pre-start, then $sw-kb-api, in that exact order before
opening SolidWorks, generating CAD code, or calling a SolidWorks API.
Write a compact implementation plan that identifies:
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.
Create each part separately. For every part:
$sw-kb-api; apply a resolved prevention first.Do not report success when rebuild or document validation has not passed.
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.
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.
$sw-pre-start Phase 6 with final parameters and resolve every
fail. Record advisories.$sw-session-reporter. Do not skip
reporting merely because the KB was offline during the build.