system-prompts
Что он делает
Этот скилл задает единый стиль для инструкций, которые читает ИИ-модель, например системных промптов и документации инструментов. Он нужен тем, кто пишет промпты и хочет, чтобы они были ясными и последовательными.
Когда использовать
- ✓Когда вы пишете или редактируете системный промпт для ИИ-ассистента.
- ✓Когда вы пишете описание, которое объясняет ИИ, как пользоваться инструментом.
- ✓Когда вам нужно описание агента, которое последовательно и легко проверить.
Ссылка на скилл
https://github.com/can1357/oh-my-pi/blob/main/.omp/skills/system-prompts/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Напиши системный промпт для нашего ассистента поддержки с ясными правилами «должен» и «не должен» и коротким чек-листом перед ответом.”
5 новых скиллов в неделю. 1 минута чтения.
Как это работает
Агент использует набор единых тегов разделов, стандартные формулировки для обязательного, запрещенного и необязательного поведения и плотный императивный стиль. Он также отмечает, что очень маленьким моделям может понадобиться другой подход.
Технический текст (оригинальный SKILL.md)
Оригинальный текст автора на английском, прямо с 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.
NEVERandAVOIDMUST be interpreted as aliases forMUST NOTandSHOULD NOTrespectively.
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:
- Role + agency one-liner (
You are THE staff engineer…). <system-conventions>— RFC contract, tag semantics.<stakes>— importance.<communication>— style.<critical>— top-priority rules.
Back matter:
- Environment/tool inventory — exploration, tool priority, harness specifics.
- Contract — completeness, yielding, workflow.
- 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
Частые вопросы
Что значат MUST и NEVER в этих промптах?
Они отмечают правила с абсолютной силой, поэтому модель воспринимает требование или запрет как твердое, а не как совет.
Есть ли правила для маленьких ИИ-моделей?
Да. Скилл говорит, что очень маленьким моделям может понадобиться другая формулировка, и указывает на отдельное руководство для них.
Почему некоторые имена тегов избегаются?
Придуманные теги добавляют шума без смысла, поэтому скилл использует только теги, чьи имена соответствуют назначению.
Подробности
Оригинальное описание автора
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
Популярность
- Звёзды на GitHub
- 38k
- Место в рейтинге
- #7493
- Лицензия
- MIT
- Обновлён
- 02.11.2026
Комментарии
- …
Другие скиллы из этого репозитория
Похожие скиллы
writing-skills
311kУчит агента писать новые скиллы и сначала проверять каждый из них, убеждаясь, что скилл действительно меняет поведение агента.
writing-for-agents
310kОбъясняет, как писать понятные инструкции для ИИ-агентов, включая скиллы и файлы AGENTS.md и CLAUDE.md, чтобы агент вел себя предсказуемо.
bengali-nlp
280kАгент обрабатывает текст на бенгальском. Помогает работать с языком, нормализует текст и учитывает его особенности.