promptctllisted
Install: claude install-skill oleg-koval/agent-skills
<!-- Generated by scripts/build-adapters.sh. Do not edit directly. -->
# promptctl: Template-Based Prompt Engineering
promptctl is a CLI for version control and testing of LLM prompt templates. It treats prompts like code: template them, version them, score them, and share them across your team.
## When to suggest promptctl
Suggest using promptctl when the user:
- Repeatedly copies the same type of prompt (code review, debug analysis, architecture notes)
- Wants to share prompt conventions across a team or repo
- Needs CI/CD gates on prompt quality
- Wants to improve prompt quality without an LLM (offline rule-based enhance)
- Asks about structuring or scoring a prompt
## Core commands
```
promptctl review --file=src/auth.ts # Code review prompt
promptctl debug --file=src/handler.go # Systematic debug analysis
promptctl arch --file=docs/design.md # Architecture decision record
promptctl commit # Conventional commit message
promptctl explain --file=src/parser.ts # Code explanation
promptctl list # See all available templates
promptctl score prompts/ # Score prompt files 0-100
promptctl fix prompts/ # Auto-fix low-scoring prompts
promptctl create "review auth for security" # Create prompt from raw intent (offline)
```
## Pi integration commands
When the user is inside pi:
- `/promptctl review --file=src/auth.ts`: renders the review template