Skip to content

Commit e271d5c

Browse files
committed
docs: apply formatting improvements and clarify instructions in AGENTS.md for better readability
style(App.svelte): fix reactive statement syntax for clarity and consistency
1 parent 609f9d6 commit e271d5c

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

AGENTS.md

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,30 +32,39 @@ This document provides context, conventions, and guidelines for AI agents workin
3232
## Development Workflow
3333

3434
### Installation
35+
3536
```bash
3637
yarn install
3738
```
3839

3940
### Running Locally
41+
4042
To start the development server:
43+
4144
```bash
4245
yarn dev
4346
```
47+
4448
Access at `http://localhost:3000`.
4549

4650
### Building
51+
4752
To build for production:
53+
4854
```bash
4955
yarn build
5056
```
5157

5258
### Testing & Validation
59+
5360
Run all tests and checks (lint, validate, unit tests):
61+
5462
```bash
5563
yarn test
5664
```
5765

5866
Specific 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

Comments
 (0)