VWD AI Guide v3.9
制造工程 / 现场Mfg. Engineering / Field 自建应用Built an App 合规速查Compliance Lookup 单文件 · 离线Single-File · Offline

加州门窗规范速查器 · 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.

6+
规范体系整合Code bodies unified
1
HTML 文件HTML file
0
服务器 / 安装Servers / installs
100%
本地离线运行Runs offline, on-device

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.

1

整理要覆盖的规范范围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.

2

让 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.

帮我做一个单文件 HTML 规范速查器(纯前端,不联网、无外部依赖),承包商/验收人员双击就能用。 覆盖:加州门窗相关规范——逃生、安全玻璃、防坠落、耐火、ADA、Title 24…… 每条包含:条款号、要求(含数值/单位)、适用场景、出处引用。 交互:关键词搜索 + 按类别过滤 + 现场验收清单。 要求:所有条款数据和逻辑都写进同一个 .html 文件; 在页面顶部注明"仅供参考,不替代规范原文与 AHJ 判断"。Build me a single-file HTML code reference (pure front-end — no internet, no external dependencies) that a contractor/inspector can use by double-clicking. Cover: California window/door codes — egress, safety glazing, fall protection, fire, ADA, Title 24… Each entry has: clause number, requirement (with values/units), when it applies, and a source citation. Interactions: keyword search + filter by category + a field inspection checklist. Requirements: put all clause data and logic in one .html file; add a header note that it is "reference only, not a substitute for the code text and the AHJ."
3

用真实场景核对,逐轮修正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.

4

直接分发:发个文件就能用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
CBC 2025 EDITION
CA Window & Door Code Pro
Effective Jan 1, 2026 Contractors · Inspectors
§ 1030.2 · EGRESS OPENING
Min. net clear opening 5.7 sq ft (0.53 m²)
Grade-floor openings: 5.0 sq ft permitted
§ 1030.3 · SILL HEIGHT
Max sill height 44 in (1118 mm) above floor
Fall protection required if < 24 in above floor
§ 2406.4 · SAFETY GLAZING
Hazardous location → tempered / laminated
Check glazing adjacent to doors & wet areas
⚠️ 定位很重要:这是一个查询辅助工具,帮你更快找到相关条款、减少漏项,不替代持证专业人员的判断和现场审图。正式合规仍以官方规范原文和 AHJ(地方主管部门)为准。 ⚠️ Positioning matters: this is a lookup aid that helps you find relevant clauses faster and miss fewer items — it does not replace a licensed professional's judgment or plan review. Official compliance always defers to the code text itself and the AHJ (authority having jurisdiction).
📥 想用这个工具?它是一个单独的 HTML 文件,双击即可在浏览器里打开,无需安装、无需联网。出于数据安全,工具文件未随本站公开分发——向 Kawser 或 IT 索取最新版本即可。想自己做类似的工具?看 《自己动手做工具》 指南。 📥 Want to use this tool? It's a single HTML file — double-click to open it in a browser, no install and no internet. For data-safety reasons the file isn't distributed publicly through this site; request the latest version from Kawser or IT. Want to build one yourself? See the Build Your Own Tool guide.

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

K

Kawser Hossain

制造工程师 / 项目经理 · kawserh@valuewds.com

Manufacturing Engineer / Project Manager · kawserh@valuewds.com

我不会编程。以前查规范要在一堆 PDF 和网站之间翻来翻去,还总担心漏项。用 Claude 之后,我把要覆盖的条款和场景讲清楚,它就帮我做出了整个速查器——一个文件,双击就能用,同事拿去也能直接用。写代码那部分它替我做了,我负责我最懂的部分:这些规范到底该怎么对。它只是让我更快、更少漏,最终判断还是靠专业人员和 AHJ。 I don't code. Checking codes used to mean flipping between a pile of PDFs and websites, always worried I'd miss something. With Claude, I described the clauses and scenarios to cover and it built the whole reference for me — one file, double-click to use, and colleagues can use it directly. It handled the code; I handled the part I know best: how these rules actually apply. It just makes me faster and miss less — the final call still rests with the professional and the AHJ. — Kawser Hossain, 制造工程师 / 项目经理Manufacturing Engineer / Project Manager

VWD AI Guide v3.9 | VWD | 2026 | Created by IT depart. | 有问题发邮件到Questions? Email it@valuewds.com