Skip to content

Commit 6f3f8d9

Browse files
committed
chore: rely on MCP prompt only — remove local skill copy and update CLAUDE.md
1 parent 7bf9910 commit 6f3f8d9

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

CLAUDE.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,16 +63,16 @@ support MCP prompts (Claude Code, Claude Desktop) load it automatically when con
6363
to the server — no separate SKILL.md installation needed.
6464

6565
The prompt is read at runtime directly from `SKILL.md` bundled inside the package.
66-
`SKILL.md` is therefore the **single source of truth** for coaching behaviour: update
67-
it once and both the MCP prompt and any separately installed skill reflect the change.
66+
`SKILL.md` is the **single source of truth** for coaching behaviour: update it once
67+
and the change is live for all connected clients on the next server restart.
6868

6969
```python
7070
# server.py
7171
import importlib.resources
7272

7373
@mcp.prompt()
7474
def devcoach_instructions() -> str:
75-
return importlib.resources.read_text("devcoach", "SKILL.md")
75+
return importlib.resources.files("devcoach").joinpath("SKILL.md").read_text(encoding="utf-8")
7676
```
7777

7878
`SKILL.md` must be declared as package data in `pyproject.toml`:
@@ -85,8 +85,8 @@ packages = ["src/devcoach"]
8585
"src/devcoach/SKILL.md" = "devcoach/SKILL.md"
8686
```
8787

88-
For clients that do **not** support MCP prompts (claude.ai web), install the
89-
`.skill` file generated from the same `SKILL.md` via the Claude.ai Skills settings.
88+
For claude.ai web (which does not support MCP prompts), copy the content of
89+
`src/devcoach/SKILL.md` into the Claude.ai Skills settings manually.
9090

9191
---
9292

0 commit comments

Comments
 (0)