Coding
PromptBeginner5 minmarkdown
Nano Banana Pro
Agent skill for nano-banana-pro
6
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Sign in to like and favorite skills
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
npm run dev - Start development servernpm run build - Build for production (includes Workbox service worker generation)npm run preview - Preview production buildnpm run lint - Run Biome linter and format codenpm run format - Format code with Biomenpm run test - Run tests with Vitestnpm run test:watch - Run tests in watch modenpm run check-stations - Check for stations without destinations using the scriptrata.digitraffic.fi)API Layer (
)src/utils/api.ts
Component Architecture
StationManager - Main orchestrator component handling state, localStorage, and URL synchronizationStationList - Reusable dropdown component with search and keyboard navigationTrainList - Real-time train display with automatic refreshTrainCard - Individual train information with delay indicatorsRouting & State Management
src/i18n/ with Finnish (fi) and English (en) supportsrc/utils/translations.tssrc/__tests__/setup.tsastro.config.mjs.tsx extension