diff --git a/modules/_ai-tools/AGENTS.md b/modules/_ai-tools/AGENTS.md new file mode 100644 index 0000000..a6056ed --- /dev/null +++ b/modules/_ai-tools/AGENTS.md @@ -0,0 +1,23 @@ +# AGENTS.md + +## Version Control + +- Use `jj` for version control, not `git`. +- `jj tug` is an alias for `jj bookmark move --from closest_bookmark(@-) --to @-`. +- Never attempt historically destructive Git commands. +- Make small, frequent commits. + +## Scripting + +- Use Nushell (`nu`) for scripting. +- Do not use Python, Perl, Lua, awk, or any other scripting language. You are programatically blocked from doing so. + +## Validation + +- Do not ignore failing tests or checks, even if they appear unrelated to your changes. +- After completing and validating your work, the final step is to run the project's full validation and test commands and ensure they all pass. + +## Workflow + +- Always complete the requested work. +- Do not end with “If you want me to…” or “I can…”; take the next necessary step and finish the job without waiting for additional confirmation. diff --git a/modules/ai-tools.nix b/modules/ai-tools.nix index 983d653..4811772 100644 --- a/modules/ai-tools.nix +++ b/modules/ai-tools.nix @@ -12,6 +12,7 @@ ]; home.file = { + "AGENTS.md".source = ./_ai-tools/AGENTS.md; ".pi/agent/extensions/pi-elixir" = { source = inputs.pi-elixir; recursive = true;