@@ -32,30 +32,39 @@ This document provides context, conventions, and guidelines for AI agents workin
3232## Development Workflow
3333
3434### Installation
35+
3536``` bash
3637yarn install
3738```
3839
3940### Running Locally
41+
4042To start the development server:
43+
4144``` bash
4245yarn dev
4346```
47+
4448Access at ` http://localhost:3000 ` .
4549
4650### Building
51+
4752To build for production:
53+
4854``` bash
4955yarn build
5056```
5157
5258### Testing & Validation
59+
5360Run all tests and checks (lint, validate, unit tests):
61+
5462``` bash
5563yarn test
5664```
5765
5866Specific checks:
67+
5968- ** Type Check** : ` yarn validate ` (Runs ` svelte-check ` and ` tsc ` )
6069- ** Unit Tests** : ` yarn vitest src ` (or via ` yarn test ` )
6170- ** Linting** : ` yarn lint ` / ` yarn lint:fix `
@@ -72,10 +81,10 @@ Specific checks:
7281## Common Tasks for Agents
7382
7483- ** Adding a new feature** :
75- 1 . Understand the data source (` src/data.ts ` ).
76- 2 . Create/Update Svelte components.
77- 3 . Add types in ` src/types.ts ` if needed.
78- 4 . Verify with ` yarn validate ` and ` yarn test ` .
84+ 1 . Understand the data source (` src/data.ts ` ).
85+ 2 . Create/Update Svelte components.
86+ 3 . Add types in ` src/types.ts ` if needed.
87+ 4 . Verify with ` yarn validate ` and ` yarn test ` .
7988- ** Refactoring** :
80- - Ensure no regressions by running tests.
81- - Maintain Svelte reactivity best practices (avoid side effects in ` render ` , etc.).
89+ - Ensure no regressions by running tests.
90+ - Maintain Svelte reactivity best practices (avoid side effects in ` render ` , etc.).
0 commit comments