원클릭으로
pac-pi-prompt
Author or update a Pi prompt file for this repo. Use when creating a new slash command or editing an existing prompt in prompts/.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Author or update a Pi prompt file for this repo. Use when creating a new slash command or editing an existing prompt in prompts/.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Use `uv` for Python workflows in this repo. Use when running Python scripts, adding dependencies, or replacing pip/python/venv commands.
Create a GitHub issue in the current repository with gh. Use when the user wants to capture work as an issue from Pi or through the /ghi command.
Synthesize current context into a structured PRD draft or publishable PRD artifact using a shared template. Use when the user wants a PRD from conversation context, a GitHub issue, or a saved draft path.
Zoom out from an unfamiliar code area and map how it fits into the bigger picture. Use when the user says to zoom out, go up a layer, map an area, or asks how code fits together.
Interact with GitHub using the `gh` CLI. Use when working with GitHub issues, pull requests, workflow runs, or API queries.
Cache and refresh remote git repositories under ~/.cache/checkouts/<host>/<org>/<repo> so future references can reuse a local copy. Use this skill when the user points you to a remote git repository as reference or you encountered a remote git repo through other means.
| name | pac-pi-prompt |
| description | Author or update a Pi prompt file for this repo. Use when creating a new slash command or editing an existing prompt in prompts/. |
| license | MIT |
| compatibility | Pi coding agent |
| metadata | {"author":"mypac","stage":"shared"} |
Load this skill whenever you are about to:
prompts/$@ contain?argument-hint only when the command takes meaningful arguments.$@ at the very end of the file.A prompt file is a Markdown file placed in prompts/. Pi exposes it as a slash command whose name matches the filename without the .md extension. For example, prompts/pac-foo.md becomes /pac-foo.
Use the pac- prefix for every repo-owned prompt:
prompts/pac-<name>.md
This mirrors the pac- convention used for skills and prevents collisions with prompts provided by external sources or other Pi packages.
Every prompt must have a frontmatter block at the top:
---
description: "One-line summary shown in the command palette"
argument-hint: "[optional hint shown when typing the command]"
---
description is required. Write it as a specific, action-oriented sentence that distinguishes this command from similar ones.argument-hint is optional. Include it when the command takes meaningful arguments (for example "[issue URL | todo ID | free text]"). Omit it when the command takes no arguments.Always place $@ at the very end of the prompt body.
---
description: "..."
---
[All static instructions here]
**Provided arguments**: $@
The LLM caches the static prefix of a prompt. Moving the variable part ($@) to the end ensures that only the final token(s) change between invocations, maximising cache reuse and minimising cost. Placing $@ in the middle or at the top breaks this: every invocation looks like a fresh prompt to the cache.
Keep the static body as precise as possible:
$@ may contain and how to interpret it.$@ injection — make it the last line of the file.Not every prompt needs every section. Keep simple commands simple, and add structure only when it reduces ambiguity.
Add examples when:
Add argument-hint when the command takes meaningful arguments. Skip it for no-argument prompts.
pac-<name>.md and lives under prompts/descriptionargument-hint is present only when the command takes arguments$@ appears only once and is the last thing in the file$@