본문으로 건너뛰기
Skillpedia
프롬프트 및 LLM38k · #7493

system-prompts

하는 일

이 스킬은 시스템 프롬프트나 도구 문서처럼 AI 모델이 읽는 지침을 쓰는 기준 문체를 정합니다. 프롬프트를 쓰고, 명확하고 일관되게 만들려는 사람을 위한 스킬입니다.

사용하는 경우

  • ✓AI 어시스턴트의 시스템 프롬프트를 쓰거나 편집할 때.
  • ✓AI에게 도구를 쓰는 방법을 알려 주는 설명을 쓸 때.
  • ✓일관되고 확인하기 쉬운 에이전트 정의를 원할 때.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

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.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“must와 must-not 규칙이 분명하고, 답변 전에 짧은 체크리스트가 있는 고객 지원 어시스턴트의 시스템 프롬프트를 써 주세요.”

매주 새 스킬 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. 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
자주 묻는 질문

이 프롬프트에서 MUST와 NEVER는 무엇을 뜻하나요?

절대적인 힘을 가진 규칙을 표시하므로, 모델이 요구나 금지를 제안이 아니라 확고한 것으로 다룹니다.

작은 AI 모델을 위한 규칙이 있나요?

네. 아주 작은 모델에는 다른 표현이 필요할 수 있다고 말하며, 그들을 위한 별도의 가이드를 가리킵니다.

일부 태그 이름은 왜 피하나요?

만든 태그는 의미 없이 잡음을 더하므로, 스킬은 목적과 이름이 맞는 태그만 씁니다.

상세 정보

작성자의 원본 설명

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
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