1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
ID: `trae` — `agent_config::by_id("trae")`
Global prompt install is unsupported. Trae also reads `.trae/user_rules.md`;
this crate writes the project-scoped file only.
Standalone instruction files installed via `InstructionSurface`. Uses
`InstructionPlacement::InlineBlock` (project-local only) because Trae's
memory file does not expose a documented `@import` syntax; the body is
injected as a tagged HTML-comment fenced block in the existing memory file.
Each skill is a directory with `SKILL.md` plus optional `scripts/`,
`examples/`, `resources/`. Trae's CLI sometimes installs skills via
`npx skills add <repo>`; this crate writes the documented directory layout.
- --
Accessed: 2026-04-26.