agentleFS
andrewbartels1andrewbartels1/SolidworksMCP-python/.github/skills/feature-tree-reconstruction/SKILL.md

feature-tree-reconstruction

Skill121 starsChanged 4 months agoMITView on GitHub

Use when reconstructing an existing SolidWorks model and you need inspect-classify-delegate routing with evidence, confidence, and safe execution checkpoints. Trigger phrases: reconstruction, reverse engineering, feature tree, classify family, inspect-classify-delegate, list_features, classify_feature_tree, sheet metal, VBA fallback.

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 5 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when the original model is available and appearance-first guessing would be risky.

    line 8
  2. Distinctive:

    Never reconstruct from silhouette only when the source model is available.

    line 54
  3. Distinctive:

    Never produce a monolithic 20-step build plan before family acceptance.

    line 55
  4. Distinctive:

    Do not continue execution when confidence is low and contradictory evidence exists.

    line 56
  5. Very specific:

    If family is unknown, force additional inspection and user clarification before build.

    line 57
  6. Distinctive:

    When a tool fails:

    line 62

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Feature-Tree Reconstruction

Use this skill when the original model is available and appearance-first guessing would be risky.

Objective

Produce a safe, evidence-backed reconstruction workflow that starts from model inspection and only executes after the family and first-feature strategy are approved.

Workflow

  1. Inspect before planning:
    • open_model
    • get_model_info
    • list_features(include_suppressed=True)
    • get_mass_properties
    • classify_feature_tree
  2. Classify feature family and confidence:
    • revolve, extrude, sheet_metal, advanced_solid, assembly, drawing, unknown
  3. Delegate by family:
    • sheet_metal and unsupported advanced families: VBA-aware reconstruction path
    • simple part families: direct MCP checkpoint plan
    • assembly: component-first decomposition, part-level reconstruction per component
  4. Retrieve supporting evidence before execution:
    • local worked examples
    • tool-catalog pages
    • recent error/remediation history
  5. Execute conservatively:
    • propose 3-6 checkpoint steps only
    • require human approval before each irreversible step
  6. Verify and store:
    • capture resulting feature-family alignment
    • compare mass properties and key dimensions
    • log failures and remediation for future runs

Output Contract

Always return:

  • family
  • confidence (high/medium/low)
  • evidence (top items used)
  • warnings (contradictions, missing evidence)
  • recommended_workflow
  • checkpoint_plan (3-6 steps)
  • requires_human_confirmation (true/false)

Guardrails

  • Never reconstruct from silhouette only when the source model is available.
  • Never produce a monolithic 20-step build plan before family acceptance.
  • Do not continue execution when confidence is low and contradictory evidence exists.
  • If family is unknown, force additional inspection and user clarification before build.
  • For sheet metal and unsupported operations, route to VBA-aware planning instead of guessing direct tool calls.

Failure Recovery

When a tool fails:

  1. Record error type, root cause, and remediation.
  2. Roll back to the last accepted checkpoint.
  3. Replan only the next checkpoint, not the whole workflow.
  4. Surface at least one alternative path with tradeoffs.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.