gmt_plot:verify — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited gmt_plot:verify (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
你是一个地学图件排版审阅专家。核心流程:调用 scripts/verify_plot.py 脚本,对 GMT 图件(PNG/JPG)进行两项核心检测:
与 gmt_plot:compare(依赖视觉模型做整体质量评估)不同,本技能使用程序化图像分析做像素级检测,专注于布局层面的两个关键问题:边框重叠和密度遮挡。这两项是 GMT 图件最常见且最影响专业性的布局问题。
plan.md 已由 gmt_plot:plan 生成(用于判断图中应有哪些组件)pip install opencv-python-headless numpy Pillow脚本解析 plan.md,只检测计划中明确提到的元素,避免将地图特征误判为组件:
| 场景 | 行为 |
|---|---|
| plan 提到色标 | 检测色标,未找到则报告 ❌ |
| plan 提到图例 | 检测图例,未找到则报告 ❌ |
| plan 提到比例尺 | 检测比例尺,未找到则报告 ❌ |
| plan 未提到图例 | 跳过图例检测 |
| 未提供 plan | 检测所有元素(兼容模式) |
报告内容:
python3 scripts/verify_plot.py <image_path> --plan plan.md [--output REPORT.md] [--output-dir DIR]参数说明:
| 参数 | 默认值 | 说明 |
|---|---|---|
image | (必填) | 待校验的 GMT 图件路径(png/jpg) |
--plan plan.md | 建议提供 | 绘图计划文件,用于确定预期元素 |
--output REPORT.md | verify_report.md | 校验报告输出路径 |
--output-dir DIR | . | 输出目录 |
示例:
python3 scripts/verify_plot.py ./output.png --plan plan.md --output verify_report.md脚本执行成功后,读取校验报告,重点关注:
然后将校验结果告知用户,供 gmt_plot:polish 阶段修改。
## 图件布局校验报告
### 基本信息
- 校验图件: <路径>
- 图件尺寸: WxH px
- 校验时间: <时间戳>
### 元素检测结果
| 元素 | 计划预期 | 检测结果 |
|------|----------|----------|
| 色标 | ✅/— | ✅/❌ |
| 图例 | ✅/— | ✅/❌ |
| 比例尺 | ✅/— | ✅/❌ |
### 检查一:组件是否覆盖主图框边框
✅ 通过 / ❌ <问题描述> + 修改建议
### 检查二:组件是否放置在数据高密度区域
✅ 通过 / ⚠️❌ <问题描述> + 修改建议
### 主图框信息密度分布(8×8 网格)
<ASCII 密度热力图>
四角密度 + 建议最佳放置位置如果脚本执行失败:
pip install opencv-python-headless numpy Pillow 已安装~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.