Vibeflow geometry

From sunrise-hjx/vibeFlow-skills · View interactive version

Vibeflow geometry is an AI agent skill from the GitHub repository sunrise-hjx/vibeFlow-skills. Use when generating, editing, validating, repairing, importing, exporting, or documenting VibeFlow geometry from 0-caseDict/caseDict, especially CadQuery parameterized CAD, STEP/STL organization, computational-domain construction, named faces/regions/interfaces, geometry manifests, and geometry-to-m

How to use this skill

Skill file

VibeFlow Geometry

This skill is responsible for turning caseDict.geometry into stable, repeatable, exportable, mesh-ready geometry artifacts. A geometry script is not an isolated CAD helper; it must serve downstream regions, interfaces, boundariesLoadsInitials, mesh, and post-processing sampling semantics.

When to Use

What to Read First

Inputs

Outputs

Path Selection

Workflow

  1. Read caseDict.geometry, while also confirming geometry-entity naming requirements from physicalProblem, regions, interfaces, boundariesLoadsInitials.boundarySets, and mesh.meshSource.
  2. Validate the coordinate system, units, main flow direction, gravity direction, computational domain, key parameters, and region semantics.
  3. If key parameters are missing or a physical assumption would change the geometry, return to vibeflow-case-dict for follow-up questions.
  4. Generate or organize the geometry script, keeping parameter names consistent with geometry.parameters and entity names consistent with geometry.entities.
  5. Build named bodies / domains / features / sensors / regions / interfaces; avoid relying on fragile face indices.
  6. Export stable artifacts and write them to geometry.artifacts.
  7. Run lightweight validation: file existence, scale, bounding box, entity/region/interface/boundary-set coverage, and obvious non-manifold risks.
  8. If validation fails, write to errors.entries, mark stage=geometry, and state whether the issue is blocking.

Rules

Validation

Fallback Conditions

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.