본문으로 건너뛰기
Skillpedia
프롬프트 및 LLM6.1k · #14426

prompt-writing

하는 일

이 스킬은 YAML로 저장된 프롬프트의 작성과 개선을 안내합니다. 시스템 프롬프트나 에이전트 프롬프트가 그 예입니다. AI 어시스턴트를 만들고 명확하고 잘 짜인 프롬프트를 원하는 사람을 위한 것입니다.

사용하는 경우

  • ✓AI 어시스턴트의 시스템 프롬프트를 작성할 때.
  • ✓잘 작동하지 않는 YAML 프롬프트 템플릿을 개선하고 싶을 때.
  • ✓프롬프트에 변수와 명확한 구획을 추가해야 할 때.

스킬 링크

https://github.com/ModelEngine-Group/nexent/blob/develop/.claude/skills/prompts-writing/SKILL.md

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

사용 방법

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

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

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

AI에게 요청하는 예시

“고객 지원 에이전트의 YAML 시스템 프롬프트를 다시 써 주세요. 명확한 구획, 고객 이름 자리 표시자, 체크리스트가 들어가게 해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

이 스킬은 에이전트에게 표준 YAML 구조, 제목과 목록 규칙, 자리 표시자 규칙, 품질 체크리스트를 제공합니다. 에이전트는 이를 이용해 프롬프트를 만들거나 개선하고, 전달하기 전에 점검합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Prompt Writing

Create and optimize YAML-based prompts for AI assistants following industry best practices.

Quick Start

Standard YAML Prompt Structure

system_prompt: |-
  # Section with ### header
  ## Subsection with ## header
  Content with clear structure.
  
  **Bold key concepts**
  
  - Bullet points for requirements
  - Consistent indentation (2 spaces)
  
  1. Numbered lists for sequences
  2. Use when order matters

user_prompt: |
  Direct instructions with {{ variable placeholders }}

Key Principles

  1. Structure: Use |- for multi-line system prompts, | for user prompts
  2. Templating: Use {{ variable }} for dynamic content
  3. Separators: Use --- sparingly, only between major sections
  4. Language: Keep prompts in consistent language (English recommended for templates)

Quality Checklist

Before finalizing any prompt, verify:

  • No unclosed braces {{ without }}
  • No excessive separators (---, ***)
  • Consistent heading hierarchy (### → ##)
  • Clear variable placeholders with descriptive names
  • Proper YAML indentation preserved
  • No HTML tags in Markdown content
  • Lists have parallel structure

Common Patterns

System Prompt with Sections

system_prompt: |-
  ### Role Definition
  You are a professional [role name]. Your task is to [core responsibility].
  
  ### Requirements
  1. First requirement
  2. Second requirement
  3. Third requirement
  
  ### Guidelines
  - Do this
  - Don't do that
  - Always do this
  
  ### Output Format
  Respond in plain text without separators.

Jinja2 Template Variables

user_prompt: |
  Please analyze the following {{ document_type }}:
  
  Name: {{ filename }}
  Content: {{ content }}
  
  Summary ({{ max_words }} words):

References

Related Tools

When working with prompts, also consider:

  • YAML validation tools
  • Jinja2 syntax checkers
  • Markdown linters
자주 묻는 질문

어떤 형식을 쓰나요?

시스템 프롬프트 블록과 사용자 프롬프트 블록이 있는 YAML을 사용합니다.

변수는 어떻게 쓰나요?

동적 내용은 이중 중괄호로 표시하며, 변수 이름을 이중 중괄호로 감쌉니다.

결과를 점검하나요?

네, 스킬에는 확정하기 전에 프롬프트를 확인하는 체크리스트가 들어 있습니다.

상세 정보

작성자의 원본 설명

Create, refine, and optimize high-quality YAML prompts for AI assistants. Use when working with prompt templates, system prompts, agent prompts, or any prompt engineering tasks. Provides structure guidelines, template patterns, and quality standards for YAML-based prompts.

repo: ModelEngine-Group/nexent

인기도

GitHub 스타
6.1k
순위
#14426
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

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

댓글

  • …

비슷한 스킬