SuperAPI AI Directory

prompt-engineer

Writing & research

View repository

Updated 10-15 21:38

About this skill

Prompt Engineering Master Skill

Treat AI as a "smart but memoryless new employee" — Anthropic Prompt Guide

1. The 5 Principles of Prompt Design

Principle Description Example
Clarity Remove ambiguous expressions, give specific instructions ❌ "Write me a good article" → ✅ "A 1500-character blog post for B2B SaaS marketers, structured as problem-solution-CTA"
Context Provide background, audience, purpose "I am a marketer with 5 years of experience, and this report is for reporting to C-level executives"
Structure Specify the output format "In table format / as JSON / as 5 bullet points"
Constraints Limit scope, length, and tone "Within 500 characters, polite formal speech, minimize technical jargon"
Examples Provide a sample of the desired result "In the following format: [insert example]"

2. Catalog of Core Prompt Techniques

2.1 Zero-shot

Derive results with only an instruction, without examples.

다음 텍스트의 감정을 분석하세요: "오늘 회의 정말 힘들었어"
→ 출력: 부정(피로/스트레스)

Suitable situations: Clear tasks such as simple classification, translation, summarization

2.2 Few-shot

Provide 1–5 examples to teach the pattern.

다음 형식으로 고객 문의를 분류하세요:

[예시1] "배송이 안 왔어요" → 카테고리: 배송, 긴급도: 높음
[예시2] "색상 변경 가능한가요?" → 카테고리: 상품문의, 긴급도: 낮음

[실제 문의] "결제했는데 취소하고 싶어요" →

Suitable situations: When adhering to a specific format, or when classification criteria are complex

2.3 Chain-of-Thought (CoT)

Induce step-by-step reasoning to increase accuracy.

다음 문제를 단계별로 풀어주세요:

매출 1억 원, 매입 6천만 원, 인건비 2천만 원, 임차료 500만 원일 때
영업이익률은?

1단계: 총비용 계산
2단계: 영업이익 계산
3단계: 영업이익률(%) 계산

Suitable situations: Math/financial calculations, logical reasoning, complex analysis

2.4 Role Prompting

Assign an expert role to the AI.

당신은 10년 경력의 한국 세무사입니다.
1인기업 대표(연매출 4800만 원, 간이과세자)의 종합소득세 절세 전략을
실무적 관점에서 5가지 추천해주세요.

Role Template Collection:

Task Role Additional Context
Tax Tax accountant with 10 years of experience Industry, revenue size, taxation type
Legal Corporate lawyer Contract type, dispute situation
Marketing Performance marketer Budget, channel, KPI
HR HR manager Company size, hiring position
Planning Strategic planning team lead Industry, competitors, goals
Writing Copywriter Target, tone and manner, medium

2.5 Tree of Thoughts (ToT)

Extension of CoT. It explores multiple reasoning paths and then selects the optimal one.

우리 쇼핑몰의 매출을 올리기 위한 전략을 3가지 경로로 탐색하세요:

경로 A: 신규 고객 유치 관점
경로 B: 기존 고객 재구매율 관점
경로 C: 객단가 상승 관점

각 경로별로 장단점과 예상 ROI를 분석한 뒤, 최적 경로를 추천하세요.

2.6 Meta Prompt

Ask the AI to improve the prompt itself.

나는 지금부터 정부지원사업 사업계획서를 쓰려고 합니다.
이 목적에 가장 효과적인 프롬프트를 설계해주세요.
필요한 정보가 있으면 질문해주세요.

2.7 Hallucination Prevention

모르는 내용은 "확인이 필요합니다"라고 답하세요.
추측하지 말고, 출처를 명시하세요.
수치 데이터는 반드시 근거를 함께 제시하세요.

3. Prompt Recipes by Task

3.1 Writing Reports

역할: 전략기획팀 과장
배경: [프로젝트명]의 중간보고를 위한 문서
대상: 본부장(비기술직)
구조: 1) 핵심 요약(3줄) 2) 진행현황 3) 이슈사항 4) 향후 계획
분량: A4 2페이지 이내
톤: 격식체, 데이터 기반

3.2 Writing Emails

역할: 영업팀 담당자
상황: 견적서를 보내면서 미팅 일정을 잡으려는 이메일
격식: 높음 (거래처 부장님 대상)
포함사항: 인사 → 견적 안내 → 미팅 제안(2~3개 시간대) → 마무리
분량: 200자 내외

3.3 Data Analysis

다음 매출 데이터를 분석해주세요: [데이터 붙여넣기]

분석 순서:
1단계: 데이터 품질 확인(결측치, 이상치)
2단계: 기술통계(평균, 중앙값, 표준편차)
3단계: 트렌드 분석(전월 대비, 전년 동기 대비)
4단계: 인사이트 도출(원인 분석)
5단계: 액션 제안(3가지)

4. Prompt Chaining

Break down complex tasks into multiple prompts.

[프롬프트 1] 시장조사 → 결과를 [변수1]에 저장
[프롬프트 2] [변수1] 기반으로 경쟁사 분석
[프롬프트 3] 경쟁사 분석 결과를 바탕으로 차별화 전략 수립
[프롬프트 4] 전략을 PPT 슬라이드 구조로 정리

5. Guide to Building a Prompt Library

5.1 Standard Template Structure

## [프롬프트 이름]
- 목적:
- 역할:
- 입력 변수: {변수1}, {변수2}
- 출력 형식:
- 제약 조건:
- 프롬프트 본문:
  ...
- 예상 결과:
  ...

5.2 Team Sharing Process

  1. An individual discovers a useful prompt → registers it in the company Wiki/Notion
  2. Select the best prompts on a weekly basis
  3. Build a prompt library for each department
  4. Measure and improve effectiveness quarterly

6. Platform-Specific Tips

Platform Key Tips
Claude Use XML tags (<context>, <instructions>), strong for analyzing long documents, the keyword "step by step" is effective
ChatGPT Use Custom Instructions, automate repetitive prompts with GPTs, integrate plugins
Gemini Multimodal (image + text) analysis, Google Workspace integration
Midjourney/DALL-E Style keywords (photorealistic, watercolor), specify composition/lighting, negative prompts

7. Common Mistakes & Solutions

Mistake Solution
Prompt that is too short Add context + role + structure + constraints
Multiple tasks in one prompt Separate the tasks and then chain them
Results are too generic Add specific examples (few-shot)
AI generates false information Add hallucination prevention conditions + require sources
Repeating the same prompt every time Build a prompt library
Degraded quality of Korean-language results Use English for key keywords, Korean for the rest