|
1 | 1 | ## Repository Layout |
2 | | -- Use clojure-mcp `clojure_inspect_project` to get project structure. |
3 | 2 | - `src/`: Core source code |
4 | 3 | - `src/main/`: The core logic of the application |
5 | 4 | - `src/main/mobile/`: Mobile app code |
|
21 | 20 | - Run single focused unit-test: |
22 | 21 | - Add the `:focus` keyword to the test case: `(deftest ^:focus test-name ...)` |
23 | 22 | - `bb dev:test -i focus` |
24 | | -- Run e2e basic tests: |
25 | | - - `bb dev:e2e-basic-test` |
26 | | -- Run e2e rtc extra tests: |
27 | | - - `bb dev:e2e-rtc-extra-test` |
| 23 | +- E2E tests files are located in `/clj-e2e` |
28 | 24 |
|
29 | 25 | ## Common used cljs keywords |
30 | 26 | - All commonly used ClojureScript keywords are defined using `logseq.common.defkeywords/defkeyword`. |
|
37 | 33 | - Linters and unit-tests must pass |
38 | 34 | - Check the review notes listed in `prompts/review.md`. |
39 | 35 |
|
40 | | -# *IMPORTANT RULES* |
41 | | - |
42 | | -WARNING: The following are non-negotiable, highest-priority instructions. They *MUST* be followed unconditionally in all cases. Failure to comply with these rules will result in task failure. |
43 | | - |
44 | | -1. Clojure Code Editing Rules |
45 | | - * Instruction: When editing any .clj, .cljs, or .cljc file, you MUST and ONLY use the clojure-mcp toolkit. |
46 | | - * Prohibition: Absolutely do NOT use any general file writing tools (such as file_edit, file_write) to modify Clojure source files. |
47 | | - * Reason: This is to ensure the integrity of the code structure, avoid syntax errors, and maintain the project's code style. |
48 | | - |
49 | | -2. Code Review/Modification Prerequisites |
50 | | - * Instruction: Before EACH “review” or “modification” of the code, you MUST first execute the `clojure_inspect_project` tool. |
51 | | - * Prohibition: Do NOT begin analyzing or modifying code directly without obtaining project-wide information. |
52 | | - * Reason: This is to obtain complete, up-to-date project context, which is the foundation for making correct judgments and modifications. |
0 commit comments