yhz5613813/cadflow/cadflow-validate-export
Claude Code and agent skill by yhz5613813/cadflow
- community
Checking that the SKILL.md file is still in the repository.
Validate CadFlow geometry, mesh, and contact-simulation results; replay model JSON; check topology and files; and produce trustworthy STEP/STL/DXF/OBJ/JSON/PNG/BREP deliverables. Use after CAD, static flexible-material, or face-contact generation when output must be tested, rendered, exported, or reported with measured evidence.
Install
npx vskill@latest install yhz5613813/cadflow/cadflow-validate-exportSKILL.md
CadFlow Validation and Export
Use this skill as the final quality gate. It does not create geometry by itself; it verifies the result produced by a modeling skill and refuses unsupported or unmeasured claims.
Required validation sequence
- Identify the artifact type: rigid
Shape, replayableModelResult, static
FlexibleMesh, or ContactSimulationModel. Record source script, environment, units, and output directory.
- Validate geometry before export. For solids check validity, one-solid
topology, volume, area, bbox extents, and expected feature dimensions. For flexible meshes check finite arrays, index bounds, unit normals, triangle area, panel ranges, deterministic rebuild, and watertightness when thick.
- If graph/model JSON exists, import and replay it independently. Compare
result count and measured geometry; do not trust only a successful parser.
- Export requested files. Verify each file exists, is non-empty, has the
expected header/format, and can be parsed or reopened when a parser exists.
- Render requested views. Check PNG signature, dimensions, non-zero content,
and that all requested views are present.
- Write a concise report with pass/fail status, measured values, tolerances,
file sizes, and residual risks.
For a ContactSimulationModel, run its semantic validation and native analysis before exporting the package. Check every component/material/surface/law/pair reference, face BREP hash, assembly transform, oriented normal, initial gap, candidate count, and explicit unit string. Read references/checklists.md for the package gate.
Public boundaries
- Use
import cadflow as cad. - Use public
cadflow.flexiblefor flexible meshes and public modeling,
serialization, and inspection APIs for rigid geometry.
- Use public
cadflow.simulationfor face-contact validation and package
export. Do not load the native library or OCP directly in user scripts.
- Do not repair a bad result by editing private native code during validation.
- Do not call a static mesh watertight merely because it renders; inspect edge
multiplicities and triangle orientation.
Rigid-shape gate
Query expected dimensions and tolerances explicitly. A valid shape with the wrong dimensions is a failed deliverable.
Flexible-mesh gate
Export gate
For rigid shapes use export_step and export_stl. Export a 2D machining DXF only from the intended planar face, then verify every LWPOLYLINE is closed, outer and inner loop counts match the part, $INSUNITS is millimeters, and the profile bounds match the selected face. For flexible meshes use write_obj, write_stl, and write_json. Ensure the parent directory exists. Check STL triangle count and expected binary length when applicable:
For PNG, verify the eight-byte PNG signature, width/height from the IHDR, and that the file is not an empty placeholder.
Reporting
Report exact paths and measurements. Separate:
- measured facts (counts, bounds, area, file sizes);
- assumptions (units, coordinate frame, inferred dimensions);
- validation status;
- unresolved risks (e.g. no physical cloth simulation, approximate folds, or
unsupported external CAD features).
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/cadflow-validate-export/SKILL.md
Popularity
- Repository stars
- 61
- 7-day trend score
- 21
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/yhz5613813/cadflow/cadflow-validate-export)