返回 DeepSeek-Reasonix
commands.md
1 # Commands (slash templates)
2
3 ### Priority
4
5 `config.CommandDirsForRoot`: home convention commands → Reasonix home commands → project convention commands. **Later directory overrides earlier** on name clash (`command.Load`).
6
7 Name from path: `git/commit.md` → `/git:commit` (slashes → `:`).
8
9 ### Checks
10
11 CLI/Desktop Diagnostics → Commands; invoke `/name` in chat.
12
13 ### Symptom → cause → fix
14
15 | Symptom | Cause | Fix |
16 | --- | --- | --- |
17 | Wrong body | Shadowed by later dir | Check `command.shadowed` winners |
18 | Missing command | Wrong dir / extension | Place `*.md` under a scanned `commands/` root |
19 | Parse fail | Unreadable file | Fix permissions / encoding (`command.read_failed`) |
20
20 lines MARKDOWN