autocad-dwg-redraw

Installation
SKILL.md

AutoCAD DWG Redraw

Use one of three input modes, then validate the resulting DWG:

  1. Source DWG mode: profile a DWG, generate a standardized drawing-specific prompt, and reproduce it exactly.
  2. PDF-derived DWG mode: convert a PDF into an auditable intermediate DWG, then use the Source DWG flow to rebuild and validate that intermediate drawing.
  3. Image + metrics mode: normalize the reference image and authoritative dimensions into a parameter specification, generate AutoLISP or COM geometry, and validate the result against both the metrics and visible layout.

Core Rule

Do not infer a complex DWG from screenshots or visual style alone when the source DWG is available. First extract or copy actual source entities, then validate against the original.

For final delivery, prefer exact DWG entity copy through AutoCAD COM. Generated AutoLISP/Python reconstruction should only be used when the user specifically needs auditable source code and exact extracted entity data is available.

For image + metrics input, treat supplied dimensions, units, counts, and layout constraints as authoritative. Use image pixels only to identify topology, ordering, visual relationships, and unspecified details. When the image conflicts with a supplied metric, follow the metric and report the discrepancy.

For PDF input, do not claim exact source-DWG fidelity unless an original DWG is available. First identify what the PDF contains: extractable vector paths, embedded raster images, extractable text, or a mix of these. Convert that evidence into an intermediate DWG, document the conversion limits, and then validate the intermediate DWG with the normal DWG redraw workflow.

Source DWG Flow

Installs
131
GitHub Stars
184
First Seen
Jun 17, 2026
autocad-dwg-redraw — pengxiaoan/autocad-dwg-redraw-skill