docs: Add README.md, update AGENTS.md, audit report, and massive refactoring

Documentation:
- Add comprehensive README.md with project overview
- Update AGENTS.md with new file structure and slice pattern
- Add AUDIT_REPORT.md documenting unimplemented effects

Refactoring (page.tsx: 1695 → 434 lines, 74% reduction):
- Extract SkillsTab.tsx component
- Extract StatsTab.tsx component
- Extract UpgradeDialog.tsx component
- Move getDamageBreakdown and getTotalDPS to computed-stats.ts
- Move ELEMENT_ICON_NAMES to constants.ts

All lint checks pass, functionality preserved.
This commit is contained in:
2026-03-26 13:01:29 +00:00
parent 2ca5d8b7f8
commit 315490cedb
13 changed files with 2340 additions and 1536 deletions

View File

@@ -72,6 +72,8 @@ import {
getIncursionStrength,
canAffordSpellCost,
deductSpellCost,
getTotalDPS,
getDamageBreakdown,
} from './computed-stats';
// Re-export formatting functions and computed stats for backward compatibility
@@ -87,6 +89,9 @@ export {
getIncursionStrength,
canAffordSpellCost,
getFloorMaxHP,
getActiveEquipmentSpells,
getTotalDPS,
getDamageBreakdown,
};
// ─── Local Helper Functions ────────────────────────────────────────────────────