Implement a feature or phase from the Kardashev Network IMPLEMENTATION_CHECKLIST.md
Implement: $ARGUMENTS
Always read the implementation checklist first:
/Users/tyrelle/Desktop/KardashevNetwork/IMPLEMENTATION_CHECKLIST.md| Phase | Name | Days | Focus |
|---|---|---|---|
| 1 | API Layer + x402 Foundation | 1-3 | API routes, x402 setup |
| 2 | Location Flow | 4-5 | Geolocation, search, context |
| 3 | Core Dashboard | 6-8 | Components, SWR hooks, payment UI |
| 4 | Charts & Additional Data | 9-11 | Recharts, carbon data, building area |
| 5 |
| 3D Visualization & Animation |
| 12-16 |
| Three.js, R3F, particles, interactions |
| 6 | Final Polish & Launch | 17-20 | Loading states, errors, mobile, deploy |
/api/solar/irradiance.ts — proxy to Open-Meteo/lib/api/openMeteo.ts — API client with response transform/types/solar.ts — TypeScript interfacesx402, @x402/next)/lib/x402/config.ts — pricing per endpoint/lib/x402/middleware.ts — Next.js API middlewareLocationContext.tsx — global location stateuseLocation.ts hook — browser geolocationLocationSearch.tsx — address input with geocoding/api/geocode/search.ts — Nominatim proxy_app.tsx — wrap with LocationProviderdashboard.tsx pageuseSolarData.ts hook with SWRSolarMeter.tsx — radial gaugeWastedValue.tsx — animated dollar counter/lib/calculations/solarValue.tsuseX402.ts hookPaymentGate.tsxIrradianceChart.tsx — Recharts area chart/api/grid/carbon.ts — Electricity Maps proxyGridCarbonBadge.tsx/api/buildings/area.ts — Overpass proxyuseBuildingArea.ts hookthree, @react-three/fiber, @react-three/drei)SunScene.tsx — R3F CanvasSun.tsx — 3D sun with glow shaderEnergyParticles.tsxCloudLayer.tsxGround.tsxsrc/
├── pages/
│ ├── index.tsx # Landing
│ ├── dashboard.tsx # Main dashboard
│ └── api/
│ ├── solar/irradiance.ts
│ ├── grid/carbon.ts
│ ├── buildings/area.ts
│ └── geocode/search.ts
├── components/
│ ├── LocationSearch.tsx
│ ├── SolarMeter.tsx
│ ├── WastedValue.tsx
│ ├── IrradianceChart.tsx
│ ├── GridCarbonBadge.tsx
│ ├── PaymentGate.tsx
│ └── three/
│ ├── SunScene.tsx
│ ├── Sun.tsx
│ ├── EnergyParticles.tsx
│ └── ...
├── hooks/
│ ├── useLocation.ts
│ ├── useSolarData.ts
│ ├── useBuildingArea.ts
│ └── useX402.ts
├── lib/
│ ├── api/
│ │ ├── openMeteo.ts
│ │ ├── electricityMaps.ts
│ │ └── overpass.ts
│ ├── x402/
│ │ ├── config.ts
│ │ └── middleware.ts
│ └── calculations/
│ └── solarValue.ts
├── context/
│ └── LocationContext.tsx
└── types/
├── solar.ts
└── x402.ts
/check skill/check to verify no errors