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: pkg/ai-config/GLOBAL-AGENTS.md
+11-5Lines changed: 11 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,11 @@
1
-
# Global `AGNETS.md`
1
+
# Global AI Instruction
2
+
3
+
## Alternative context
4
+
5
+
Check both `AGENTS.md` / `CLAUDE.md` in the project directory.
2
6
3
7
## Shell conventions
4
8
5
-
- Never prefix git commands with `cd /path/to/root &&`
6
-
- Instead use `git -C /path/to/root <subcommand>` if a specific cwd is needed
7
-
- Prefer repo-root-relative paths explicitly over cd'ing
8
9
- To check whether an env var is set, use `printenv SOME_ENV` (never `env | grep` or bare `env`)
9
10
- Use `rg` (ripgrep) instead of `grep` for searching: faster, respects `.gitignore`, and has better defaults
10
11
- Use `fd` instead of `find` for file lookups: faster, respects `.gitignore`, and has saner syntax
@@ -18,6 +19,11 @@
18
19
- Rewrite with commas, periods, or parentheses instead
19
20
- Applies to prose only. Keep punctuation inside code, config, or copied quotes untouched
20
21
22
+
## Self-Improvement
23
+
24
+
- If you believe the `AGENTS.md` / `CLAUDE.md` you've read is outdated or not aligned with what you've found, proposed fix at the end of the task.
25
+
- If a skill is invoked to complete the task and the output required corrections or the user expressed dissatisfaction, ask user if they want to update
26
+
21
27
## Language conventions
22
28
23
-
- If the prompt is in Chinese, respond with Traditional Chinese characters, and think/research as a Taiwanese
29
+
- If the prompt is in Chinese, respond with Traditional Chinese characters, and think/research as a Taiwanese.
0 commit comments