extract global AGENTS.md to file and add nushell scripting rule
This commit is contained in:
@@ -71,14 +71,7 @@
|
|||||||
source = ./opencode/plugin;
|
source = ./opencode/plugin;
|
||||||
recursive = true;
|
recursive = true;
|
||||||
};
|
};
|
||||||
"opencode/AGENTS.md".text = ''
|
"opencode/AGENTS.md".source = ./opencode/AGENTS.md;
|
||||||
# Global AGENTS.md
|
|
||||||
|
|
||||||
## Version Control
|
|
||||||
|
|
||||||
- Use `jj` for VCS, not `git`
|
|
||||||
- `jj tug` is an alias for `jj bookmark move --from closest_bookmark(@-) --to @-`
|
|
||||||
'';
|
|
||||||
"opencode/oh-my-opencode.json".text =
|
"opencode/oh-my-opencode.json".text =
|
||||||
builtins.toJSON {
|
builtins.toJSON {
|
||||||
"$schema" = "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json";
|
"$schema" = "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json";
|
||||||
|
|||||||
11
profiles/opencode/AGENTS.md
Normal file
11
profiles/opencode/AGENTS.md
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# Global AGENTS.md
|
||||||
|
|
||||||
|
## Version Control
|
||||||
|
|
||||||
|
- Use `jj` for VCS, not `git`
|
||||||
|
- `jj tug` is an alias for `jj bookmark move --from closest_bookmark(@-) --to @-`
|
||||||
|
|
||||||
|
## Scripting
|
||||||
|
|
||||||
|
- Always use Nushell (`nu`) for scripting
|
||||||
|
- Never use Python, Perl, Lua, awk, or any other scripting language
|
||||||
Reference in New Issue
Block a user