DavidCho1999/archaiflow-skills / bundles/code-life-safety/skills/code-compliance-review
code-compliance-review
VerifiedAudits a floor plan, schematic set, or program layout across eight egress and accessibility axes: use and occupant load, egress capacity and exit count, common path of travel, travel distance, exit access and door width, exit separation, accessibility, and fire-resistance assemblies. Trigger on "code review", "egress check", "life safety review", "plan check", "check egress", "accessibility check", "exit count", "travel distance", or a pasted plan with a code question. Works in any jurisdiction. The user names the governing code and edition and supplies each limit by typing it, pasting the clause, or naming a file to read. The skill never supplies a limit from memory or from web search. Writes a dated review file and appends to a project index, with every unverified axis counted on the face of the review. Does not replace the Architect of Record or the AHJ.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 9.5 KB |
| assets/code-review-template.md | markdown | 3.8 KB |
| references/_provenance.md | markdown | 5.9 KB |
| references/code_editions_by_jurisdiction.md | markdown | 4.9 KB |
| references/egress_axes.md | markdown | 14.6 KB |
| references/ibc_egress_quick_ref.md | markdown | 8.2 KB |
| scripts/append_to_index.py | script | 2.4 KB |
| scripts/init_code_review_workspace.py | script | 1.0 KB |
assets/code-review-template.md
View on GitHub---
project: "{{PROJECT_NAME}}"
date: "{{YYYY-MM-DD}}"
reviewer: "{{REVIEWER_NAME_OR_INITIALS}}"
code_edition: "{{e.g., IBC 2021 + NYS 2020 supplements (NYS BC 2020)}}"
occupancy_classification: "{{e.g., B + A-3 separated per §508.4}}"
construction_type: "{{IBC Table 601 — e.g., II-B}}"
sprinklered: "{{Yes, NFPA 13 throughout | Yes, NFPA 13R | No | Partial — describe}}"
ahj: "{{e.g., NYC DOB; FDNY for life-safety; NYC SCA if public school}}"
risk_category: "{{IBC Table 1604.5 — I / II / III / IV}}"
scope: "{{e.g., Level 3 east wing, schematic plan dated 2026-04-28}}"
---
# Code Review (IBC Egress, Accessibility & Life-Safety) — {{PROJECT_NAME}}
## Summary
{{ONE_PARAGRAPH_SUMMARY — what was reviewed, the 2-3 most pressing non-compliances, and the recommended next move.}}
---
## Occupant load — calculation summary
| Space / area | Use / factor | Net or Gross | Area (sf) | Calc | Occupants |
|---|---|---|---|---|---|
| {{SPACE_1}} | {{USE / FACTOR_1}} | {{N or G}} | {{AREA_1}} | {{CALC_1}} | {{OCC_1}} |
| {{SPACE_2}} | {{USE / FACTOR_2}} | {{N or G}} | {{AREA_2}} | {{CALC_2}} | {{OCC_2}} |
| **Total per story** | | | | | **{{TOTAL_OCC}}** |
Cite the table footnote for each non-obvious factor (e.g., conference rooms scored as Assembly Unconcentrated 15 net per IBC 2021 Table 1004.5 footnote a).
---
## Findings by axis
Note only the axes with real signal. For axes that are clearly compliant, state so in one line with the section pin.
### 1. Occupancy classification & occupant load
{{FINDING_OCCUPANCY_LOAD}}
### 2. Egress capacity, travel distance & common path
{{FINDING_CAPACITY_TRAVEL_COMMONPATH}}
### 3. Exits required, remoteness & arrangement
{{FINDING_EXITS_REMOTENESS}}
### 4. Accessible means of egress
{{FINDING_ACCESSIBLE_MOE}}
### 5. Fire/smoke barriers & opening protectives
{{FINDING_FIRE_SMOKE_BARRIERS}}
### 6. Fire-resistance ratings & construction type
{{FINDING_FIRE_RESISTANCE_CONSTRUCTION}}
### 7. Accessibility (ADA + ICC A117.1 + IBC Ch. 11 + state amendments)
{{FINDING_ACCESSIBILITY}}
### 8. AHJ-specific overlays
{{FINDING_AHJ_OVERLAYS}}
---
## Findings table
Each finding tagged: **code minimum** / **above code** / **below code**. Mitigation column states the design move that resolves the finding (or AHJ avenue: code-modification, AMM, alternate compliance).
| # | Axis | Item | IBC §ref (with edition) | Status | Mitigation |
|---|------|------|-------------------------|--------|------------|
| 1 | {{AXIS_1}} | {{ITEM_1}} | {{e.g., IBC 2021 §1006.2.1, Table 1006.2.1}} | {{STATUS_1}} | {{MITIGATION_1}} |
| 2 | {{AXIS_2}} | {{ITEM_2}} | {{REF_2}} | {{STATUS_2}} | {{MITIGATION_2}} |
| 3 | {{AXIS_3}} | {{ITEM_3}} | {{REF_3}} | {{STATUS_3}} | {{MITIGATION_3}} |
---
## Hard non-compliances (resolve before next CD set)
- [ ] {{NON_COMPLIANCE_1}}
- [ ] {{NON_COMPLIANCE_2}}
---
## Borderline items (flag for AHJ pre-submittal meeting, code-modification request, or AMM)
- {{BORDERLINE_1}}
- {{BORDERLINE_2}}
---
## Action items
1. {{ACTION_1 — e.g., "Architect: revise Stair 2 enclosure rating from 1-hr to 2-hr per IBC 2021 §713.4 (shaft >4 stories)."}}
2. {{ACTION_2 — e.g., "MEP: confirm sprinkler scope is NFPA 13 (not 13R) for egress capacity factor reduction."}}
3. {{ACTION_3 — e.g., "Owner: confirm Type B unit count target before next CD set."}}
---
## Recommended next skills / actions
- {{NEXT_1 — e.g., "Pull the full accessible-MOE language from IBC 2021 §1009 in the adopted PDF."}}
- {{NEXT_2 — e.g., "Coordinate fire-rating assemblies with `spec-review` against Section 07 84 00 firestopping."}}
---
## References cited
- {{REF_1 — e.g., "IBC 2021 Table 1004.5"}}
- {{REF_2 — e.g., "IBC 2021 §1006.2.1, Table 1006.2.1"}}
- {{REF_3 — e.g., "ICC A117.1-2017 §404.2.4"}}
- {{REF_4 — e.g., "ADA 2010 §206.4"}}
- {{REF_5 — e.g., "NYC BC 2022 §[amended section]"}}
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |