Skip to content

Commit 04a13ad

Browse files
committed
docs: add prompt template install instructions for Claude Code and Pi
The install section was missing instructions for copying prompt templates to the directories where each agent registers slash commands: - Claude Code: ~/.claude/commands/ - Pi (manual): ~/.pi/agent/prompts/ Also adds a manual install path for Pi alongside the existing `pi install`. https://claude.ai/code/session_019PYyW4ZpfWhLocWBYnypzw
1 parent 9ee2567 commit 04a13ad

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

README.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,27 @@ Tables are worse. Ask the agent to compare 15 requirements against a plan and yo
2828

2929
## Install
3030

31+
### Pi
32+
3133
```bash
32-
# Pi — installs the skill and all slash commands in one step
34+
# Installs the skill and all slash commands in one step
3335
pi install https://github.com/nicobailon/visual-explainer
3436
```
3537

36-
For Claude Code or other agents, clone into your skills directory:
38+
If you prefer a manual install, clone the repo and copy the prompts:
39+
40+
```bash
41+
git clone https://github.com/nicobailon/visual-explainer.git ~/.pi/agent/skills/visual-explainer
42+
cp ~/.pi/agent/skills/visual-explainer/prompts/*.md ~/.pi/agent/prompts/
43+
```
44+
45+
### Claude Code
46+
47+
Clone the skill, then copy the prompt templates so they register as slash commands:
3748

3849
```bash
3950
git clone https://github.com/nicobailon/visual-explainer.git ~/.claude/skills/visual-explainer
51+
cp ~/.claude/skills/visual-explainer/prompts/*.md ~/.claude/commands/
4052
```
4153

4254
If you have [surf-cli](https://github.com/nicobailon/surf-cli) installed, the skill can also generate illustrations via Gemini and embed them in pages. The agent detects surf automatically and skips image generation if it's not there.

0 commit comments

Comments
 (0)