Przejdź do treści
Biblioteka skilli
AI i agenci · Pisanie

prompt-template

/prompt-template

Podaje kanoniczną budowę prompta: rola, kontekst, zadanie, ograniczenia i format, oraz zasady dla promptów w automatyzacjach.

Licencja
MIT
Ostatnia zmiana repozytorium
12.11.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
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 12.11.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

Podaje kanoniczną budowę prompta: rola, kontekst, zadanie, ograniczenia i format, oraz zasady dla promptów w automatyzacjach.

Oryginalny opis (EN)

A canonical prompt anatomy (ROLE / CONTEXT / TASK / CONSTRAINTS / OUTPUT), a tier table for when to use how much structure, and hard rules for prompts inside automation flows (Make.com, n8n, Zapier AI steps) and Claude Code sessions. Use when writing or reviewing a prompt, a system prompt, an AI module inside an automation, or an agent instruction set. In this kit it is also the shape for the scoping and estimating briefs you hand to Claude.

Jak działa

SKILL.md bez nagłówków drugiego poziomu · 89 linii, 608 słów

Podgląd SKILL.md
---
name: prompt-template
description: A canonical prompt anatomy (ROLE / CONTEXT / TASK / CONSTRAINTS / OUTPUT), a tier table for when to use how much structure, and hard rules for prompts inside automation flows (Make.com, n8n, Zapier AI steps) and Claude Code sessions. Use when writing or reviewing a prompt, a system prompt, an AI module inside an automation, or an agent instruction set. In this kit it is also the shape for the scoping and estimating briefs you hand to Claude.
---

# Prompt structure (canonical template)

Every non-trivial prompt (to Claude, in an automation flow, or in an agent system prompt) follows this anatomy:

```
[ROLE]        Who the model is / what persona it's operating as
[CONTEXT]     What situation, project, or data it's working with
[TASK]        What exactly it must produce (verb-first, specific)
[CONSTRAINTS] What it must NOT do (format, scope, tone, data boundaries)
[OUTPUT]      Exact shape of the response (length, format, fields, language)
```

### Full example (AI step in a CRM automation)

```
[ROLE]
You are a booking assistant for a small physiotherapy clinic.

[CONTEXT]
A new lead has just submitted the website contact form. Their data is in
{{contact.first_name}}, {{contact.email}}, {{contact.phone}}. They asked about {{form.service}}.

[TASK]
Write a personalised first-touch SMS. Use the lead's first name and the service they asked
about. The goal is to book a free 15-minute call.

[CONSTRAINTS]
- Do not mention pricing.
- Do not make guarantees about results.
- Max 3 sentences.

[OUTPUT]
Plain text. No labels, no quotes, no markdown. Ready to send as-is.
```

### Example (scoping brief for Claude Code, using this kit)

```
[ROLE]
You are scoping a feature list for a client, using the scoping and time-estimation skills.

[CONTEXT]
The client's request list is in requests.md. The app repo is this folder. Their CRM is
connected through the CRM's MCP server.

[TASK]
Verify every item against the repo and the CRM, classify each by cost profile, estimate
the net-new and partly-built items, and package them into monthly batches of 20 hours.

[CONSTRAINTS]
- No estimate for any item you have not verified. Label unverified items.
- No hours in the client-facing doc.

[OUTPUT]
Two markdown files: scope-internal.md and scope-client.md, following templates.md.
```

---

### Prompt tiers: when to use what

| Tier | Use when | Structure needed |
|------|----------|-----------------|
| **Quick ask** | Single fact, lookup, short task | None, just ask |
| **Task prompt** | Generating content, writing a flow, analysing data | TASK + OUTPUT minimum |
| **Agent system prompt** | Claude Code session, automation AI module, voice agent | Full ROLE + CONTEXT + TASK + CONSTRAINTS + OUTPUT |
| **Multi-step chain** | Sequential agents or modules passing data | Each step gets its own mini-prompt; define the handoff schema (JSON field names) explicitly |

---

### Rules for prompts in automation flows (Make.com / n8n / Zapier)

1. **One task per module.** Never chain "summarise AND translate AND format" in one prompt. Split into sequential AI modules.
2. **Name your output fields explicitly.** Tell the model: "Return JSON with fields: `message`, `language`, `confidence`." Never free text when downstream modules parse the response.
3. **Inject dynamic data via variables, not in the system prompt.** System prompt = stable instructions. User message = dynamic context (contact data, form values, prior step output).
4. **Set temperature explicitly.** Creative copy: 0.7-0.9. Classification or extraction: 0.0-0.2. Structured output: 0.0.
5. **Add a fallback instruction.** "If you cannot determine X, return `null` for that field. Never guess."

---

### Rules for Claude Code / Claude API prompts

1. **Be the spec, not the vibe.** "Build a webhook handler for the CRM that..." beats "Can you help me with a webhook?" Specific = faster = fewer back-and-forths.
2. **State what already exists.** "There's already a `webhookRouter.js` in `/api/routes/`. Add a new endpoint there, don't create a new file."
3. **Scope the blast radius.** "Only touch `ContactService.js` and its test file. Don't refactor anything else."
4. **Specify the output contract.** "Return the finished code only. No explanation. No markdown wrapper."
5. **For multi-file work:** list the files involved upfront so Claude reads them before acting.

Wersje

W bazie nie ma innych skilli o nazwie prompt-template.

Migawka bazy z 13.11.2026 · wersja paczki 97ca9791712e (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 1 · ranking

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

Podobne skille

  • 100prompt-to-skill
    Zamienia długi, powtarzany prompt w porządny skill: oddziela wyzwalacz, metodę, wynik i reguły oraz pokazuje zmiany przed i po.
  • 100prompt-improver
    Zamienia luźną prośbę lub słaby prompt w mocny, sprawdzając rolę, kontekst, polecenie, format, ograniczenia i przykłady.
  • 100prompt-engineer
    Zamienia niejasne zlecenie w ustrukturyzowany, niezawodny prompt (rola, kontekst, zadanie, format, obsługa błędów, przykłady few-shot), także z obroną przed prompt injection z danych użytkownika.
  • 100prompt-optimization
    Prowadzi budowę, przegląd i optymalizację promptów systemowych i szablonów dla LLM: struktura, mniejsze zużycie tokenów, kompresja, jasność oraz sprawdzanie bezpieczeństwa i stronniczości.
  • 95system-vs-user-prompt
    Wyjaśnia, co umieszczać w system prompt, a co w user prompt, i uzasadnia ten podział przy projektowaniu wywołań API.
  • 100condensing-instructions
    Odchudza dokument instrukcji dla modeli Claude 5: usuwa reguły pokrywane osądem modelu i przenosi szczegóły do system prompta, CLAUDE.md, skilla lub referencji.

Uwagi i zgłoszenia

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