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
Copy file name to clipboardExpand all lines: AGENTS.md
+18Lines changed: 18 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,24 @@ npm run test:coverage # Jest with coverage
27
27
npx jest <file> --no-coverage # Run a single test file (e.g., src/__tests__/xxx.test.ts)
28
28
```
29
29
30
+
## Required Validation
31
+
32
+
Before considering a task complete, run every validation command that applies to the files
33
+
changed in the task:
34
+
35
+
- After modifying TypeScript or JavaScript files (`.ts`, `.tsx`, `.js`, or `.jsx`), run
36
+
`npm run lint:fix` and then `npm run type-check`. Run the type check after lint fixes so it
37
+
validates the final code.
38
+
- After modifying Expo config plugin implementation files under `plugins/`, or their TypeScript
39
+
build configuration, run `npm run plugin:build` after linting.
40
+
- After modifying application/runtime behavior or tests, run `npm run test`. This includes changes
41
+
to screens, hooks, services, stores, tasks, utilities, native-module JavaScript/TypeScript APIs,
42
+
and test files. Documentation-only, comment-only, and formatting-only changes do not require the
43
+
test suite.
44
+
- After modifying Markdown or JSON files, run `npm run format-docs`.
45
+
- If multiple rules apply, run all applicable commands. After any auto-fix, build, or formatting
46
+
command, inspect the diff and do not include unrelated generated or formatting changes.
47
+
30
48
## Architecture Overview
31
49
32
50
This is a React Native clipboard synchronization app built with **Expo SDK 55**, using React Native 0.83 and React 19. It syncs clipboard content (text, images, files) between devices via SyncClipboard Server, WebDAV, or S3 backends.
Copy file name to clipboardExpand all lines: CLAUDE.md
+18Lines changed: 18 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,24 @@ npm run test:coverage # Jest with coverage
27
27
npx jest <file> --no-coverage # Run a single test file (e.g., src/__tests__/xxx.test.ts)
28
28
```
29
29
30
+
## Required Validation
31
+
32
+
Before considering a task complete, run every validation command that applies to the files
33
+
changed in the task:
34
+
35
+
- After modifying TypeScript or JavaScript files (`.ts`, `.tsx`, `.js`, or `.jsx`), run
36
+
`npm run lint:fix` and then `npm run type-check`. Run the type check after lint fixes so it
37
+
validates the final code.
38
+
- After modifying Expo config plugin implementation files under `plugins/`, or their TypeScript
39
+
build configuration, run `npm run plugin:build` after linting.
40
+
- After modifying application/runtime behavior or tests, run `npm run test`. This includes changes
41
+
to screens, hooks, services, stores, tasks, utilities, native-module JavaScript/TypeScript APIs,
42
+
and test files. Documentation-only, comment-only, and formatting-only changes do not require the
43
+
test suite.
44
+
- After modifying Markdown or JSON files, run `npm run format-docs`.
45
+
- If multiple rules apply, run all applicable commands. After any auto-fix, build, or formatting
46
+
command, inspect the diff and do not include unrelated generated or formatting changes.
47
+
30
48
## Architecture Overview
31
49
32
50
This is a React Native clipboard synchronization app built with **Expo SDK 55**, using React Native 0.83 and React 19. It syncs clipboard content (text, images, files) between devices via SyncClipboard Server, WebDAV, or S3 backends.
0 commit comments