Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 7 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,21 +36,17 @@ This skill fixes that. Real typography, dark/light themes, interactive Mermaid d

Note: Claude Code plugins namespace commands as `/visual-explainer:command-name`.

**Pi (manual):**
**Pi:**
```bash
# Clone the repo
git clone --depth 1 https://github.com/nicobailon/visual-explainer.git /tmp/visual-explainer

# Install skill
cp -r /tmp/visual-explainer/plugins/visual-explainer ~/.pi/agent/skills/visual-explainer
# Install globally
pi install git:github.com/nicobailon/visual-explainer

# Install prompt templates (slash commands)
cp /tmp/visual-explainer/plugins/visual-explainer/commands/*.md ~/.pi/agent/prompts/

# Cleanup
rm -rf /tmp/visual-explainer
# Or install for just the current project
pi install -l git:github.com/nicobailon/visual-explainer
```

This loads the `visual-explainer` skill plus the prompt templates (`/diff-review`, `/plan-review`, `/generate-web-diagram`, etc.) directly from the git repo.

**OpenAI Codex:**
```bash
git clone --depth 1 https://github.com/nicobailon/visual-explainer.git /tmp/visual-explainer
Expand Down
11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
"name": "visual-explainer",
"version": "0.5.1",
"description": "Agent skill that generates beautiful HTML pages for diagrams, diff reviews, plan reviews, and data tables",
"keywords": [
"claude-code-plugin",
"agent-skill"
],
"license": "MIT"
"keywords": ["claude-code-plugin", "agent-skill", "pi-package"],
"license": "MIT",
"pi": {
"skills": ["./plugins/visual-explainer"],
"prompts": ["./plugins/visual-explainer/commands"]
}
}
4 changes: 2 additions & 2 deletions plugins/visual-explainer/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -363,12 +363,12 @@ Share visual explainer pages instantly via Vercel. No account or authentication

**Usage:**
```bash
bash {{skill_dir}}/scripts/share.sh <html-file>
bash ./scripts/share.sh <html-file>
```

**Example:**
```bash
bash {{skill_dir}}/scripts/share.sh ~/.agent/diagrams/my-diagram.html
bash ./scripts/share.sh ~/.agent/diagrams/my-diagram.html

# Output:
# ✓ Shared successfully!
Expand Down
4 changes: 3 additions & 1 deletion plugins/visual-explainer/commands/share.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,10 @@ No Vercel account, Cloudflare account, or API keys needed. The deployment is "cl

## Script Location

After loading the `visual-explainer` skill, run the script relative to the skill directory:

```bash
bash {{skill_dir}}/scripts/share.sh <file>
bash ./scripts/share.sh <file>
```

## Output
Expand Down