mirror of
https://github.com/System-End/scraps.git
synced 2026-04-19 22:05:09 +00:00
805 B
805 B
AGENTS.md
Commands
bun dev- Start development serverbun run build- Build for productionbun run check- TypeScript/Svelte type checkingbun run lint- Run Prettier + ESLintbun run format- Auto-format with Prettier
Architecture
- Framework: SvelteKit 2 with Svelte 5, TypeScript, Tailwind CSS v4
- Structure:
src/routes/for pages,src/lib/for shared code (import via$lib/) - Styling: Tailwind CSS with
@tailwindcss/typography, styles insrc/routes/layout.css
Code Style
- Use tabs for indentation, single quotes, no trailing commas
- 100 char line width
- TypeScript strict mode; avoid
anyand@ts-ignore - Svelte 5 runes syntax (
$state,$derived,$effect) - Import shared code from
$lib/; place reusable components insrc/lib/