Skip to content

dleerdefi/claude-code-construction / skills/tag-audit-and-takeoff

tag-audit-and-takeoff

Verified

Count-based quantity takeoff and tag completeness auditing for construction drawings. Vision + OCR reconciliation, sheet markup, Excel QTO output. Triggers: 'tag audit', 'quantity takeoff', 'QTO', 'count fixtures'.

scripts/shared.py

View on GitHub
"""Shared utilities for skill output scripts."""

from pathlib import Path


def safe_output_path(output: str) -> Path:
    """Return a non-colliding output path.

    If the target file already exists, appends _v2, _v3, etc. to the stem.
    Skills must never overwrite existing files — this ensures prior work is preserved.
    """
    out = Path(output)
    if out.exists():
        stem, suffix = out.stem, out.suffix
        v = 2
        while out.exists():
            out = out.parent / f"{stem}_v{v}{suffix}"
            v += 1
    return out
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