mirror of
https://github.com/fscotto/infra.git
synced 2026-05-30 23:49:56 +00:00
Refactor: centralize AI instructions and opencode config into common dotfiles
This commit is contained in:
15
dotfiles/common/.config/ai/AGENTS.md
Normal file
15
dotfiles/common/.config/ai/AGENTS.md
Normal file
@@ -0,0 +1,15 @@
|
||||
# AGENTS.md — Global Context
|
||||
|
||||
Always follow:
|
||||
- minimal, targeted edits
|
||||
- preserve layering
|
||||
- avoid duplication
|
||||
- validate before applying changes
|
||||
|
||||
Task-specific file loading:
|
||||
- For infra or Ansible work, read `~/.config/opencode/knowledge/infra.md` and `~/.config/opencode/rules/ansible.md`
|
||||
- For desktop work, read `~/.config/opencode/knowledge/desktop.md`
|
||||
- For dotfiles work, read `~/.config/opencode/knowledge/dotfiles.md` and `~/.config/opencode/patterns/dotfiles_layering.md`
|
||||
- For system programming work, read `~/.config/opencode/knowledge/system_programming.md`
|
||||
|
||||
Do not preemptively load all task-specific files. Load only the files relevant to the current task.
|
||||
Reference in New Issue
Block a user