You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All commands should be run from `<REPO_ROOT>/invokeai/frontend/web/`.
4
+
5
+
-`pnpm lint:prettier`: check formatting
6
+
-`pnpm lint:eslint`: check for linting issues
7
+
-`pnpm lint:knip`: check for unused dependencies
8
+
-`pnpm lint:dpdm`: check for dependency cycles
9
+
-`pnpm lint:tsc`: check for TypeScript issues
10
+
-`pnpm lint`: run all checks
11
+
-`pnpm fix`: automatically fix issues where possible
12
+
-`pnpm test:no-watch`: run the test suite
13
+
14
+
# Writing Tests
15
+
16
+
This repo uses `vitest` for unit tests.
17
+
18
+
Tests should be colocated with the code they test, and should use the `.test.ts` suffix.
19
+
20
+
Tests do not need to be written for code that is trivial or has no logic (e.g. simple type definitions, re-exports, etc.). We currently do not do UI tests.
21
+
22
+
# Agents
23
+
24
+
- Use @agent-javascript-pro and @agent-typescript-pro for JavaScript and TypeScript code generation and assistance.
25
+
- Use @frontend-developer for general frontend development tasks.
26
+
27
+
## Workflow
28
+
29
+
Split up tasks into smaller subtasks and handle them one at a time using an agent. Ensure each subtask is completed before moving on to the next.
30
+
31
+
Each agent should maintain a work log in a markdown file.
32
+
33
+
When an agent completes a task, it should:
34
+
35
+
1. Summarize the changes made.
36
+
2. List any files that were added, modified, or deleted.
37
+
3. Commit the changes with a descriptive commit message.
0 commit comments