@event4u/agent-config 2.2.2 → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/.agent-src/rules/external-reference-deep-dive.md +69 -0
  2. package/.agent-src/templates/copilot-instructions.md +7 -0
  3. package/.claude-plugin/marketplace.json +27 -1
  4. package/CHANGELOG.md +49 -0
  5. package/README.md +1 -8
  6. package/docs/architecture.md +1 -1
  7. package/docs/contracts/installed-tools-lockfile.md +138 -0
  8. package/docs/development.md +37 -0
  9. package/docs/getting-started.md +1 -1
  10. package/docs/installation.md +14 -0
  11. package/docs/setup/per-ide/antigravity.md +63 -0
  12. package/docs/setup/per-ide/augment.md +77 -0
  13. package/docs/setup/per-ide/codebuddy.md +63 -0
  14. package/docs/setup/per-ide/continue.md +68 -0
  15. package/docs/setup/per-ide/droid.md +65 -0
  16. package/docs/setup/per-ide/jetbrains.md +76 -0
  17. package/docs/setup/per-ide/kilocode.md +66 -0
  18. package/docs/setup/per-ide/kiro.md +72 -0
  19. package/docs/setup/per-ide/opencode.md +62 -0
  20. package/docs/setup/per-ide/qoder.md +63 -0
  21. package/docs/setup/per-ide/roocode.md +68 -0
  22. package/docs/setup/per-ide/trae.md +63 -0
  23. package/docs/setup/per-ide/warp.md +63 -0
  24. package/docs/setup/per-ide/zed.md +73 -0
  25. package/package.json +1 -1
  26. package/scripts/_cli/cmd_doctor.py +351 -0
  27. package/scripts/_cli/cmd_prune.py +317 -0
  28. package/scripts/_cli/cmd_uninstall.py +465 -0
  29. package/scripts/_cli/cmd_update.py +26 -3
  30. package/scripts/_cli/cmd_versions.py +147 -0
  31. package/scripts/_lib/fs_atomic.py +116 -0
  32. package/scripts/_lib/installed_tools.py +188 -44
  33. package/scripts/_lib/json_pointers.py +260 -0
  34. package/scripts/agent-config +69 -0
  35. package/scripts/compress.py +78 -15
  36. package/scripts/install +8 -0
  37. package/scripts/install-hooks.sh +54 -1
  38. package/scripts/install.py +1053 -51
