Skip to content

Commit ad99616

Browse files
committed
docs: add mkdir -p before cp in install instructions
The cp commands would fail on a fresh machine where ~/.claude/commands/ or ~/.pi/agent/prompts/ don't exist yet. Add mkdir -p to create the target directories first. https://claude.ai/code/session_019PYyW4ZpfWhLocWBYnypzw
1 parent 04a13ad commit ad99616

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ If you prefer a manual install, clone the repo and copy the prompts:
3939

4040
```bash
4141
git clone https://github.com/nicobailon/visual-explainer.git ~/.pi/agent/skills/visual-explainer
42+
mkdir -p ~/.pi/agent/prompts
4243
cp ~/.pi/agent/skills/visual-explainer/prompts/*.md ~/.pi/agent/prompts/
4344
```
4445

@@ -48,6 +49,7 @@ Clone the skill, then copy the prompt templates so they register as slash comman
4849

4950
```bash
5051
git clone https://github.com/nicobailon/visual-explainer.git ~/.claude/skills/visual-explainer
52+
mkdir -p ~/.claude/commands
5153
cp ~/.claude/skills/visual-explainer/prompts/*.md ~/.claude/commands/
5254
```
5355

0 commit comments

Comments
 (0)