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가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
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
- Structure: Use
|-for multi-line system prompts,|for user prompts - Templating: Use
{{ variable }}for dynamic content - Separators: Use
---sparingly, only between major sections - 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
- Best Practices: See best-practices.md for detailed guidelines
- Templates: See templates.md for reusable patterns
- Examples: See examples.md for real-world samples
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.
댓글
- …
비슷한 스킬
writing-skills
311k에이전트를 위한 새 스킬을 작성하고, 각 스킬이 실제로 에이전트의 행동을 바꾸는지 사용하기 전에 테스트하도록 가르칩니다.
writing-for-agents
310k스킬, AGENTS.md, CLAUDE.md 등 AI 에이전트가 읽는 문서를 명확하게 쓰는 방법을 알려 주어 에이전트가 예측 가능하게 행동하도록 돕습니다.
bengali-nlp
280k에이전트가 벵골어 텍스트를 처리하도록 돕습니다. 언어를 이해하고 다루며, 텍스트를 정규화하고 고유한 특징을 처리합니다.