Skip to content
Skillpedia
Prompts & LLMs38k · #7493

system-prompts

What it does

This skill sets a house style for writing the instructions an AI model reads, such as system prompts and tool documentation. It is for people who write prompts and want them to be clear and consistent.

When to use it

  • ✓When you are writing or editing a system prompt for an AI assistant.
  • ✓When you are writing the description that tells an AI how to use a tool.
  • ✓When you want an agent definition that is consistent and easy to check.

Skill link

https://github.com/can1357/oh-my-pi/blob/main/.omp/skills/system-prompts/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/can1357/oh-my-pi/blob/main/.omp/skills/system-prompts/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Write a system prompt for our support assistant with clear must and must-not rules and a short checklist before it replies.”

5 new skills a week. 1 minute to read.

How it works

The agent uses a set of consistent section tags, standard wording for required, forbidden and optional behavior, and a dense imperative style. It also notes that very small models may need a different approach.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

System Prompts

House style: dense, imperative, RFC-keyed.

Small models (≤2B; tiny/on-device, e.g. LFM2): MUST read small-models.md. Rules below assume frontier-class instruction following; several invert at that scale.

Tags

Tags: authoritative, literal structural markers; meaning exactly matches name. NEVER invent ornamental tags: <north-star>, <stance>, <protocol>, <directives>, <strengths> — noise.

Tag Purpose
<system-conventions> Tag/RFC-keyword interpretation; contract.
<stakes> Correctness importance; domain framing.
<communication> Voice, tone, response shape.
<critical> Inviolable rules; place at START and END.
<completeness> Done definition; anti-shrink rules.
<yielding> Pre-yield checklist; block conditions.
<workflow> Numbered phases: scope → edit → decompose → work → verify.

Normative Language

RFC 2119: full caps, no bold; all-caps form is the marker.

Keyword Meaning Replaces
MUST / REQUIRED Absolute requirement "always", "make sure", "ensure"
NEVER (= MUST NOT) Absolute prohibition "do not", "don't"
SHOULD / RECOMMENDED Strong preference; known-tradeoff deviation allowed "prefer", "it's best to"
AVOID (= SHOULD NOT) Strong discouragement "try not to"
MAY / OPTIONAL Truly optional "can", "you could"

Aliases: prefer NEVER to MUST NOT; AVOID to SHOULD NOT. Both: single-token in cl100k/o200k; identical authority.

Near top, inside <system-conventions>, state once:

RFC 2119 applies to MUST, REQUIRED, SHOULD, RECOMMENDED, MAY, OPTIONAL. NEVER and AVOID MUST be interpreted as aliases for MUST NOT and SHOULD NOT respectively.

NEVER convert factual descriptions (tool returns, parameter behavior), code blocks, examples, schema, or Handlebars template syntax.

Density

Load-bearing tokens only; every bullet adds a claim.

  • One claim/bullet; cut behavior-neutral subclauses.
  • Quick check X? Y. replaces “If X, then Y.”
  • Reasoning ONLY when it changes the call.
  • Bold lead names rule; NEVER restate in body.
  • Prefer →, =, +/</-, B+1, A..B.
  • Parallel edits: add → +/<; delete → -; = ONLY when modifying inside.
Bad:  - **Never fabricate anchor hashes.** Hashes are 2-letter content fingerprints, not arbitrary suffixes. You cannot increment them, guess the "next" one, or compute them locally. If a needed anchor is not in your last `read` output, issue another `read`.
Good: - **NEVER fabricate anchor hashes.** Missing? Re-`read`.

Bad:  - **Do not replay the line past your range.** For `= A..B`, never end the payload with content that already exists at B+1. Stop the payload at the last line you are actually changing; if you need that next line gone, extend B.
Good: - **NEVER replay past your range.** Stop before B+1; extend B if it must go.

Tactical bullets: 5–12 words. Longer ONLY for multi-part contracts where every clause constrains parameter semantics or edge enumeration.

AVOID compressing factual reference (operator definitions, return formats, schema), worked examples, or first use of a non-obvious term.

Voice

Direct, imperative, second-person: “You MUST/NEVER/SHOULD.” No hedging, apology, ceremony, closing summaries, or time estimates.

Bad:  "You might want to consider using X..."
Good: "You SHOULD use X."

Bad:  "Please note that this is important..."
Good: "Critical: X."

Bad:  "Make sure to run lsp references before modifying a symbol"
Good: "You MUST run `lsp references` before modifying any exported symbol."

Negation: pair positive alternative when non-obvious; otherwise NEVER X. alone.

Positioning

“Lost in the Middle”: start/end retain; middle degrades ~20%. Critical constraints at both edges; reference material, environment, templated content in middle.

Front matter:

  1. Role + agency one-liner (You are THE staff engineer…).
  2. <system-conventions> — RFC contract, tag semantics.
  3. <stakes> — importance.
  4. <communication> — style.
  5. <critical> — top-priority rules.

Back matter:

  1. Environment/tool inventory — exploration, tool priority, harness specifics.
  2. Contract — completeness, yielding, workflow.
  3. Prompt >~150 lines: repeat most important <critical> rule.

Tone Patterns That Work

Live-system-prompt patterns:

  • Agency: "You have agency and taste: you delete code that isn't pulling its weight, refuse abstractions that are unnecessary, and prefer boring when it's called for."
  • **Stakes anchorin
FAQ

What does MUST and NEVER mean in these prompts?

They mark rules with absolute force, so the model treats a requirement or prohibition as firm rather than a suggestion.

Are there rules for small AI models?

Yes. The skill says that very small models may need different wording, and points to a separate guide for them.

Why are some tag names avoided?

Made-up tags add noise without meaning, so the skill only uses tags whose names match their purpose.

Details

Original description by the author

Write system prompts, tool docs, and agent definitions. Project tag conventions + RFC 2119 keywords + dense compression. Use when authoring or editing any prompt the model reads.

repo: can1357/oh-my-pi

Popularity

GitHub stars
38k
Ranking position
#7493
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills