Skip to content

DavidCho1999/archaiflow-skills / bundles/code-life-safety/skills/code-compliance-review

code-compliance-review

Verified

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

scripts/init_code_review_workspace.py

View on GitHub
#!/usr/bin/env python3
"""Bootstrap docs/code-reviews/ folder with a code-review index.

Idempotent: re-running on an existing workspace prints a notice and exits
without touching the existing index. Mirrors the brief-review and
spec-review init scripts.
"""
import argparse
from pathlib import Path

DEFAULT_INDEX = """# Code Reviews (IBC Egress, Accessibility & Life-Safety)

| Project | Date | Reviewer | Edition | Occupancy | Construction Type | Status | Path |
|---------|------|----------|---------|-----------|-------------------|--------|------|
"""


def main():
    parser = argparse.ArgumentParser(description=__doc__)
    parser.add_argument("--reviews-dir", default="docs/code-reviews")
    args = parser.parse_args()

    rdir = Path(args.reviews_dir)
    rdir.mkdir(parents=True, exist_ok=True)

    index = rdir / "index.md"
    if index.exists():
        print(f"Index already exists: {index}")
        return

    index.write_text(DEFAULT_INDEX)
    print(f"Created: {index}")


if __name__ == "__main__":
    main()
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: 471kUpdated Claude CodeCodexVerifiedInstall
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: 471kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 194kUpdated Claude CodeCodexVerifiedInstall