Skip to content

Commit 8020d4d

Browse files
docs: add llm instrx
1 parent 4b6ca74 commit 8020d4d

1 file changed

Lines changed: 20 additions & 1 deletion

File tree

AGENTS.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,10 @@ mt is a desktop music player designed for large music collections, built with Ta
1515

1616
Always use Context7 MCP when I need library/API documentation, code generation, setup or configuration steps without me having to explicitly ask.
1717

18-
### AlpineJS + Basecoat + Tauri Libraries
18+
### Libraries
1919

2020
- alpinejs/alpine
21+
- cranot/roam-code
2122
- dubzzz/fast-check
2223
- hunvreus/basecoat
2324
- jdx/mise
@@ -79,6 +80,24 @@ The queue store (`app/frontend/js/stores/queue.js`) maintains tracks in **play o
7980
4. **Testing**: Unit tests + Playwright E2E. All integration tests MUST use Playwright.
8081
5. **Code Style**: ESLint + Prettier (frontend), `cargo fmt` + `cargo clippy` (backend). Run formatters before committing.
8182

83+
## Codebase navigation
84+
85+
This project uses `roam` for codebase comprehension. Always prefer roam over Glob/Grep/Read exploration.
86+
87+
Before modifying any code:
88+
89+
1. First time in the repo: `roam understand` then `roam tour`
90+
2. Find a symbol: `roam search <pattern>`
91+
3. Before changing a symbol: `roam preflight <name>` (blast radius + tests + fitness)
92+
4. Need files to read: `roam context <name>` (files + line ranges, prioritized)
93+
5. Debugging a failure: `roam diagnose <name>` (root cause ranking)
94+
6. After making changes: `roam diff` (blast radius of uncommitted changes)
95+
96+
Additional: `roam health` (0-100 score), `roam impact <name>` (what breaks),
97+
`roam pr-risk` (PR risk), `roam file <path>` (file skeleton).
98+
99+
Run `roam --help` for all commands. Use `roam --json <cmd>` for structured output.
100+
82101
<!-- BACKLOG.MD MCP GUIDELINES START -->
83102

84103
<CRITICAL_INSTRUCTION>

0 commit comments

Comments
 (0)