Inspection skill

From Justcnds/mc-ai-builder · View interactive version

Inspection skill is an AI agent skill from the GitHub repository Justcnds/mc-ai-builder. 分析现有建筑代码和场景。检查结构问题、计算边界、为新建筑定位。

How to use this skill

Skill file

🔍 Inspection Skill

分析和检查现有建筑代码,保障结构完整性与空间定位。

使用时机

可用分析脚本 (Scripts)

analyzeScene.js

分析当前场景所有建筑方块的三维包围盒(Bounding Box),给出下一座建筑的安全放置坐标:

{ "name": "run_script", "arguments": { "script": "analyzeScene", "passCurrentCode": true } }

返回值示例:

{
  "bounds": { "minX": 0, "maxX": 20, "minZ": 0, "maxZ": 20 },
  "size": { "width": 21, "height": 30 },
  "recommendation": "Place new structure at X=30"
}

analyzeStructure.js

检查代码中是否存在常见瑕疵(缺少内饰、无门窗开口、优先级倒挂等)。

常见结构缺陷与标准修复方案

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.