Architecture Map
Start with the shape before touching code.
Top-Level Tree
./README.md ./eslint.config.js ./index.html ./package-lock.json ./package.json ./public/favicon.svg ./public/icons.svg ./src/App.css ./src/App.jsx ./src/assets/hero.png ./src/assets/react.svg ./src/assets/vite.svg ./src/index.css ./src/main.jsx ./vite.config.js
Agent Reading Order
These files are the first tour stops.
src/index.css
Core execution surface likely to coordinate the main behavior.
23 linessrc/main.jsx
Core execution surface likely to coordinate the main behavior.
11 linesREADME.md
Human-facing overview. Read this before touching code.
17 linespackage.json
Node scripts, package metadata, and workflow clues.
30 linessrc/App.css
Implementation surface likely to contain core behavior.
2 linessrc/App.jsx
Implementation surface likely to contain core behavior.
395 linesRunnable Commands
npm run devvitenpm run buildvite buildnpm run linteslint .npm run previewvite previewGuardrails
Where an agent should slow down.
Risk Areas
No obvious high-risk paths found by deterministic scan.
Safe First Tasks
- Read README and agent instruction files before editing.
- Run the cheapest available verification command before and after changes.
- Start with docs, examples, or tests before touching core implementation.
- Run `npm run build` after structural or UI changes.
Exact Code, Plain English
Use real snippets as the trust anchor.
@import "tailwindcss";
@theme {
--color-primary: #c1272d;
--color-primary-dark: #9e1f24;
--color-secondary: #1a1a2e;
--color-accent: #e94560;
--color-dark: #0f0f23;
--color-light: #f8f9fa;
--color-success: #10b981;
--color-warning: #f59e0b;
--color-danger: #ef4444;
This snippet is a likely implementation anchor. Read it with nearby imports and callers before changing it.
import { StrictMode } from 'react'
import { createRoot } from 'react-dom/client'
import './index.css'
import App from './App.jsx'
createRoot(document.getElementById('root')).render(
<StrictMode>
<App />
</StrictMode>,
)
This snippet is a likely implementation anchor. Read it with nearby imports and callers before changing it.
"scripts": {
"dev": "vite",
"build": "vite build",
"lint": "eslint .",
"preview": "vite preview"
},
"dependencies": {
"react": "^19.2.4",
"react-dom": "^19.2.4"
},
"devDependencies": {
"@eslint/js": "^9.39.4",
This is the repo control panel: scripts here tell an agent how to run, test, build, or ship the project.
/* App styles handled by Tailwind */
This snippet is a likely implementation anchor. Read it with nearby imports and callers before changing it.
const facilities = [
{ name: 'Weight Room', icon: '🏋️', capacity: 50, current: 32, status: 'moderate' },
{ name: 'Cardio Zone', icon: '🏃', capacity: 30, current: 8, status: 'low' },
{ name: 'Basketball Court', icon: '🏀', capacity: 20, current: 18, status: 'high' },
{ name: 'Swimming Pool', icon: '🏊', capacity: 25, current: 12, status: 'moderate' },
{ name: 'Group Fitness', icon: '🧘', capacity: 20, current: 20, status: 'full' },
{ name: 'Rock Wall', icon: '🧗', capacity: 10, current: 3, status: 'low' },
]
const hours = ['6AM', '7AM', '8AM', '9AM', '10AM', '11AM', '12PM', '1PM', '2PM', '3PM', '4PM', '5PM', '6PM', '7PM', '8PM', '9PM', '10PM']
const heatData = [15, 22, 35, 42, 38, 30, 45, 48, 40, 35, 42, 50, 48, 44, 38, 28, 15]
This snippet is a likely implementation anchor. Read it with nearby imports and callers before changing it.