| name | audit-calculator |
| description | Run the 5-dimension gold standard audit on any MechCodex calculator. Checks theory depth, diagram quality, design tools, sidebar sections, chart panels. Outputs pass/fail per dimension with specific fixes. |
| metadata | {"priority":9,"promptSignals":{"phrases":["audit calculator","audit this","gold standard audit","5-dim audit","check calculator quality","quality check"],"minScore":5}} |
Calculator Audit — Complete Skill
The 5-Dimension Audit (must all pass before marking complete)
Dimension 1: Theory Depth (target ≥ 11 sections)
Count sections in TheoryTab.tsx. For each, check:
Required sections for any structural calc:
- Introduction / What This Calculator Does
- Governing Equation (primary formula)
- Cross-Section Properties (I, S, Z, J, Q)
- Material Properties (E, Sy, Sut, Se)
- Failure Modes Overview
- Stress Concentrations (Kt, Kf)
- Combined Loading (if applicable)
- Factor of Safety
- Deflection / Deformation
- Design Code References (AISC, ASME, etc.)
- Worked Example (fully numerical)
12+ Additional: boundary conditions, assumptions, special cases
Dimension 2: Diagrams (target ≥ 2 in Results + ≥ 2 in Theory)
For each SVG diagram, check:
Dimension 3: Design Tools (exactly 6 panels)
Count panels in DesignTab.tsx:
Dimension 4: Sidebar (target ≥ 4 sections)
Check Sidebar.tsx:
Dimension 5: Chart Panels (exactly 4 in 2×2 grid)
Check ChartTab.tsx:
Cross-Sibling Consistency Audit
After auditing target calculator, also check these in the same session:
Audit Output Format
AUDIT REPORT: <calculator-name>
Date: YYYY-MM-DD
DIMENSION 1 — Theory: X/11 sections
PASS: sections 1-6, 8-10
FAIL: missing sections 7 (combined loading), 11 (worked example)
Fix: add TheorySection components for these two
DIMENSION 2 — Diagrams: X/2
PASS: cross-section diagram
FAIL: beam loading diagram missing
Fix: create BeamLoadingDiagramV3.tsx
DIMENSION 3 — Design Tools: X/6
PASS: tools 1, 2, 3, 5
FAIL: tools 4 (max span), 6 (target utilization) not implemented
Fix: add solve functions to engine, wire DesignTab panels
DIMENSION 4 — Sidebar: X/4 sections
PASS: all 4 sections present
WARN: unit dropdown missing on moment input
DIMENSION 5 — Charts: X/4
PASS: 3 charts implemented
FAIL: utilization chart missing
Fix: add 4th chart panel
OVERALL: FAIL — X/5 dimensions passing
NEXT STEPS (priority order): [list of specific fixes]