Przejdź do treści
Biblioteka skilli
AI i agenci · Integracja z narzędziem

promptctl

/promptctl

Zarządza promptami wielokrotnego użytku przez CLI promptctl: inżynieria promptów na szablonach, generowanie promptów i ocena promptu przed wypuszczeniem.

Repozytorium
agent-skills ↗
Licencja
MIT
Ostatnia zmiana repozytorium
24.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
2
Przestarzałość

Brak sygnałów. Repozytorium zmienione 24.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Zarządza promptami wielokrotnego użytku przez CLI promptctl: inżynieria promptów na szablonach, generowanie promptów i ocena promptu przed wypuszczeniem.

Wyzwalacze z opisu

write a reusable promptscore this promptturn this into a prompt templateshare prompts across repos
Oryginalny opis (EN)

Manage reusable prompts with the promptctl CLI: template-based prompt engineering, prompt generation, and scoring a prompt before it ships. Use when the user wants to "write a reusable prompt", "score this prompt", "turn this into a prompt template", "share prompts across repos", or names promptctl directly. For bringing an agent skill into this catalog use add-to-my-skills.

Jak działa

  1. When to suggest promptctl
  2. Core commands
  3. Pi integration commands
  4. Key capabilities
  5. Example workflows
  6. Resources
Sekcje z nagłówków SKILL.md, w oryginale · 75 linii, 369 słów
Podgląd SKILL.md
---
name: promptctl
description: >
  Manage reusable prompts with the promptctl CLI: template-based prompt engineering, prompt
  generation, and scoring a prompt before it ships. Use when the user wants to "write a reusable
  prompt", "score this prompt", "turn this into a prompt template", "share prompts across repos",
  or names promptctl directly. For bringing an agent skill into this catalog use
  add-to-my-skills.
license: MIT
allowed-tools: Bash, Read, Write
compatibility: Codex, Claude Code, Cursor, GitHub Copilot, Windsurf, Kiro, and other Agent Skills compatible tools. Requires promptctl to be installed when the workflow depends on the CLI.
metadata:
  targets: [_source-only]
  author: Oleg Koval
  tags:
    - prompts
    - prompt-engineering
    - templates
    - cli
---

# 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 and injects it as the next user message
- `/quick-templates`: lists all available templates
- `/cost-score <file>`: scores a prompt file on structure and clarity
- The `promptctl_apply` tool can be called by the LLM directly to render a template

## Key capabilities

- Templates are YAML files with `{{.variable}}` substitution, stored in `~/.promptctl/templates/` or `.promptctl/templates/` in your project
- `--file=path` auto-populates `{{.file_content}}`, `{{.file_name}}`, `{{.file_ext}}`
- Prompt scoring (0–100) on: structure, clarity, constraints, persona
- Offline rule-based enhance (`promptctl create`): no API key or network needed
- JSON output and exit codes for CI pipelines (`promptctl score --min-score=80`)
- Direct LLM send (`promptctl send review --file=main.go`) with Anthropic/OpenAI support

## Example workflows

**Code review in pi:**
```
/promptctl review --file=src/payments.ts --focus=security
```

**Debug analysis:**
```
/promptctl debug --file=src/worker.go --error="context deadline exceeded"
```

**Improve a prompt file:**
```
promptctl score my-prompt.md
promptctl fix my-prompt.md
```

**Create a new structured prompt from intent (offline):**
```
promptctl create "analyze this Go function for race conditions"
```

## Resources

- GitHub: https://github.com/oleg-koval/promptctl
- Website: https://prompt-ctl.com
- Install: `brew tap oleg-koval/tap && brew install promptctl`

Wersje

RepozytoriumWynikLicencja
Ta strona · oleg-koval/agent-skills100MIT
oleg-koval/agent-skills100MIT

Migawka bazy z 28.10.2026 · wersja paczki b2472c756edb (skrót SHA-256 całej paczki)

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 98add-prompt
    Tworzy szablon promptu MCP do wielokrotnego użycia, gdy trzeba zdefiniować komunikat dla interakcji z LLM.
  • 100ctx-prompt
    Stosuje, wyświetla i zarządza zapisanymi szablonami promptów z .context/prompts/, takimi jak code-review czy refactor.
  • 100cursor-custom-prompts
    Tworzy skuteczne własne prompty dla Cursor AI z użyciem reguł projektu, wzorców prompt engineeringu i szablonów wielokrotnego użytku.
  • 100prompt-engineering
    Zapewnia ramy inżynierii promptów do projektowania, optymalizowania i iteracyjnego ulepszania promptów LLM oraz instrukcji dla AI.
  • 100prompt-governance
    Audytuje prompty pod kątem bezpieczeństwa i podatności na injection, prowadzi katalog promptów, wersjonuje je i ocenia jakość oraz zgodność.
  • 95prompt-engineering
    Pisze i optymalizuje prompty dla poleceń, hooków, skilli i podagentów oraz szablony promptów do produkcji.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.