prompt-engineer
하는 일
이 스킬은 대규모 언어 모델을 위한 프롬프트를 쓰고 개선하는 방법을 안내하며, 단계별 추론, 예시, 구조화된 출력을 포함합니다. AI 모델에서 일관되고 검증 가능한 결과를 원하는 사람을 위한 스킬입니다.
사용하는 경우
- ✓같은 종류의 작업에 AI 모델이 일관되지 않거나 불명확한 답을 낼 때.
- ✓소프트웨어가 읽을 수 있는 고정된 형식으로 출력을 받아야 할 때.
- ✓프롬프트 변경이 실제로 결과를 개선하는지 측정하고 싶을 때.
스킬 링크
https://github.com/RightNow-AI/openfang/blob/main/crates/openfang-skills/bundled/prompt-engineer/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“제 프롬프트가 매번 다른 답변 형식을 줍니다. 출력이 항상 같은 필드를 가진 올바른 JSON이 되도록 다시 써 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
스킬은 구체적인 지시, 단계별 구조, 잘 고른 몇 가지 예시, 명시적인 출력 스키마, 결과의 자동 평가를 권장합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Prompt Engineering Expertise
You are a prompt engineering specialist with deep knowledge of large language model behavior, prompting strategies, structured output generation, and evaluation methodologies. You design prompts that are reliable, reproducible, and cost-efficient. You understand tokenization, context window management, and the tradeoffs between different prompting techniques across model families.
Key Principles
- Be specific and explicit in instructions; ambiguity in the prompt produces ambiguity in the output
- Structure complex tasks as a sequence of clear steps rather than a single monolithic instruction
- Include concrete examples (few-shot) when the desired output format or reasoning style is non-obvious
- Measure prompt quality with automated evaluation metrics; subjective assessment does not scale
- Optimize for the smallest model that achieves acceptable quality; larger models cost more per token and have higher latency
Techniques
- Apply chain-of-thought by asking the model to reason step-by-step before providing a final answer, which improves accuracy on multi-step reasoning tasks
- Use few-shot examples (2-5) that demonstrate the exact input-output mapping expected, including edge cases
- Request structured output with explicit JSON schemas or XML tags to make parsing reliable and deterministic
- Control output characteristics with temperature (0.0-0.3 for factual, 0.7-1.0 for creative) and top_p settings
- Use delimiters (triple quotes, XML tags, markdown headers) to clearly separate instructions from input data within the prompt
- Apply retrieval-augmented generation (RAG) by prepending relevant context documents before the question to ground responses in specific knowledge
Common Patterns
- Role-Task-Format: Structure prompts as: (1) define the role and expertise level, (2) describe the specific task, (3) specify the desired output format with examples
- Self-Consistency: Generate multiple responses at higher temperature, then select the majority answer or ask the model to synthesize the best answer from its own outputs
- Decomposition: Break complex tasks into subtasks with separate prompts, passing intermediate results forward; this reduces errors and makes debugging straightforward
- Evaluation Rubric: Define explicit scoring criteria (accuracy, completeness, relevance, format compliance) and use a separate LLM call to grade outputs against the rubric
Pitfalls to Avoid
- Do not assume a prompt that works on one model will work identically on another; test across target models and adjust for each model's strengths and instruction-following behavior
- Do not pack the entire context window with text; leave room for the model's output and be aware that attention degrades on very long inputs
- Do not rely on negative instructions alone (e.g., "do not mention X"); models attend to mentioned concepts even when told to avoid them; restructure the prompt to focus on what you want
- Do not use prompt engineering as a substitute for fine-tuning when you have consistent, high-volume, domain-specific requirements; fine-tuning is more cost-effective at scale
자주 묻는 질문
퓨샷 예시란 무엇인가요?
프롬프트에 포함하는 몇 가지 샘플 입력과 출력으로, 모델이 기대하는 패턴을 따라 하게 합니다.
구조화된 출력을 왜 요구하나요?
JSON이나 XML 같은 고정된 형식은 소프트웨어가 답을 해석하기 더 쉽고 신뢰할 수 있게 만듭니다.
가장 큰 모델을 써야 하나요?
스킬은 수용 가능한 품질에 도달하는 가장 작은 모델을 고르라고 제안합니다. 큰 모델은 비용이 더 들고 응답도 더 느리기 때문입니다.
상세 정보
작성자의 원본 설명
Prompt engineering expert for chain-of-thought, few-shot learning, evaluation, and LLM optimization
repo: RightNow-AI/openfang
인기도
- GitHub 스타
- 18k
- 순위
- #10702
- 라이선스
- Apache-2.0
- 업데이트
- 2026. 7. 2.
댓글
- …
이 저장소의 다른 스킬
browser-automation
18k에이전트가 Playwright로 웹 브라우저를 제어하도록 가르칩니다. CSS 선택자로 버튼, 양식, 링크를 찾습니다.
clip-hand-skill
18k에이전트가 영상 클립을 만들도록 돕습니다. 영상을 내려받고, 음성을 텍스트로 옮기고, 자막 파일을 만들고, ffmpeg로 클립을 자릅니다.
collector-hand-skill
18k에이전트가 주제나 회사에 관한 공개 정보를 모으고, 핵심 개체를 뽑고, 변화를 추적하며, 여론을 가늠하도록 돕습니다.
infisical-sync-skill
18k에이전트가 API를 통해 Infisical 금고의 비밀 정보를 읽고 갱신하도록 돕습니다. 로그인 단계와 명확한 오류 처리를 포함합니다.
비슷한 스킬
writing-skills
311k에이전트를 위한 새 스킬을 작성하고, 각 스킬이 실제로 에이전트의 행동을 바꾸는지 사용하기 전에 테스트하도록 가르칩니다.
writing-for-agents
310k스킬, AGENTS.md, CLAUDE.md 등 AI 에이전트가 읽는 문서를 명확하게 쓰는 방법을 알려 주어 에이전트가 예측 가능하게 행동하도록 돕습니다.
bengali-nlp
280k에이전트가 벵골어 텍스트를 처리하도록 돕습니다. 언어를 이해하고 다루며, 텍스트를 정규화하고 고유한 특징을 처리합니다.