architectural-drawing-parser
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "architectural-drawing-parser":https://skillpi.com/zh/skills/deepskill-9074604cb8469f3d14b46ed1428647d49a12781a3819a48a3d9113740e2f9f46。安装前核对上游来源和版本:https://github.com/TerminalSkills/skills。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
github.com
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
architectural-drawing-parser 使用视觉 AI 解析建筑图纸、平面图和规范合规文件。用于从 PDF、图像或扫描文档中提取建筑类型、使用性质、建筑面积、房间布局、尺寸和规范参数,便于读取和平面图分析。
介绍来源: third_party · TerminalSkills · 1.0.0 参考来源
SkillPi 解读
- 输入和输出
- 翻译待完成,请参阅来源文档。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: architectural-drawing-parser
description: >-
Parse architectural drawings, floor plans, and building code compliance documents using
Vision AI. Extracts building type, occupancy, floor areas, room layouts, dimensions,
and code parameters. Use when: reading PDF floor plans, analyzing architectural drawings,
extracting building data from images or scanned documents.
license: Apache-2.0
compatibility: "Node.js 18+ or Python 3.9+"
metadata:
author: terminal-skills
version: "1.0.0"
category: design
tags: [architecture, vision-ai, floor-plan, building-codes, pdf-parsing]Architectural Drawing Parser
Overview
Vision AI pipeline to extract structured building data from architectural drawings, floor plans, and IBC/IRC code compliance documents. Uses Claude's vision capabilities to read and interpret professional drawings, returning a normalized JSON object suitable for downstream 3D modeling or code validation workflows.
Supports IBC occupancy types (A-1 through U), construction types (I-A through V-B), sprinkler systems (NFPA 13/13R/13D), building dimensions, unit breakdowns, egress data, and floor plan elements (rooms, walls, doors, windows).
Instructions
Supported Drawing Types
| Drawing Type | What Is Extracted |
|---|---|
| IBC/IRC code compliance drawings | Occupancy, construction type, heights, stories, areas, egress, units |
| Floor plans (unit-level) | Rooms, dimensions, wall layouts, door/window positions |
| Site plans | Building footprint, setbacks, parking |
| Building area analysis tables | Unit types, SF per unit, occupant loads, travel distances |
Output Data Structure
The parser returns a BuildingData JSON object with these fields:
- occupancy -- IBC occupancy type (e.g., "R-2", "A-2", "B")
- constructionType -- IBC construction type (e.g., "V-B", "I-A")
- sprinklerSystem -- "NFPA 13", "NFPA 13R", "NFPA 13D", or "None"
- stories --
{ permitted, actual } - height --
{ permitted: { feet, meters }, actual: { feet, meters } } - totalBuildingArea --
{ sqft, sqm } - units -- Array of
{ name, area: { sqft, sqm }, occupantLoad, loadFactor, count } - travelDistances -- Array of
{ floor, maximum: { feet, meters } } - scale -- Scale notation string (e.g.,
1/16" = 1'-0") - rooms -- Array of
{ name, type, estimatedArea, dimensions }(floor plans only)
Parsing Approach
- Send the drawing image to Claude's vision API with a structured extraction prompt
- Request all building data as a single JSON object
- Convert all areas to both sqft and sqm (1 sqft = 0.0929 sqm)
- Convert all distances to both feet and meters (1 foot = 0.3048 m)
- Parse the JSON from the response text
Best Practices
- Use 150 DPI or higher for scanned drawings
- JPEG or PNG format; convert PDFs to images first (
pdftoppm -jpeg -r 150 drawing.pdf output) - Process multi-sheet PDFs one page at a time, then merge results
- Always verify extracted data against the source before structural calculations
Examples
Example 1: Parsing a Floor Plan PDF
A developer receives a scanned floor plan of a 2-bedroom apartment unit and needs room dimensions for a renovation estimate.
Input: apartment_unit_plan.jpg (scanned at 200 DPI, 1/4" = 1'-0" scale)
Extracted JSON:
{
"rooms": [
{ "name": "Living Room", "type": "living", "estimatedArea": { "sqft": 240, "sqm": 22.3 }, "dimensions": { "width": 16, "depth": 15, "units": "feet" } },
{ "name": "Kitchen", "type": "kitchen", "estimatedArea": { "sqft": 120, "sqm": 11.1 }, "dimensions": { "width": 12, "depth": 10, "units": "feet" } },
{ "name": "Master Bedroom", "type": "bedroom", "estimatedArea": { "sqft": 168, "sqm": 15.6 }, "dimensions": { "width": 14, "depth": 12, "units": "feet" } },
{ "name": "Bedroom 2", "type": "bedroom", "estimatedArea": { "sqft": 132, "sqm": 12.3 }, "dimensions": { "width": 12, "depth": 11, "units": "feet" } },
{ "name": "Bathroom", "type": "bathroom", "estimatedArea": { "sqft": 48, "sqm": 4.5 }, "dimensions": { "width": 8, "depth": 6, "units": "feet" } }
],
"scale": "1/4\" = 1'-0\""
}
The developer uses the room dimensions to calculate material quantities for flooring (708 sqft total) and wall paint coverage.
Example 2: Extracting Building Data from an IBC Compliance Drawing
An architect submits a code compliance sheet for a 3-story apartment building. The parser extracts all building classification and egress data.
Input: ibc_compliance_sheet.jpg (building area analysis table + egress diagram)
Extracted JSON:
{
"occupancy": "R-2",
"constructionType": "V-B",
"sprinklerSystem": "NFPA 13",
"stories": { "permitted": 4, "actual": 3 },
"height": {
"permitted": { "feet": 60, "meters": 18.29 },
"actual": { "feet": 35, "meters": 10.67 }
},
"totalBuildingArea": { "sqft": 8910, "sqm": 827.9 },
"units": [
{ "name": "Type A", "area": { "sqft": 834, "sqm": 77.5 }, "occupantLoad": 5, "loadFactor": "1/200 SF", "count": 6 },
{ "name": "Type B", "area": { "sqft": 645, "sqm": 59.9 }, "occupantLoad": 4, "loadFactor": "1/200 SF", "count": 6 }
],
"travelDistances": [
{ "floor": "Level 1", "maximum": { "feet": 66, "meters": 20.1 } },
{ "floor": "Level 2", "maximum": { "feet": 66, "meters": 20.1 } },
{ "floor": "Level 3", "maximum": { "feet": 66, "meters": 20.1 } }
]
}
This data feeds into the ibc-building-codes skill for compliance validation and the spec-to-3d skill for 3D model generation.
Guidelines
- Accuracy depends on drawing quality and image resolution; low-res scans may produce incorrect dimensions
- Very small text (title blocks, fine notes) may be misread -- zoom in for detail drawings
- Complex overlapping hatching or linework may confuse room detection
- Proprietary symbols or non-standard abbreviations may not be recognized
- Always treat extracted data as an estimate; verify critical measurements manually
- For multi-sheet sets, parse each sheet separately and merge the structured data
- The parser works best with US-standard architectural drawings; metric-only drawings may need prompt adjustments
当前收录版本
1.0.0
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 面向建筑、设计、工程等专业领域,具有明确的高价值应用场景
- 功能描述清晰,提取建筑类型、使用性质、建筑面积、房间布局、尺寸和规范参数
- 适用场景明确:读取PDF平面图、分析建筑图纸、从图像或扫描文档中提取建筑数据
亮点
- description 内容完整,位于顶层 frontmatter
- 触发词覆盖多种变体:architectural drawings, floor plans, building code compliance, PDF floor plans, images, scanned documents
- 边界清晰,不易与其他 Skill 重叠
亮点
- Phase/步骤清晰:Parsing Approach 部分有明确的5步流程
- 有出口条件:返回 BuildingData JSON 对象
- 包含端到端示例:两个完整示例(Example 1 和 Example 2)
- frontmatter 完整:包含 name, description, license, compatibility, metadata
亮点
- 工具来源明确:使用 Claude's vision API
- 参数正确:包含具体的转换系数(1 sqft = 0.0929 sqm, 1 foot = 0.3048 m)
- 覆盖主要异常:Best Practices 和 Guidelines 部分详细说明了各种异常情况和处理建议
- 不可逆操作有确认机制:强调 Always verify extracted data against the source
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。