Browse Source

dev: update agents.md, review.md

rcmerci 3 weeks ago
parent
commit
60dc194a8b
2 changed files with 6 additions and 0 deletions
  1. 4 0
      AGENTS.md
  2. 2 0
      prompts/review.md

+ 4 - 0
AGENTS.md

@@ -12,6 +12,10 @@
 - `deps/`: Internal dependencies/modules
 - `clj-e2e/`: End to end test code
 
+## Common used cljs keywords
+- All commonly used ClojureScript keywords are defined using `logseq.common.defkeywords/defkeyword`.
+- Search for `defkeywords` to find all the definitions.
+
 ## Testing Commands
 - Run linters and unit-tests: `bb dev:lint-and-test`
 - Run single focused unit-test:

+ 2 - 0
prompts/review.md

@@ -21,3 +21,5 @@ You're Clojure(script) expert, you're responsible to check those common errors:
   
 - After adding a new property in `logseq.db.frontend.property/built-in-properties`, you need to add a corresponding migration in `frontend.worker.db.migrate/schema-version->updates`.
   - e.g. `["65.9" {:properties [:logseq.property.embedding/hnsw-label-updated-at]}]`
+
+- If common keywords are added or modified, make corresponding changes in their definitions.