| name | projection-verification |
| description | Use this skill when you need to compare rendered projections against the reference drawing and propose concrete fixes. |
projection-verification
Goal
Evaluate whether the current model matches the drawing closely enough.
Required inputs
- /artifacts/projections/*.png
Optional inputs
- /input/reference.png
- /preprocessed/outline_only.png
- /preprocessed/*_ref.png
Required outputs
- /review/compare_report.json
- /review/fix_plan.json
Workflow
- Read any extracted reference views under /preprocessed/
- If the needed reference views are missing, call image_editor to extract them from /input/reference.png when possible
- If extract_view fails, do not use custom to synthesize a replacement reference view crop
- If no explicit extracted views exist, infer simple matches from filenames under /preprocessed/ and /artifacts/projections/
- For each matched view, call compare_projection_pair
- If compare output includes a diff board image, inspect it if needed
- Summarize mismatches into a concise report
- Create a patch-oriented fix plan for the builder
- If comparison inputs are insufficient, write a blocked report that says which reference view could not be established
compare_report.json recommended shape
{
"status": "PASS | WARN | FAIL | BLOCKED",
"views": {
"front": {"score": 0.0, "mse": 0.0, "pixel_iou": 0.0, "edge_iou": 0.0, "diff_path": "..."},
"top": {...},
"right": {...}
},
"summary": ["..."],
"overall_score": 0.0
}
fix_plan.json recommended shape
{
"status": "PASS | FIX_REQUIRED | BLOCKED",
"edits": [
{"priority": 1, "instruction": "...", "reason": "...", "affected_views": ["front"]}
],
"recommendation": "..."
}