Resolver

How to find and prefer instructions. Keep this short. Imported content still uses context — do not turn this into a dump of repo facts.

Playbook

Before large changes:

  1. Find the repository root (git rev-parse --show-toplevel when in a git work tree).
  2. Load project instructions in order when present:
    • AGENTS.md
    • CLAUDE.md
    • CLAUDE.local.md (personal, gitignored)
    • nested guides near the files you edit (package/app AGENTS.md, ROUTER.md, docs/)
  3. Prefer project facts over these personal defaults when they conflict.
  4. Prefer deeper, nearer guides over higher, broader ones.
  5. Prefer the explicit user task over defaults.
  6. Work under .worktrees/ still follows that repo’s root guides.
  7. Before editing, name which instruction files and domain rules apply.

Domain signals

SignalPrefer
UI, *.tsx / *.jsx, Next App RouterFrontend project guide; shared UI packages; lint/typecheck
APIs, Rails, Python/FastAPI, DB, workersBackend project guide; tenant/auth boundaries; focused tests; lint/format
*.ts shared packagesNearest package AGENTS.md / README
dbt / ClickHouse / AthenaDirectory AGENTS.md + ROUTER.md first
Infra / Terraform / CIAsk before production changes

Repos under ~/code

Hints only — always open that repo’s own AGENTS.md:

Path patternNotes
~/code/kamek-aiRoot + app/package guides
~/code/spoint/*Repo AGENTS.md / .agents router
~/code/techinmuebles114/*Docs-first scaffolds
~/code/benoror/*Personal; prefer each repo guide
~/code/procevi/*Commit cadence when the user asks for commits
~/code/trivelta/*In-repo Engineering Standards (branches, PR size, lint, flags, tests)

Do not copy team standards into the personal hub.