diff --git a/profiles/opencode.nix b/profiles/opencode.nix index 2a831ca..4107725 100644 --- a/profiles/opencode.nix +++ b/profiles/opencode.nix @@ -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"; diff --git a/profiles/opencode/AGENTS.md b/profiles/opencode/AGENTS.md new file mode 100644 index 0000000..644ab5e --- /dev/null +++ b/profiles/opencode/AGENTS.md @@ -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