extract global AGENTS.md to file and add nushell scripting rule

This commit is contained in:
2026-03-04 19:40:53 +00:00
parent 4b26de32bb
commit 3ec12e649d
2 changed files with 12 additions and 8 deletions

View File

@@ -71,14 +71,7 @@
source = ./opencode/plugin;
recursive = true;
};
"opencode/AGENTS.md".text = ''
# 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/AGENTS.md".source = ./opencode/AGENTS.md;
"opencode/oh-my-opencode.json".text =
builtins.toJSON {
"$schema" = "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json";

View 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