Add OpenCode project guidance
This commit is contained in:
parent
b5d2c2ad8f
commit
14460f7cf8
3 changed files with 11 additions and 2 deletions
|
|
@ -279,7 +279,7 @@ Este modulo concentra:
|
|||
- publica `config.el`, `init.el`, `packages.el`
|
||||
- OpenCode:
|
||||
- publica `~/.config/opencode/opencode.json`
|
||||
- usa `opencode.json` no root do repo para carregar contexto do projeto
|
||||
- usa `OPENCODE.md` e `opencode.json` no root do repo para carregar contexto do projeto
|
||||
- usa `ollama/qwen2.5-coder:7b` como modelo padrao
|
||||
- Wofi:
|
||||
- publica `config`, `style.css`, `menu`, `menu.css`
|
||||
|
|
|
|||
9
OPENCODE.md
Normal file
9
OPENCODE.md
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
# OpenCode Project Notes
|
||||
|
||||
This repository is the local NixOS and Home Manager configuration for `ltadeu6`.
|
||||
|
||||
- Treat the current working tree as the source of truth.
|
||||
- Prefer local files and `read`/`glob`/`grep` tools over `webfetch`.
|
||||
- Start with `AGENTS.md` for repo rules, then inspect `hosts/Nixos/configuration.nix` and `home/ltadeu6.nix`.
|
||||
- Do not ask for a GitHub URL unless the user explicitly asks about a remote repository.
|
||||
- This is a local project, not a template.
|
||||
|
|
@ -2,8 +2,8 @@
|
|||
"$schema": "https://opencode.ai/config.json",
|
||||
"model": "ollama/qwen2.5-coder:7b",
|
||||
"instructions": [
|
||||
"OPENCODE.md",
|
||||
"AGENTS.md",
|
||||
"README.md",
|
||||
"home/ltadeu6.nix",
|
||||
"hosts/Nixos/configuration.nix"
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue