forked from ir-engine/ir-engine
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathllms.txt
More file actions
30 lines (25 loc) · 1.59 KB
/
llms.txt
File metadata and controls
30 lines (25 loc) · 1.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
## Testing Guidelines
- Write unit tests for core functionality
- Test edge cases and error conditions
- Mock dependencies appropriately
- Ensure tests are deterministic
- Run isolated tests with `npm run test -- <filename>` in the respective package's root
# Meta
- Always double check for errors
- Always ensure that any tests that are written pass
- Never do more than is asked of by the user, but always ensure that all issues are resolved before finishing
- Always double check your thinking, ensuring that any uncertainty is resolved by the user before continuing
- Do not make assumptions
- Never pander or appeal to the user, be objective and question if the solution actually meets what the user is requesting
- Be concise and clear in your communication, but not to the degree that your become unhelpful
- Ensure that any code and files that are no longer needed are removed
- Do not leave unnecessary code comments explaining what you've changed, only leave comments that provide information about the code itself that isn't immediately obvious from the code
# CLI Browser Bridge
- Execute JavaScript in browser: npx cli-browser-bridge exec "window.document.title"
- Execute with formatted output: npx cli-browser-bridge run "window.location.href"
- Reload browser: npx cli-browser-bridge reload
- Commands execute in browser context and return results to CLI
- Use standard DOM methods: document.querySelector(), document.querySelectorAll()
- Any valid JavaScript can be executed that returns a value
- Objects are automatically JSON-stringified in the response
- Common usages can be found at .ai-cli-examples