capwitf/mechanical-cad-skills/cad-reference-match
Claude Code and agent skill by capwitf/mechanical-cad-skills
- community
Checking that the SKILL.md file is still in the repository.
Use when a CAD drawing, SolidWorks drawing, FreeCAD output, DXF, DWG, PDF, screenshot, rendered model, or mechanical drawing must match, imitate, trace, copy, or stay visually close to a reference image, PDF, screenshot, scan, or existing CAD file.
Install
npx vskill@latest install capwitf/mechanical-cad-skills/cad-reference-matchSKILL.md
CAD Reference Match
Core Rule
Whole-page similarity is not enough. Verify local engineering regions before claiming a CAD output matches a reference.
If project-local jixie-fuke is available in .codex/skills/jixie-fuke, use it as the detailed reference-replication rule set. This skill provides the shorter cluster entry point and handoff.
If no reference drawing, screenshot, PDF, scan, or existing CAD output exists, do not use this skill. Use cad-original-design and judge the result against the design brief instead.
Use cad-reference-acceptance before claiming readiness. Use cad-region-compare when reference/output PDF or image regions can be rendered or cropped. Treat metrics as supporting evidence, not automatic proof of matching.
Region Checklist
Split the reference into regions:
- sheet layout and view placement,
- main outlines and proportions,
- section/detail views,
- holes, shafts, bosses, ribs, flanges, ports, grooves, chamfers, fillets, threads,
- hatches, hidden lines, centerlines, leaders, balloons, dimensions, tolerances,
- title block, BOM, notes, material, scale, drawing number.
Also create a numbered grid, default 4x4, and report minimum similarity, average similarity, worst cell IDs, and failed cell IDs. Do not accept a drawing from whole-page or broad-region similarity alone.
Record what the reference shows before editing. Use feature descriptions, not vague notes like "left side wrong".
Comparison Loop
- Render or open the reference and current final output.
- Crop or zoom the same local region from both.
- Compare outlines, feature count, centers, relative sizes, line types, hatches, and annotations.
- Use
cad-region-comparefor high-risk PDF/image regions when possible, and save crop/diff evidence. - Classify each mismatch as geometry, proportion, section, line type, annotation, view layout, export, or stale file.
- Fix the source of truth, then regenerate the final output.
- Re-check from the final delivered file.
Do not fix only a screenshot or PDF if the source CAD, model, or script remains wrong.
Acceptance
A reference-matched result is ready only when:
- all high-risk local regions were checked,
- available crop comparison reports were recorded for high-risk PDF/image regions,
- remaining differences are listed and acceptable,
- numbered grid acceptance passed or failed cells are explicitly listed with accepted reasons,
- final files are fresh and match the checked output,
- source files can regenerate the delivered output.
Handoff
- Use
cad-requirements-lockif dimensions, standards, or deliverables are unclear. - Use
cad-original-designif there is no reference and the CAD must be designed from requirements. - Use
cad-toolchain-preflightif a CAD tool, MCP server, converter, or SolidWorks bridge is unverified. - Use
cad-region-comparewhen reference and output regions can be compared as PDF/image crops. - Use
cad-reference-acceptancefor final numbered-grid acceptance before "matches the reference" claims. - Use
cad-final-verificationbefore final reporting.
Common Mistakes
- Saying "looks close" from a zoomed-out page preview.
- Missing small shaft shoulders, hole centers, section boundaries, or hatch omissions.
- Correcting annotations while the actual geometry remains wrong.
- Comparing a working file but delivering a stale exported file.
Security
- Security scanPassed, 90 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 repositoryCheckingcad-reference-match/SKILL.md
Popularity
- Repository stars
- 6
- 7-day trend score
- 0
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/capwitf/mechanical-cad-skills/cad-reference-match)