Create, refine, and optimize high-quality YAML prompts for AI assistants. Use when working with prompt templates, system prompts, agent prompts, or any prompt e
复制下面这句话,粘贴给 Claude Code、Codex、Cursor 等 AI 编程工具,它会读取安装说明并在你确认后完成安装。
请阅读 https://ai.atlankj.com/install/asset/gh-prompts-writing-ec38ae94fe5d ,按照其中的说明把「prompt-writing」安装到你(当前 AI 工具)中。执行前先告诉我将运行的命令和写入的位置,等我确认。
查看 AI 将读取的安装说明正在读取 GitHub 原文…
内容来自 GitHub 原始文件,由原作者维护。在 GitHub 查看
Create and optimize YAML-based prompts for AI assistants following industry best practices.
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 }}
|- for multi-line system prompts, | for user prompts{{ variable }} for dynamic content--- sparingly, only between major sectionsBefore finalizing any prompt, verify:
{{ without }}---, ***)### → ##)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.
user_prompt: |
Please analyze the following {{ document_type }}:
Name: {{ filename }}
Content: {{ content }}
Summary ({{ max_words }} words):
When working with prompts, also consider: