# Claude Code Measurement Marker Check 实战二独立技能包:装修量尺图缺标记检查。 P0 小闭环: 1. 用户上传一张量尺图、手绘量尺单、户型草图或现场测量截图。 2. Claude Code 先观察图片,提取已标记内容、疑似缺标位置和模糊待确认区域。 3. 本地工具把结构化观察转成稳定报告:缺标记清单、风险说明、图像依据、人工复核建议。 ## 用户入口话术 ```text 帮我检查这张装修量尺图有没有哪里未标记。 重点看空间名称、门窗洞口、长宽高、管道/插座/烟道和现场限制备注。 先给我缺标记清单和人工复核建议。 ``` ## 本地验证 ```bash npm --prefix claude-code-measurement-marker-check run measure:sample npm --prefix claude-code-measurement-marker-check run smoke ``` ## Claude Code 加载 推荐给 VSCode Claude Code 使用工作区安装: ```bash npx @gangvy/claude-code-measurement-marker-check workspace --smoke ``` 安装后会生成: ```text .\.claude\plugins\measurement-marker-check .\.claude\skills\measurement-marker-check\SKILL.md ``` 如果 Claude Code 会话已经打开,安装后重启当前 VSCode Claude Code 会话。 用户级安装: ```bash npm install -g @gangvy/claude-code-measurement-marker-check claude-measure-marker install ``` 免全局安装到用户级插件目录: ```bash npx @gangvy/claude-code-measurement-marker-check install ``` ```bash claude --plugin-dir ./claude-code-measurement-marker-check ``` 进入 Claude Code 后可直接调用: ```text /measurement-marker-check:measurement-marker-check ``` ## 参考实现 参考项目 `E:\ltc-pobingfeng` 中的图片识别调用方式: - `src/modules/owner/nav/consultation/menchuang-agent/image-analysis.service.ts` - `src/modules/owner/nav/consultation/menchuang-agent/window-recognition.service.ts` - `AI模型导入与使用文档.md` 核心模式是 `completionJSON` 结构化输出,并通过 `vision: true` 和 `images: [imageUrl]` 传入图片。当前独立技能 P0 优先利用 Claude Code 的上传图片视觉能力完成观察,再用本地工具固化报告。