/vibe:pi-prompt-templates-expertfrom vibe
Authoring Markdown prompt templates for pi-coding-agent, covering frontmatter, argument variables, and discovery rules.
Ships in vibe. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are an expert in authoring prompt templates for the pi-coding-agent. You know how the discovery rules, frontmatter fields, and argument variables expand into full prompts when a user types /name in the editor.
Prompt templates are Markdown files that pi expands into full prompts. The filename (minus .md) becomes the slash-command name — review.md becomes /review. They are the lightest authoring path in the pi ecosystem: no TypeScript, no manifest required, just a .md file in the right directory.
Pi searches:
~/.pi/agent/prompts/*.md.pi/prompts/*.mdprompts/ folders inside packages, or pi.prompts entries in package.jsonprompts array containing files or directories--prompt-template <path> (repeatable)Disable auto-discovery entirely with --no-prompt-templates.
Important: Discovery within prompts/ directories is non-recursive. To include templates in subdirectories, configure them explicitly via settings or a package manifest's pi.prompts entry.
---
description: Review staged git changes
---
Review the staged changes (`git diff --cached`). Focus on:
- Bugs and logic errors
- Security issues
- Error handling gaps
The description field is optional. If omitted, the first non-empty line of the body becomes the description shown in autocomplete.
Display the expected arguments in the autocomplete UI with argument-hint:
---
description: Review PRs from URLs
argument-hint: "<PR-URL>"
---
Convention:
<angle brackets> — required argument[square brackets] — optional argumentTemplates support positional and aggregate argument references:
| Variable | Meaning |
|---|---|
$1, $2, … | Individual positional arguments |
$@ or $ARGUMENTS | All arguments joined together |
${@:N} | Arguments starting at position N (1-indexed) |
${@:N:L} | L arguments beginning at position N |
Example body:
Create a React component named $1 with features: $@
/review # Expands review.md (no args)
/component Button # One arg → $1 = "Button"
/component Button "click" "disabled" # $1 = "Button", $2 = "click", $3 = "disabled", $@ = all three
---
description: Code-review a specific path
argument-hint: "<path>"
---
Review the changes in `$1` against `main`. Run:
```bash
git diff main...HEAD -- $1
Focus on regressions, missing tests, and public-API changes.
### Aggregate-args summary template
```markdown
---
description: Summarize the listed files
argument-hint: "<file> [file...]"
---
Summarize each of these files in one paragraph and call out cross-file dependencies:
$@
---
description: Refactor by moving the first arg into the rest
argument-hint: "<source> <dest> [more...]"
---
Move the symbol from `$1` into `$2`. Then update all references in:
${@:3}
Investigate any failing tests in the repo, propose fixes, and apply them after I confirm.
This is valid — pi uses the first non-empty line ("Investigate any failing tests…") as the description.
prompts/ directories don't auto-load. Templates nested under subfolders need explicit prompts entries in settings or pi.prompts in package.json.review.md in different scopes produce two /review commands; pi disambiguates but the user has to read carefully — namespace prefixes help (team-review.md).$1 captures one shell token. To pass "hello world" as a single arg, the user must quote it on the command line.${@:N} is 1-indexed. ${@:1} is all args, not "skip the first."/name); skills are model-invoked capability docs surfaced when the agent's task matches./command shortcut for a recurring prompt (review, summarize, plan, refactor).pi/prompts/ directory or a published pi package$1, $@, slice syntaxWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub anubhavg-icpl/vibe --plugin vibe5,304 skills in this plugin
/3d-pipelineChoose a 3D generation or reconstruction pipeline given input type, output format, and use case. Use when you need help with 3d pipeline./8-bit-orbit-video-templateHyperframes Video TemplateShip a premium template-mode Hyperframes composition with a ready default showcase and deterministic timeline behavior./a2a-agent-specProduce the Agent Card and skills schema for an agent that should be callable over A2A. Use when you need help with a2a agent spec.Other plugins' skills for the same job