- These instructions apply only to this repository.
- Keep global behavior from
~/.config/opencode/AGENTS.mdunless this file overrides it.
config/-> stowed to~/.config/config/nvim/-> Neovim configconfig/zsh/-> zsh modules and shell configconfig/git/-> git config includes and defaultsconfig/opencode/-> OpenCode config, agents, commands, rulesconfig/ghostty/-> terminal configconfig/k9s/-> k9s configconfig/eza/-> eza configconfig/starship.toml-> starship prompt config
runcoms/-> stowed to~/(.zshenv, fzf startup files)bin/-> stowed to~/bin/(custom scripts).opencode/agents/-> repo-local agents.opencode/skills/-> repo-local skillsBrewfile-> Homebrew formulas/casks/tapsMakefile-> setup and stow orchestrationnpm-global-packages.txt-> globally installed npm packagesmacos-defaults.sh-> macOS preference setupTODO.md-> follow-up tasks
- For OpenCode setup in this repo (
config/opencode/*), loadopencode-config. - For inspecting OpenCode session data in the local SQLite database, load
opencode-db-inspect. - For stow/layout changes, load
dotfiles-stow. - For
Brewfileedits, loadbrewfile-maintenance. - For shell setup (
config/zsh,runcoms), loadshell-config. - For Neovim config (
config/nvim), loadnvim-config.
- Use
@dotfilesfor global environment changes (brew packages, shell/tool config, stow-managed files). - If work changes OpenCode agent behavior, use
@architectfor design decisions and keepconfig/opencode/AGENTS.mdin sync.
- Do not create manual symlinks. Use stow via
make link. - Keep
Brewfileentries alphabetized within each section. - Do not edit machine-specific git include files:
config/git/signingkey.inc,config/git/email.inc. - Do not use Python (or one-off scripts) to read/write/edit files when applying repo changes. Use patch/diff-based edits via the editing tools so changes stay reviewable.
- Keep changes minimal and scoped; avoid unrelated cleanup.
- When unsure how OpenCode config or permissions work, check the docs at https://opencode.ai/docs/ before guessing. Load the
opencode-configskill for reference links.