Skip to content

Commit 1523252

Browse files
committed
docs: recommend install by audience — Homebrew for devs, plugin/.mcpb for non-experts
- recommendation reframed by who you are, not just your agent: Homebrew (CLI/developers) · Claude Code plugin & Claude Desktop .mcpb (one-click, non-expert) - README: Homebrew promoted to a first-class section (first), one-click options next, and npx / manual config / other agents / claude.ai moved into collapsible <details> - docs: 'Which method is right for you?' + a Best-for table in install/index; Recommended admonitions on the homebrew / plugin / claude-desktop pages - sidebar: Installation reordered to mirror the preferred order (Homebrew first) Docusaurus build clean (no broken links).
1 parent ceec1de commit 1523252

6 files changed

Lines changed: 94 additions & 64 deletions

File tree

README.md

Lines changed: 51 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -53,27 +53,43 @@ flowchart TD
5353

5454
devcoach runs **locally** — a stdio MCP server that stores everything in `~/.devcoach/coaching.db` on the machine where your agent runs. It works in **Claude Code** and **Claude Desktop**, but **not** on claude.ai web (which only supports hosted/remote connectors). Requires **Node.js ≥ 24**.
5555

56-
Pick the method that matches your setup — each section below is self-contained (install **and** connect):
56+
**Pick by how you like to work** — each section is self-contained (install **and** connect):
5757

