본문으로 건너뛰기
Skillpedia
프롬프트 및 LLM18k · #10702

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가 스킬을 읽고 지침을 따릅니다.

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

Use this skill to help me: https://github.com/RightNow-AI/openfang/blob/main/crates/openfang-skills/bundled/prompt-engineer/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

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.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