prompting

Installation
SKILL.md

Prompting

Principles and techniques for writing clear, effective LLM prompts that produce consistent, high-quality output.

Core Principles

  1. Be clear and specific — Treat the model as a skilled worker with zero context. Spell out the task, audience, purpose, and what success looks like. Replace vague quantifiers ("keep it short") with concrete ones ("2-3 sentences").
  2. Say what TO do, not what NOT to do — Positive instructions ("respond in formal tone") outperform negative ones ("don't be casual").
  3. Structure the prompt — Use sections, headers, or delimiters to separate role, instructions, context, examples, and output format.
  4. Set a role — A specific persona improves accuracy, tone, and depth. Be precise: "You are a senior backend engineer reviewing a pull request" beats "You are a developer."
  5. Specify the output format — Never assume defaults. Define: format (bullets, JSON, prose), length, tone, structure.
  6. Provide examples — 3-5 diverse examples dramatically improve output quality. Examples should be relevant, varied, and clearly delimited.
  7. Give context — Who is the audience, what is the purpose, where does this fit in a larger workflow.
  8. Let it think — For complex tasks, instruct step-by-step reasoning. Don't suppress the thinking.
  9. Permit uncertainty — Let the model say "I don't know" rather than fabricate answers.

Prompt Structure Template

Related skills
Installs
4
GitHub Stars
2
First Seen
Mar 10, 2026