@@ -0,0 +1,68 @@
1
+ # Continue.dev Setup
2
+
3
+ Continue.dev (VS Code + JetBrains extension) auto-discovers
4
+ `.continue/rules/*.md` as system-level rules per project.
5
+
6
+ ## Prerequisites
7
+
8
+ - Continue extension: <https://continue.dev>.
9
+ - Node.js ≥ 18 for the install entrypoints.
10
+
11
+ ## Install
12
+
13
+ Project scope (default):
14
+
15
+ ```bash
16
+ npx @event4u/agent-config init --tools=continue
17
+ ```
18
+
19
+ Global scope (cross-project, deploys the universal skill bundle to
20
+ `~/.continue/`):
21
+
22
+ ```bash
23
+ npx @event4u/agent-config init --tools=continue --global
24
+ ```
25
+
26
+ Populates (project):
27
+
28
+ - `.continue/rules/agent-config.md` — auto-discovered rule marker
29
+ - `AGENTS.md` — canonical agent self-orientation
30
+ - `.agent-settings.yml` — per-project knobs
31
+
32
+ ## How to use
33
+
34
+ - Rules under `.continue/rules/*.md` load automatically on every
35
+ Continue session — no manual action required.
36
+ - Continue exposes **Chat**, **Edit** (inline) and **Autocomplete**
37
+ surfaces. All three honor the rules; Chat is the surface that
38
+ reads `AGENTS.md` and the skill bundle.
39
+ - Slash commands and skills live under `.augment/commands/` and
40
+ `.augment/skills/`. Continue does not register them natively —
41
+ invoke them by name in chat (e.g. *"run the create-pr command"*).
42
+ - For repository-aware orchestration, use **`@codebase`** in
43
+ Continue chat alongside the named command/skill so Continue
44
+ retrieves the relevant files first.
45
+
46
+ ## Verification
47
+
48
+ ```bash
49
+ test -f .continue/rules/agent-config.md
50
+ test -f AGENTS.md
51
+ ```
52
+
53
+ In VS Code or JetBrains: open the Continue panel and ask
54
+ *"What is this repo?"* — the answer should cite the AGENTS.md
55
+ emergency triage block.
56
+
57
+ ## Troubleshooting
58
+
59
+ | Symptom | Fix |
60
+ |---|---|
61
+ | Rules not picked up | Reload the IDE window after install. |
62
+ | Marker missing | Re-run `npx @event4u/agent-config init --tools=continue --force`. |
63
+ | Continue ignores `@codebase` results | Index the workspace once via the Continue settings panel. |
64
+
65
+ ## Cross-references
66
+
67
+ - [`AGENTS.md`](../../../AGENTS.md) — canonical agent self-orientation.
68
+ - [`docs/installation.md`](../../installation.md) — install matrix index.
@@ -0,0 +1,65 @@
1
+ # Droid (Factory) Setup
2
+
3
+ Droid (Factory AI's coding agent, <https://factory.ai>) reads the
4
+ Anthropic-shaped markdown skill bundle from its user-scope anchor
5
+ `~/.factory/`. The package deploys via the universal skill
6
+ convention; project-scope bridge is not yet wired (Phase 2.4
7
+ anchor).
8
+
9
+ ## Prerequisites
10
+
11
+ - Factory CLI / extension: <https://factory.ai>.
12
+ - Node.js ≥ 18 for the install entrypoints.
13
+
14
+ ## Install
15
+
16
+ Global only (canonical scope):
17
+
18
+ ```bash
19
+ npx @event4u/agent-config init --tools=droid --global
20
+ ```
21
+
22
+ Populates:
23
+
24
+ - `~/.factory/skills/` — Anthropic-shaped skill bundle
25
+ - `~/.factory/rules/` — kernel + tier-1/2 rules
26
+ - `~/.factory/personas/` — review-lens personas
27
+
28
+ (Project-scope `--tools=droid` is rejected with exit code 1 —
29
+ Droid has no documented project-discovery convention yet.)
30
+
31
+ ## How to use
32
+
33
+ - Droid reads the skill bundle from `~/.factory/skills/` on every
34
+ session — no manual action required.
35
+ - Slash commands (`/work`, `/implement-ticket`, `/commit`,
36
+ `/create-pr`, …) ship inside the skill bundle as named skills.
37
+ Invoke them by name in chat.
38
+ - Factory ships **Droids** (named agent profiles); each Droid
39
+ honors the same skill bundle. Pick the Droid that matches the
40
+ task profile (e.g. *Code Droid* for implementation, *Review
41
+ Droid* for PR review).
42
+
43
+ ## Verification
44
+
45
+ ```bash
46
+ test -d ~/.factory/skills
47
+ test -d ~/.factory/rules
48
+ ```
49
+
50
+ In Factory: spawn a Droid and ask *"What is this repo?"* — the
51
+ answer should cite the AGENTS.md emergency triage block when the
52
+ workspace is open.
53
+
54
+ ## Troubleshooting
55
+
56
+ | Symptom | Fix |
57
+ |---|---|
58
+ | Skills not listed | Re-run `npx @event4u/agent-config init --tools=droid --global --force`. |
59
+ | `--tools=droid` rejected | Add `--global` (Droid has global-only scope). |
60
+ | Droid profile ignores rules | All Factory Droids read the same `~/.factory/skills/` bundle; verify the anchor exists. |
61
+
62
+ ## Cross-references
63
+
64
+ - [`AGENTS.md`](../../../AGENTS.md) — canonical agent self-orientation.
65
+ - [`docs/installation.md`](../../installation.md) — install matrix index.
@@ -0,0 +1,76 @@
1
+ # JetBrains AI Assistant Setup
2
+
3
+ JetBrains AI Assistant reads custom prompts and guidelines from
4
+ project-level config (`.idea/`) and user-scope settings. Because
5
+ `.idea/` is team-shared, the canonical scope for this bridge is
6
+ **global** — the project-scope marker is informational only.
7
+
8
+ ## Prerequisites
9
+
10
+ - JetBrains IDE (IntelliJ IDEA, PyCharm, WebStorm, PhpStorm, …) with
11
+ the AI Assistant plugin enabled.
12
+ - Node.js ≥ 18 for the install entrypoints.
13
+
14
+ ## Install
15
+
16
+ Canonical (global, cross-project):
17
+
18
+ ```bash
19
+ npx @event4u/agent-config init --tools=jetbrains --global
20
+ ```
21
+
22
+ Deploys the universal skill bundle to `~/.config/JetBrains/`.
23
+
24
+ Project-scope marker (informational only):
25
+
26
+ ```bash
27
+ npx @event4u/agent-config init --tools=jetbrains
28
+ ```
29
+
30
+ Populates (global):
31
+
32
+ - `~/.config/JetBrains/skills/` — Anthropic-shaped skill bundle
33
+ - `~/.config/JetBrains/rules/` — kernel + tier-1/2 rules
34
+ - `~/.config/JetBrains/personas/` — review-lens personas
35
+
36
+ Populates (project, informational):
37
+
38
+ - `.jetbrains/agent-config.md` — pointer to the global install
39
+ - `AGENTS.md` — canonical agent self-orientation
40
+ - `.agent-settings.yml` — per-project knobs
41
+
42
+ ## How to use
43
+
44
+ - In your JetBrains IDE, open **Settings → Tools → AI Assistant →
45
+ Prompts** and point the custom-prompts path at
46
+ `~/.config/JetBrains/` (or copy the relevant rules into your
47
+ JetBrains profile via the *Import* button).
48
+ - AI Assistant exposes **Chat**, **Ask**, and **inline edits**.
49
+ Chat is the surface that reads the imported rules; inline edits
50
+ stay local to the current selection.
51
+ - Slash commands and skills live under `.augment/commands/` and
52
+ `.augment/skills/`. JetBrains AI does not register them natively
53
+ — invoke them by name in chat (e.g. *"run the create-pr command"*).
54
+
55
+ ## Verification
56
+
57
+ ```bash
58
+ test -d ~/.config/JetBrains/skills
59
+ test -f AGENTS.md
60
+ ```
61
+
62
+ In the IDE: open the AI Assistant chat and ask *"What is this repo?"*
63
+ — the answer should cite the AGENTS.md emergency triage block.
64
+
65
+ ## Troubleshooting
66
+
67
+ | Symptom | Fix |
68
+ |---|---|
69
+ | Custom prompts not shown | Restart the IDE after pointing the prompts path at `~/.config/JetBrains/`. |
70
+ | `.jetbrains/` missing | The project marker is optional; the canonical install is `--global`. |
71
+ | AI Assistant ignores rules | Verify the prompts path under Settings; AI Assistant does not auto-discover `.idea/agent-config.md`. |
72
+
73
+ ## Cross-references
74
+
75
+ - [`AGENTS.md`](../../../AGENTS.md) — canonical agent self-orientation.
76
+ - [`docs/installation.md`](../../installation.md) — install matrix index.
@@ -0,0 +1,66 @@
1
+ # Kilo Code Setup
2
+
3
+ Kilo Code (VS Code extension, Cline fork) auto-discovers
4
+ `.kilocode/rules/*.md` as system-level rules per project.
5
+
6
+ ## Prerequisites
7
+
8
+ - Kilo Code VS Code extension: <https://github.com/Kilo-Org/kilocode>.
9
+ - Node.js ≥ 18 for the install entrypoints.
10
+
11
+ ## Install
12
+
13
+ Project scope (default):
14
+
15
+ ```bash
16
+ npx @event4u/agent-config init --tools=kilocode
17
+ ```
18
+
19
+ Global scope (cross-project, deploys the universal skill bundle to
20
+ `~/.kilocode/`):
21
+
22
+ ```bash
23
+ npx @event4u/agent-config init --tools=kilocode --global
24
+ ```
25
+
26
+ Populates (project):
27
+
28
+ - `.kilocode/rules/agent-config.md` — auto-discovered rule marker
29
+ - `AGENTS.md` — canonical agent self-orientation
30
+ - `.agent-settings.yml` — per-project knobs
31
+
32
+ ## How to use
33
+
34
+ - Rules under `.kilocode/rules/*.md` load automatically on every
35
+ Kilo Code session — no manual action required.
36
+ - Kilo Code exposes a **mode switcher** (Architect / Code / Ask /
37
+ Debug / Orchestrator). Every mode sees these rules; switch modes
38
+ to trigger different cognition profiles. **Orchestrator** is the
39
+ closest match for running this package's `/implement-ticket` or
40
+ `/work` flows end-to-end.
41
+ - Slash commands and skills live under `.augment/commands/` and
42
+ `.augment/skills/`. Kilo Code does not register them natively —
43
+ invoke them by name in chat (e.g. *"run the create-pr command"*).
44
+
45
+ ## Verification
46
+
47
+ ```bash
48
+ test -f .kilocode/rules/agent-config.md
49
+ test -f AGENTS.md
50
+ ```
51
+
52
+ In VS Code: open the Kilo Code panel and ask *"What is this repo?"*
53
+ — the answer should cite the AGENTS.md emergency triage block.
54
+
55
+ ## Troubleshooting
56
+
57
+ | Symptom | Fix |
58
+ |---|---|
59
+ | Rules not picked up | Reload VS Code window after install. |
60
+ | Marker missing after install | Re-run with `--force`. |
61
+ | Orchestrator skips skills | Kilo Code does not auto-register `.augment/skills/`; name the skill in chat. |
62
+
63
+ ## Cross-references
64
+
65
+ - [`AGENTS.md`](../../../AGENTS.md) — canonical agent self-orientation.
66
+ - [`docs/installation.md`](../../installation.md) — install matrix index.
@@ -0,0 +1,72 @@
1
+ # Kiro Setup
2
+
3
+ Kiro (Amazon's agentic IDE) auto-discovers `.kiro/steering/*.md`
4
+ as steering documents per project.
5
+
6
+ ## Prerequisites
7
+
8
+ - Kiro IDE: <https://kiro.dev>.
9
+ - Node.js ≥ 18 for the install entrypoints.
10
+
11
+ ## Install
12
+
13
+ Project scope (default):
14
+
15
+ ```bash
16
+ npx @event4u/agent-config init --tools=kiro
17
+ ```
18
+
19
+ Global scope (cross-project, deploys the universal skill bundle to
20
+ `~/.kiro/`):
21
+
22
+ ```bash
23
+ npx @event4u/agent-config init --tools=kiro --global
24
+ ```
25
+
26
+ Populates (project):
27
+
28
+ - `.kiro/steering/agent-config.md` — auto-discovered steering marker
29
+ - `AGENTS.md` — canonical agent self-orientation
30
+ - `.agent-settings.yml` — per-project knobs
31
+
32
+ ## How to use
33
+
34
+ Kiro ships two top-level workflows; both honor the steering
35
+ documents in `.kiro/steering/`.
36
+
37
+ - **Spec mode** — plan-first. Kiro produces a spec → task list →
38
+ implementation under your review. The closest match for the
39
+ package's `/implement-ticket` flow.
40
+ - **Vibe mode** — free-form chat. Best for exploration, quick
41
+ edits, and one-off questions.
42
+ - Steering documents load automatically on every Kiro session —
43
+ no manual action required for either workflow.
44
+ - Slash commands and skills live under `.augment/commands/` and
45
+ `.augment/skills/`. Kiro does not register them natively —
46
+ invoke them by name in chat (e.g. *"run the create-pr command"*).
47
+ - When the global skill bundle is installed, Kiro reads it from
48
+ `~/.kiro/steering/` (the skills are projected into the
49
+ steering anchor, not a separate `skills/` directory).
50
+
51
+ ## Verification
52
+
53
+ ```bash
54
+ test -f .kiro/steering/agent-config.md
55
+ test -f AGENTS.md
56
+ ```
57
+
58
+ In Kiro: start a new Spec and ask *"What is this repo?"* — the
59
+ answer should cite the AGENTS.md emergency triage block.
60
+
61
+ ## Troubleshooting
62
+
63
+ | Symptom | Fix |
64
+ |---|---|
65
+ | Steering not loaded | Restart Kiro after install. |
66
+ | Marker missing | Re-run with `--force`. |
67
+ | Spec mode ignores rules | Both Spec and Vibe read `.kiro/steering/`; check the marker file actually exists at the project root. |
68
+
69
+ ## Cross-references
70
+
71
+ - [`AGENTS.md`](../../../AGENTS.md) — canonical agent self-orientation.
72
+ - [`docs/installation.md`](../../installation.md) — install matrix index.
@@ -0,0 +1,62 @@
1
+ # OpenCode Setup
2
+
3
+ OpenCode (<https://opencode.ai>) reads the Anthropic-shaped markdown
4
+ skill bundle from its user-scope anchor `~/.opencode/`. The package
5
+ deploys via the universal skill convention; project-scope bridge
6
+ is not yet wired (Phase 2.4 anchor).
7
+
8
+ ## Prerequisites
9
+
10
+ - OpenCode CLI / IDE: <https://opencode.ai>.
11
+ - Node.js ≥ 18 for the install entrypoints.
12
+
13
+ ## Install
14
+
15
+ Global only (canonical scope):
16
+
17
+ ```bash
18
+ npx @event4u/agent-config init --tools=opencode --global
19
+ ```
20
+
21
+ Populates:
22
+
23
+ - `~/.opencode/skills/` — Anthropic-shaped skill bundle
24
+ - `~/.opencode/rules/` — kernel + tier-1/2 rules
25
+ - `~/.opencode/personas/` — review-lens personas
26
+
27
+ (Project-scope `--tools=opencode` is rejected with exit code 1 —
28
+ OpenCode has no documented project-discovery convention yet.)
29
+
30
+ ## How to use
31
+
32
+ - OpenCode reads the skill bundle from `~/.opencode/skills/` on
33
+ every session — no manual action required.
34
+ - Slash commands (`/work`, `/implement-ticket`, `/commit`,
35
+ `/create-pr`, …) ship inside the skill bundle as named skills.
36
+ Invoke them by name in chat.
37
+ - For repository-aware work, run OpenCode from the project root
38
+ so the agent can locate `AGENTS.md` and the project's own
39
+ `agents/` overlay.
40
+
41
+ ## Verification
42
+
43
+ ```bash
44
+ test -d ~/.opencode/skills
45
+ test -d ~/.opencode/rules
46
+ ```
47
+
48
+ In OpenCode: ask *"What is this repo?"* — the answer should cite
49
+ the AGENTS.md emergency triage block when the workspace is open.
50
+
51
+ ## Troubleshooting
52
+
53
+ | Symptom | Fix |
54
+ |---|---|
55
+ | Skills not listed | Re-run `npx @event4u/agent-config init --tools=opencode --global --force`. |
56
+ | `--tools=opencode` rejected | Add `--global` (OpenCode has global-only scope). |
57
+ | AGENTS.md not picked up | Run OpenCode from the project root; the agent reads `AGENTS.md` from the workspace. |
58
+
59
+ ## Cross-references
60
+
61
+ - [`AGENTS.md`](../../../AGENTS.md) — canonical agent self-orientation.
62
+ - [`docs/installation.md`](../../installation.md) — install matrix index.
@@ -0,0 +1,63 @@
1
+ # Qoder Setup
2
+
3
+ Qoder (<https://qoder.com>) reads the Anthropic-shaped markdown
4
+ skill bundle from its user-scope anchor `~/.qoder/`. The package
5
+ deploys via the universal skill convention; project-scope bridge
6
+ is not yet wired (Phase 2.4 anchor).
7
+
8
+ ## Prerequisites
9
+
10
+ - Qoder IDE: <https://qoder.com>.
11
+ - Node.js ≥ 18 for the install entrypoints.
12
+
13
+ ## Install
14
+
15
+ Global only (canonical scope):
16
+
17
+ ```bash
18
+ npx @event4u/agent-config init --tools=qoder --global
19
+ ```
20
+
21
+ Populates:
22
+
23
+ - `~/.qoder/skills/` — Anthropic-shaped skill bundle
24
+ - `~/.qoder/rules/` — kernel + tier-1/2 rules
25
+ - `~/.qoder/personas/` — review-lens personas
26
+
27
+ (Project-scope `--tools=qoder` is rejected with exit code 1 —
28
+ Qoder has no documented project-discovery convention yet.)
29
+
30
+ ## How to use
31
+
32
+ - Qoder reads the skill bundle from `~/.qoder/skills/` on every
33
+ session — no manual action required.
34
+ - Slash commands (`/work`, `/implement-ticket`, `/commit`,
35
+ `/create-pr`, …) ship inside the skill bundle as named skills.
36
+ Invoke them by name in chat.
37
+ - For repository-aware work, point Qoder at the project root so
38
+ the agent can locate `AGENTS.md` and the project's own
39
+ `agents/` overlay.
40
+
41
+ ## Verification
42
+
43
+ ```bash
44
+ test -d ~/.qoder/skills
45
+ test -d ~/.qoder/rules
46
+ ```
47
+
48
+ In Qoder: open the chat panel and ask *"What is this repo?"* —
49
+ the answer should cite the AGENTS.md emergency triage block when
50
+ the workspace is open.
51
+
52
+ ## Troubleshooting
53
+
54
+ | Symptom | Fix |
55
+ |---|---|
56
+ | Skills not listed | Re-run `npx @event4u/agent-config init --tools=qoder --global --force`. |
57
+ | `--tools=qoder` rejected | Add `--global` (Qoder has global-only scope). |
58
+ | AGENTS.md not picked up | Open the project root in Qoder; the agent reads `AGENTS.md` from the workspace. |
59
+
60
+ ## Cross-references
61
+
62
+ - [`AGENTS.md`](../../../AGENTS.md) — canonical agent self-orientation.
63
+ - [`docs/installation.md`](../../installation.md) — install matrix index.
@@ -0,0 +1,68 @@
1
+ # Roo Code Setup
2
+
3
+ Roo Code (VS Code extension, formerly Roo Cline) auto-discovers
4
+ `.roo/rules/*.md` as system-level instructions per project.
5
+
6
+ ## Prerequisites
7
+
8
+ - Roo Code VS Code extension: <https://github.com/RooCodeInc/Roo-Code>.
9
+ - Node.js ≥ 18 for the install entrypoints.
10
+
11
+ ## Install
12
+
13
+ Project scope (default):
14
+
15
+ ```bash
16
+ npx @event4u/agent-config init --tools=roocode
17
+ ```
18
+
19
+ Global scope (cross-project, deploys the universal skill bundle to
20
+ `~/.roo/`):
21
+
22
+ ```bash
23
+ npx @event4u/agent-config init --tools=roocode --global
24
+ ```
25
+
26
+ Populates (project):
27
+
28
+ - `.roo/rules/agent-config.md` — auto-discovered rule marker
29
+ - `AGENTS.md` — canonical agent self-orientation
30
+ - `.agent-settings.yml` — per-project knobs
31
+
32
+ ## How to use
33
+
34
+ - Rules under `.roo/rules/*.md` load automatically on every Roo Code
35
+ session — no manual action required.
36
+ - Roo Code exposes a **mode switcher** (Architect / Code / Ask /
37
+ Debug / Custom). Every mode sees these rules; switch modes to
38
+ trigger different cognition profiles without losing context.
39
+ - Slash commands and skills live under `.augment/commands/` and
40
+ `.augment/skills/`. Roo Code does not register them natively —
41
+ invoke them by name in chat (e.g. *"run the create-pr command"*).
42
+ - For free-form orchestration with the project's `/work` or
43
+ `/implement-ticket` workflows, name the command in chat; the
44
+ agent reads `.augment/commands/<name>.md` and follows the steps.
45
+
46
+ ## Verification
47
+
48
+ ```bash
49
+ test -f .roo/rules/agent-config.md
50
+ test -f AGENTS.md
51
+ ```
52
+
53
+ In VS Code: open the Roo Code panel, switch to **Ask mode**, then
54
+ ask *"What is this repo?"* — the answer should cite the AGENTS.md
55
+ emergency triage block.
56
+
57
+ ## Troubleshooting
58
+
59
+ | Symptom | Fix |
60
+ |---|---|
61
+ | Rules not picked up | Reload VS Code window after install. |
62
+ | `.roo/rules/agent-config.md` missing | Re-run with `--force`. |
63
+ | Mode switch loses context | Roo Code keeps rules across modes by design; verify the marker file still exists. |
64
+
65
+ ## Cross-references
66
+
67
+ - [`AGENTS.md`](../../../AGENTS.md) — canonical agent self-orientation.
68
+ - [`docs/installation.md`](../../installation.md) — install matrix index.
@@ -0,0 +1,63 @@
1
+ # Trae Setup
2
+
3
+ Trae (ByteDance's AI IDE, <https://trae.ai>) reads the Anthropic-shaped
4
+ markdown skill bundle from its user-scope anchor `~/.trae/`. The
5
+ package deploys via the universal skill convention; project-scope
6
+ bridge is not yet wired (Phase 2.4 anchor).
7
+
8
+ ## Prerequisites
9
+
10
+ - Trae IDE: <https://trae.ai>.
11
+ - Node.js ≥ 18 for the install entrypoints.
12
+
13
+ ## Install
14
+
15
+ Global only (canonical scope):
16
+
17
+ ```bash
18
+ npx @event4u/agent-config init --tools=trae --global
19
+ ```
20
+
21
+ Populates:
22
+
23
+ - `~/.trae/skills/` — Anthropic-shaped skill bundle
24
+ - `~/.trae/rules/` — kernel + tier-1/2 rules
25
+ - `~/.trae/personas/` — review-lens personas
26
+
27
+ (Project-scope `--tools=trae` is rejected with exit code 1 — Trae
28
+ has no documented project-discovery convention yet.)
29
+
30
+ ## How to use
31
+
32
+ - Trae reads the skill bundle from `~/.trae/skills/` on every
33
+ session — no manual action required.
34
+ - Slash commands (`/work`, `/implement-ticket`, `/commit`,
35
+ `/create-pr`, …) ship inside the skill bundle as named skills.
36
+ Invoke them by name in chat.
37
+ - Trae exposes **Chat** and **Builder** modes; both surfaces read
38
+ the same skill bundle. Builder is the closest match for the
39
+ package's `/implement-ticket` flow.
40
+
41
+ ## Verification
42
+
43
+ ```bash
44
+ test -d ~/.trae/skills
45
+ test -d ~/.trae/rules
46
+ ```
47
+
48
+ In Trae: open the Chat panel and ask *"What is this repo?"* — the
49
+ answer should cite the AGENTS.md emergency triage block when the
50
+ workspace is open.
51
+
52
+ ## Troubleshooting
53
+
54
+ | Symptom | Fix |
55
+ |---|---|
56
+ | Skills not listed | Re-run `npx @event4u/agent-config init --tools=trae --global --force`. |
57
+ | `--tools=trae` rejected | Add `--global` (Trae has global-only scope). |
58
+ | Builder ignores rules | Reload the Trae workspace; the bundle is indexed on session start. |
59
+
60
+ ## Cross-references
61
+
62
+ - [`AGENTS.md`](../../../AGENTS.md) — canonical agent self-orientation.
63
+ - [`docs/installation.md`](../../installation.md) — install matrix index.
@@ -0,0 +1,63 @@
1
+ # Warp Setup
2
+
3
+ Warp (the AI terminal, <https://www.warp.dev>) reads the
4
+ Anthropic-shaped markdown skill bundle from its user-scope anchor
5
+ `~/.warp/`. The package deploys via the universal skill convention;
6
+ project-scope bridge is not yet wired (Phase 2.4 anchor).
7
+
8
+ ## Prerequisites
9
+
10
+ - Warp terminal: <https://www.warp.dev/download>.
11
+ - Node.js ≥ 18 for the install entrypoints.
12
+
13
+ ## Install
14
+
15
+ Global only (canonical scope):
16
+
17
+ ```bash
18
+ npx @event4u/agent-config init --tools=warp --global
19
+ ```
20
+
21
+ Populates:
22
+
23
+ - `~/.warp/skills/` — Anthropic-shaped skill bundle
24
+ - `~/.warp/rules/` — kernel + tier-1/2 rules
25
+ - `~/.warp/personas/` — review-lens personas
26
+
27
+ (Project-scope `--tools=warp` is rejected with exit code 1 — Warp
28
+ has no documented project-discovery convention yet.)
29
+
30
+ ## How to use
31
+
32
+ - Warp's **Agent Mode** reads the skill bundle from `~/.warp/skills/`
33
+ on every session — no manual action required.
34
+ - Slash commands (`/work`, `/implement-ticket`, `/commit`,
35
+ `/create-pr`, …) ship inside the skill bundle as named skills.
36
+ Invoke them by name in the Warp AI prompt.
37
+ - For repository-aware work, `cd` into the project root before
38
+ invoking Agent Mode so the agent can locate `AGENTS.md` and the
39
+ project's own `agents/` overlay.
40
+
41
+ ## Verification
42
+
43
+ ```bash
44
+ test -d ~/.warp/skills
45
+ test -d ~/.warp/rules
46
+ ```
47
+
48
+ In Warp: open Agent Mode and ask *"What is this repo?"* — the
49
+ answer should cite the AGENTS.md emergency triage block when the
50
+ working directory is inside the project.
51
+
52
+ ## Troubleshooting
53
+
54
+ | Symptom | Fix |
55
+ |---|---|
56
+ | Skills not listed | Re-run `npx @event4u/agent-config init --tools=warp --global --force`. |
57
+ | `--tools=warp` rejected | Add `--global` (Warp has global-only scope). |
58
+ | AGENTS.md not picked up | `cd` into the project root before invoking Agent Mode. |
59
+
60
+ ## Cross-references
61
+
62
+ - [`AGENTS.md`](../../../AGENTS.md) — canonical agent self-orientation.
63
+ - [`docs/installation.md`](../../installation.md) — install matrix index.