58-
| Your setup | Method |
59-
|------------|--------|
60-
| **Claude Code** | **1. Plugin** — bundles the MCP server, hooks & skill in one install *(recommended)* |
61-
| **Claude Code, Cursor, Windsurf, Cline, …** | **2. npx CLI**`npx -y devcoach install` |
62-
| **macOS / Linux** | **3. Homebrew** |
63-
| **Claude Desktop** | **4. One-click extension** (`.mcpb`) |
64-
| **claude.ai web** | **5. Skill copy** |
58+
- **Developer, comfortable in a terminal → [Homebrew](#homebrew-recommended-for-developers)** — one `brew install`, and you get the `devcoach` CLI too.
59+
- **Prefer a one-click, no-terminal setup → the [Claude Code plugin](#claude-code-plugin-recommended-for-claude-code) or the [`.mcpb` extension](#claude-desktop-extension-mcpb-recommended-for-claude-desktop)**.
60+
- Anything else (npx, manual config, other agents, claude.ai web) is under **[Other install methods](#other-install-methods)**.
6561

66-
### 1. Claude Code plugin (recommended)
62+
### Homebrew (recommended for developers)
6763

68-
The plugin bundles **everything** — the MCP server, the automatic-coaching Stop hooks, and the coaching skill — so there's nothing else to wire up and **no need to run `devcoach install`** (don't do both, or the Stop hooks get registered twice).
64+
macOS / Linux. Add and trust the tap once, install, then connect — you also get the **`devcoach` CLI** (so [`devcoach ui`](#web-dashboard) and the [CLI](docs/usage/cli.md) work without an `npx` prefix):
65+
66+
```bash
67+
# 1. Add the tap — registers github.com/UltimaPhoenix/homebrew-tap with Homebrew
68+
brew tap UltimaPhoenix/tap
69+
70+
# 2. Trust the whole tap — required when Homebrew enforces HOMEBREW_REQUIRE_TAP_TRUST
71+
brew trust --tap UltimaPhoenix/tap
72+
73+
# 3. Install
74+
brew install devcoach
75+
76+
# 4. Connect (Homebrew puts `devcoach` on your PATH — no `npx -y` prefix needed)
77+
devcoach install
78+
```
79+
80+
`brew tap` registers the third-party repository; `brew trust --tap` marks it trusted so Homebrew will load its formulae when `HOMEBREW_REQUIRE_TAP_TRUST` is set. Both are one-time. To update later: `brew upgrade devcoach`. One-liner: `brew install UltimaPhoenix/tap/devcoach` (run `brew trust --tap UltimaPhoenix/tap` first if your Homebrew enforces tap trust). The formula declares `depends_on "node"`, so Homebrew pulls in a recent Node automatically.
81+
82+
### Claude Code plugin (recommended for Claude Code)
83+
84+
The simplest way to add devcoach to **Claude Code** — one click, nothing to configure. It bundles **everything** (MCP server + automatic-coaching Stop hooks + skill), so **don't also run `devcoach install`** (or the Stop hooks get registered twice).
6985

7086
```bash
7187
# Add the marketplace once, then install (you can install any UltimaPhoenix plugin from it later)
7288
/plugin marketplace add UltimaPhoenix/claude-plugins-marketplace
7389
/plugin install devcoach@ultimaphoenix
7490
```
7591

76-
The MCP server, hooks, and skill activate on install — no restart needed.
92+
The MCP server, hooks, and skill activate on install — no restart needed. The plugin **does not** add the `devcoach` CLI, so run the dashboard or CLI with `npx -y devcoach ui` (or use Homebrew / `npm i -g devcoach` for a bare `devcoach`).
7793

7894
<details>
7995
<summary><strong>Other ways to install the plugin</strong> (straight from the repo · offline zip)</summary>
@@ -90,9 +106,23 @@ The MCP server, hooks, and skill activate on install — no restart needed.
90106

91107
</details>
92108

93-
The plugin runs the published `devcoach` npm package via `npx`, so it needs **Node.js ≥ 24** and runs **locally only**. See [Claude Code plugin](docs/install/claude-code-plugin.md) for how it works.
109+
See [Claude Code plugin](docs/install/claude-code-plugin.md) for how it works.
110+
111+
### Claude Desktop extension (`.mcpb`) (recommended for Claude Desktop)
112+
113+
A single bundle that runs on Claude Desktop's built-in runtime — no Node or terminal needed:
114+
115+
```bash
116+
npm run mcpb # → dist-mcpb/devcoach-<version>.mcpb
117+
# Claude Desktop → Settings → Extensions → Install Extension… → pick the .mcpb
118+
```
119+
120+
`npm run mcpb:sign` self-signs it (installs as an *unverified publisher*; a real code-signing cert is needed for a verified signature). Prebuilt `.mcpb` releases and a Desktop directory listing are planned.
121+
122+
### Other install methods
94123

95-
### 2. npx CLI (any MCP agent)
124+
<details>
125+
<summary><strong>npx / npm CLI</strong> (any MCP agent — no install)</summary>
96126

97127
No install required — `npx` runs devcoach on demand. For **Claude Code** and **Claude Desktop**, one command registers the MCP server and wires up automatic lesson delivery:
98128

@@ -102,6 +132,8 @@ npx -y devcoach install
102132

103133
Restart your agent afterward. Prefer a global binary? `npm install -g devcoach`, then run `devcoach install` (and drop the `npx -y` prefix everywhere).
104134

135+
</details>
136+
105137
<details>
106138
<summary><strong>Manual MCP config for Claude Code</strong> (if <code>devcoach install</code> isn't available)</summary>
107139

@@ -134,12 +166,12 @@ Then add the Stop hooks to `~/.claude/settings.json` for automatic lesson delive
134166
```
135167

136168
> Tip: a global install puts `devcoach` on your `PATH`, so you can drop the `npx -y` prefix. `devcoach install` detects this automatically.
137-
> **Using the [Claude Code plugin](#1-claude-code-plugin-recommended)?** Skip the hooks above — the plugin already provides them.
169+
> **Using the Claude Code plugin (above)?** Skip the hooks here — the plugin already provides them.
138170
139171
</details>
140172

141173
<details>
142-
<summary><strong>Other agents</strong> (Cursor, Windsurf, Cline, Continue, Zed…)</summary>
174+
<summary><strong>Other MCP agents</strong> (Cursor, Windsurf, Cline, Continue, Zed…)</summary>
143175

144176
Add this to your agent's MCP config file:
145177

@@ -166,38 +198,8 @@ Add this to your agent's MCP config file:
166198
167199
</details>
168200

169-
### 3. Homebrew (macOS / Linux)
170-
171-
devcoach ships from its own tap. Add and trust the repository once, install, then connect:
172-
173-
```bash
174-
# 1. Add the tap — registers github.com/UltimaPhoenix/homebrew-tap with Homebrew
175-
brew tap UltimaPhoenix/tap
176-
177-
# 2. Trust the whole tap — required when Homebrew enforces HOMEBREW_REQUIRE_TAP_TRUST
178-
brew trust --tap UltimaPhoenix/tap
179-
180-
# 3. Install
181-
brew install devcoach
182-
183-
# 4. Connect (Homebrew puts `devcoach` on your PATH — no `npx -y` prefix needed)
184-
devcoach install
185-
```
186-
187-
`brew tap` registers the third-party repository; `brew trust --tap` marks it trusted so Homebrew will load its formulae when `HOMEBREW_REQUIRE_TAP_TRUST` is set. Both are one-time. To update later: `brew upgrade devcoach`. One-liner: `brew install UltimaPhoenix/tap/devcoach` (run `brew trust --tap UltimaPhoenix/tap` first if your Homebrew enforces tap trust). The formula declares `depends_on "node"`, so Homebrew pulls in a recent Node automatically.
188-
189-
### 4. Claude Desktop extension (`.mcpb`)
190-
191-
A single bundle that runs on Claude Desktop's built-in runtime — no Node or terminal needed:
192-
193-
```bash
194-
npm run mcpb # → dist-mcpb/devcoach-<version>.mcpb
195-
# Claude Desktop → Settings → Extensions → Install Extension… → pick the .mcpb
196-
```
197-
198-
`npm run mcpb:sign` self-signs it (installs as an *unverified publisher*; a real code-signing cert is needed for a verified signature). Prebuilt `.mcpb` releases and a Desktop directory listing are planned.
199-
200-
### 5. claude.ai web (skill copy)
201+
<details>
202+
<summary><strong>claude.ai web</strong> (skill copy — no MCP)</summary>
201203

202204
Claude.ai does not support MCP servers. Install the coaching instructions as a skill instead:
203205

@@ -209,6 +211,8 @@ This gives claude.ai the coaching behaviour without the MCP tools (lesson loggin
209211

210212
> **Keep the skill up to date.** For Claude Code / Claude Desktop, the skill is served automatically (via the MCP prompt or the plugin) and is always current. If you copied it manually to claude.ai, re-paste the latest `SKILL.md` after each devcoach update.
211213
214+
</details>
215+
212216
---
213217

214218
## Onboarding

docs/install/claude-code-plugin.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Claude Code plugin
22

3+
:::tip Recommended if you'd rather not use a terminal
4+
This is the simplest way to add devcoach to Claude Code — one click, nothing to configure. (Prefer the
5+
terminal and want the `devcoach` CLI too? Use [Homebrew](./homebrew.md) instead.)
6+
:::
7+
38
devcoach ships as a **Claude Code plugin** that bundles everything in one install:
49

510
- the **MCP server** (13 tools, 9 resources, the `devcoach_instructions` prompt),

docs/install/claude-desktop.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ sidebar_label: Claude Desktop (.mcpb)
55

66
# Claude Desktop extension (`.mcpb`)
77

8+
:::tip Recommended for Claude Desktop
9+
The simplest, no-terminal way to add devcoach to Claude Desktop — one click, runs on Desktop's built-in
10+
runtime.
11+
:::
12+
813
A single bundle that runs on Claude Desktop's built-in runtime — no Node or terminal required:
914

1015
```bash

docs/install/homebrew.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ title: Homebrew
44

55
# Homebrew (macOS / Linux)
66

7+
:::tip Recommended for developers
8+
If you work in a terminal, this is the best fit: a single `brew install` sets up devcoach **and** the
9+
`devcoach` CLI, so the [command line](../usage/cli.md) and `devcoach ui` work directly (no `npx` prefix).
10+
:::
11+
712
devcoach ships from its own tap. Add and trust the repository once, install, then connect:
813

914
```bash

docs/install/index.md

Lines changed: 25 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,31 @@ machine where your agent runs. It works in **Claude Code** and **Claude Desktop*
1010
web (which only supports hosted/remote connectors — see [Privacy & security](../reference/privacy.md)).
1111
Requires **Node.js ≥ 24**.
1212

13-
## Pick a method
14-
15-
| Your setup | Method |
16-
|---|---|
17-
| **Claude Code** | **[Claude Code plugin](./claude-code-plugin.md)** — bundles the MCP server, hooks & skill in one install *(recommended)* |
18-
| **Any MCP agent** (Claude Code, Cursor, Windsurf, …) | **[npx / npm CLI](./npx.md)**`npx -y devcoach install` |
19-
| **macOS / Linux** | **[Homebrew](./homebrew.md)** |
20-
| **Claude Desktop** | **[One-click extension (`.mcpb`)](./claude-desktop.md)** |
21-
| **Cursor / Windsurf / Cline / Continue / Zed** | **[Other MCP agents](./other-agents.md)** |
22-
| **claude.ai web** | **[Skill copy](./claude-ai.md)** |
23-
24-
The recommended path is the **[Claude Code plugin](./claude-code-plugin.md)** (everything in one install),
25-
or **[npx](./npx.md)** for any other MCP agent — no global install, always the latest version. Each page
26-
below is self-contained: it covers **install *and* connect**.
13+
## Which method is right for you?
14+
15+
devcoach works the same whichever way you install it — pick by how you like to work:
16+
17+
- **Developer, comfortable in a terminal → [Homebrew](./homebrew.md)** (macOS / Linux). One
18+
`brew install` sets up devcoach **and** the `devcoach` CLI, so you also get the
19+
[command line](../usage/cli.md) and can launch the [dashboard](../usage/web-ui.md) with a bare
20+
`devcoach ui`. *(On Windows, or if you prefer npm, [npx / npm](./npx.md) is the equivalent.)*
21+
- **Prefer the simplest, no-terminal setup → the [Claude Code plugin](./claude-code-plugin.md)**
22+
(one-click from the marketplace) or, on Claude Desktop, the **[`.mcpb` extension](./claude-desktop.md)**.
23+
Nothing to configure — install and go. *(These don't add the `devcoach` CLI; run CLI commands with
24+
`npx -y devcoach …` if you ever need them.)*
25+
26+
## All methods
27+
28+
| Method | Best for | Terminal? |
29+
|---|---|---|
30+
| **[Homebrew](./homebrew.md)** | **Developers on macOS / Linux who use the CLI** (recommended) | Yes |
31+
| **[Claude Code plugin](./claude-code-plugin.md)** | **Non-expert Claude Code users — one-click setup** (recommended) | No |
32+
| **[Claude Desktop (`.mcpb`)](./claude-desktop.md)** | **Non-expert Claude Desktop users — one-click setup** (recommended) | No |
33+
| **[npx / npm CLI](./npx.md)** | Any MCP agent · Windows · npm workflows | Yes |
34+
| **[Other MCP agents](./other-agents.md)** | Cursor, Windsurf, Cline, Continue, Zed | Yes |
35+
| **[claude.ai web](./claude-ai.md)** | claude.ai (skill-only, no MCP) ||
36+
37+
Each page below is self-contained: it covers **install *and* connect**.
2738

2839
→ Next: once installed, head to **[Coaching in your agent](../usage/coaching.md)** for onboarding and your
2940
first lesson.

website/sidebars.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ const sidebars: SidebarsConfig = {
1212
collapsed: false,
1313
link: { type: "doc", id: "install/index" },
1414
items: [
15-
"install/claude-code-plugin",
16-
"install/npx",
1715
"install/homebrew",
16+
"install/claude-code-plugin",
1817
"install/claude-desktop",
19-
"install/claude-ai",
18+
"install/npx",
2019
"install/other-agents",
20+
"install/claude-ai",
2121
],
2222
},
2323
{

0 commit comments

Comments
 (0)