加州门窗规范速查器 · CA Code ProCA Window & Door Code Pro
加州门窗要满足的规范散落在几十份 PDF 和网站里——逃生、安全玻璃、防坠落、耐火、无障碍(ADA)、Title 24 节能,各成一套。Kawser(不是程序员)用 Claude 把这些整理成一个可搜索的对照器:输入场景或关键词,立刻列出适用条款、要求和出处。整个工具是一个 HTML 文件,双击就能打开,不联网、不安装、数据不出本机。 The codes a California window or door must satisfy are scattered across dozens of PDFs and websites — egress, safety glazing, fall protection, fire-rating, ADA accessibility, Title 24 energy, each its own body of rules. Kawser (not a programmer) used Claude to fold them into one searchable reference: type a scenario or keyword and it instantly lists the applicable clauses, requirements, and citations. The whole tool is a single HTML file — double-click to open, no internet, no install, and no data leaves the machine.
1. 背景:规范太多、太散、太容易漏Background: Too Many Codes, Too Scattered, Too Easy to Miss
门窗合规不是查一本书就行,而是要同时对上好几套体系。任何一项漏掉,都可能在审图或验收阶段被打回。 Window and door compliance isn't a single rulebook — it means satisfying several bodies of code at once. Miss any one item and it can come back at plan review or inspection.
法规分散在几十个来源Rules spread across dozens of sources
CBC、CEC、ASTM、NFPA、AAMA、Title 24……每套规范一个文档。核对一扇窗要在多个 PDF 和网站之间来回翻。CBC, CEC, ASTM, NFPA, AAMA, Title 24 — a document per code body. Checking one window means bouncing between multiple PDFs and websites.
漏一项就可能返工Miss one item and it may mean rework
逃生净开口、窗台高度、危险位置玻璃、耐火等级、ADA 净宽——项目多、条件多,靠记忆和经验很难次次不漏。Egress clear opening, sill height, hazardous-location glazing, fire ratings, ADA clear width — many items, many conditions, and memory alone rarely catches them all every time.
还要区分气候区Climate zones add another axis
加州按气候区对节能(Title 24)等有不同要求,同一产品在不同地区结论可能不同,人工判断容易出错。California varies energy (Title 24) and other requirements by climate zone, so the same product can land differently by location — easy to get wrong by hand.
2. 怎么用 AI 的How AI Was Used
Kawser 没有写一行代码。他把要覆盖的规范条目和适用场景讲清楚,让 Claude 生成一个完整的、浏览器里可用的单文件应用,再用真实场景反复核对、修正。 Kawser didn't write a single line of code. He laid out the code items to cover and when each applies, had Claude generate a complete single-file app that runs in the browser, then checked and refined it against real scenarios.
整理要覆盖的规范范围Map out the codes to cover
列出门窗相关的规范条目——逃生 §1030、安全玻璃 §2406、耐火 §716 / NFPA 80、ADA §11B、Title 24 节能等——以及每一项什么情况下适用。List the window/door code items — egress §1030, safety glazing §2406, fire §716 / NFPA 80, ADA §11B, Title 24 energy — and the conditions under which each applies.
让 Claude 生成单文件速查器Have Claude generate a single-file reference
Claude 把搜索框、过滤、分类和所有条款数据全部写进一个 HTML 文件——无需服务器或联网即可搜索、展开、交叉引用。Claude wrote the search box, filters, categories, and all the clause data into one HTML file — searchable, expandable, and cross-referenced with no server or internet.
用真实场景核对,逐轮修正Verify against real scenarios, refine each round
Kawser 拿真实项目场景验证:哪条描述不够准、哪个数值/单位要补、哪个交叉引用缺失,就反馈给 Claude 调整。这样迭代到 v4。Kawser validated with real project scenarios: where a description wasn't precise enough, where a value/unit was missing, where a cross-reference was absent — he fed each back to Claude. That iteration reached v4.
直接分发:发个文件就能用Distribute by just sending a file
单个 HTML 文件,分享等于发一个文件——同事收到双击即用,不用装环境、不用联网。数据全程留在本机。A single HTML file, so sharing means sending one file — a colleague double-clicks and it just works, with no environment to install and no internet. Data stays on-device throughout.
3. 工具长什么样What the Tool Looks Like
一个可搜索的加州建筑规范(CBC 2025)速查器,面向承包商、设计师和验收人员。输入关键词或场景,立刻列出适用条款、要求和引用出处,并支持现场验收清单。 A searchable California building-code (CBC 2025) reference for contractors, architects, and inspectors. Type a keyword or scenario and it lists the applicable clauses, requirements, and citations — with a field inspection checklist.
- 逃生 & 防坠落:净开口尺寸、窗台高度(§1030)Egress & fall protection: clear opening, sill height (§1030)
- 安全玻璃:危险位置判定(§2406)Safety glazing: hazardous locations (§2406)
- 耐火组件:门窗耐火等级(§716 / NFPA 80)Fire-rated assemblies: door/window ratings (§716 / NFPA 80)
- 无障碍 ADA:净宽、五金高度(§11B)ADA accessibility: clear width, hardware height (§11B)
- Title 24 节能 & 气候区差异Title 24 energy & climate-zone variations
- 现场验收清单 + 条款交叉引用Field inspection checklist + code cross-reference
4. 前后对比Before vs. After
使用 AI 之前Before AI
- 核对一扇门窗要翻多个 PDF 和网站One opening meant hunting through many PDFs and sites
- 条款分散,容易漏项Clauses scattered — easy to miss items
- 气候区差异靠记忆判断Climate-zone differences judged from memory
- 规范经验散在个人脑子里Code know-how lived in one person's head
使用 AI 之后After AI
- 一处可搜,条款、要求、出处一次看到Searchable in one place — clause, requirement, source together
- 按类别过滤 + 验收清单,减少漏项Filter by category + checklist — fewer missed items
- 规范逻辑固化进文件,人人可用可复核Code logic captured in a file anyone can use and review
- 发一个文件就能分享给同事Shared by sending a single file
5. 最值得学的一点The Takeaway Worth Copying
真正的价值不是这一个工具,而是这套人人可复用的模式:把一件重复、易错的工作讲清楚,给出真实内容,就能让 Claude 帮你做出一个自己的单文件工具。涉及规范/合规时,务必标注"仅供参考",并保留专业人员复核。 The real value isn't this one tool — it's the repeatable pattern anyone can copy: describe a repetitive, error-prone task clearly, give it real content, and Claude builds you a single-file tool. For code/compliance, always label it "reference only" and keep a professional in the loop.
同一位同事的另一个工具:型材切割拆分器 →Another tool by the same colleague: Profile Splitter →
用同样的"单文件 + 纯本地"思路,自动拆分超长型材、重算加工坐标。Same single-file, local-only approach — auto-splits over-length profiles and recomputes machining coordinates.
6. 分享人Contributor
VWD AI Guide v3.9 | VWD | 2026 | Created by IT depart. | 有问题发邮件到Questions? Email it@valuewds.com