structured-prompt-writer

结构化AI提示词写作工具,内置395+提示词模板。支持详细模式和简单模式。用于创建专业的AI角色提示词、系统提示词或任务提示词。当用户需要:(1) 创建新的AI提示词/Prompt (2) 设计AI角色/Persona (3) 编写系统提示词 (4) 优化现有提示词结构时使用此技能。

16 stars

Best use case

structured-prompt-writer is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

结构化AI提示词写作工具,内置395+提示词模板。支持详细模式和简单模式。用于创建专业的AI角色提示词、系统提示词或任务提示词。当用户需要:(1) 创建新的AI提示词/Prompt (2) 设计AI角色/Persona (3) 编写系统提示词 (4) 优化现有提示词结构时使用此技能。

Teams using structured-prompt-writer should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/structured-prompt-writer/SKILL.md --create-dirs "https://raw.githubusercontent.com/diegosouzapw/awesome-omni-skill/main/skills/ai-agents/structured-prompt-writer/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/structured-prompt-writer/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How structured-prompt-writer Compares

Feature / Agentstructured-prompt-writerStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

结构化AI提示词写作工具,内置395+提示词模板。支持详细模式和简单模式。用于创建专业的AI角色提示词、系统提示词或任务提示词。当用户需要:(1) 创建新的AI提示词/Prompt (2) 设计AI角色/Persona (3) 编写系统提示词 (4) 优化现有提示词结构时使用此技能。

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# 结构化提示词写作器

创建专业的 AI 提示词,内置 **395+ 提示词模板**,支持详细模式(复杂角色/专业领域)和简单模式(单一任务/快速部署)。

## 内置资源

| 类别 | 数量 | 说明 |
|------|------|------|
| 结构化角色 | 5 | 高质量中文结构化提示词 |
| 小红书系列 | 4 | 小红书运营专用 |
| 创意写作 | 3 | 创作类提示词 |
| GPT Store | 282 | OpenAI GPT Store 提示词 |
| 系统提示词 | 101 | Claude/Cursor/Gemini 等工具 |

## 写作流程

```
确定模式 → 收集需求 → 选择模板 → 填充内容 → 优化风格 → 检验输出
```

## 模式选择

**详细模式** - 适用于:
- 复杂角色扮演(专家、大师、导师、名人分身)
- 专业领域应用(产品设计、内容运营、金融分析、医疗咨询)
- 需要多轮深度交互的场景
- 需要多维知识框架支撑的场景

**简单模式** - 适用于:
- 单一创作任务(写作、翻译、总结、改写)
- 工具型助手(代码生成、格式转换、数据处理)
- 快速部署的轻量场景
- 规则驱动的简单任务

## 核心格式

### 必选元素(两种模式共有)

```markdown
# [角色名称]

━━━━━━━━
## 需求
:输入 [用户输入描述]
:输出 [AI输出描述]
:模型 Gemini 3.0 Pro / Claude Sonnet 4.5
:作者 [作者名]
:版本 [版本号]

## 初始化
[角色开场白,第一人称,引导用户开始交互]
```

### 详细模式额外元素

| 章节 | 用途 | 说明 |
|------|------|------|
| `## 本质/世界观` | 角色核心思维 | 用诗意语言描述角色的思维方式和价值观 |
| `## 知识/框架` | 多维知识结构 | 使用 ①②③ 和树形结构展示知识维度 |
| `## 方法论/流程` | 树形工作流程 | 用 `├─` `└─` 展示处理逻辑 |
| `## 禁忌/约束` | 规则与边界 | 明确角色不会做什么 |
| `## 互动协议` | 交互细节 | 用 `〖〗` 标记具体协议 |

### 简单模式额外元素

| 章节 | 用途 | 说明 |
|------|------|------|
| `## 本质` | 1-2段核心特质 | 简洁描述角色定位 |
| `## 规则` | 3-5条核心规则 | 使用 ①②③ 列表 |
| `## 流程` | 箭头串联步骤 | `步骤1 → 步骤2 → 步骤3` |

### 格式符号速查

| 符号 | 用途 | 示例 |
|------|------|------|
| ━━━━ | 章节分隔 | 8-16个全角破折号 |
| : | 需求定义 | `:输入 文本` |
| ├─ └─ | 树形结构 | 展示层级关系 |
| ▸ | 指向说明 | `核心 ▸ 说明` |
| ▪ | 无序列表 | 列举要点 |
| ① ② ③ | 有序步骤 | 知识维度/规则 |
| 『』 | 强调标题 | `『极简美学』` |
| 〖〗 | 协议标题 | `〖拒绝模棱两可〗` |
| ? | 条件触发 | `? 收到方案后` |

## 写作原则

**诗意开场**
用隐喻描述角色本质,避免"我是一个AI助手"的机械表述。
> 你是孤独的高尔夫球手,也是极致的产品工匠。

**人感注入**
暴露性格、价值观、甚至小缺点,让角色有温度。
> 我先说好,我可能会直接说它是个垃圾。

**克制精准**
像说明书一样简练,每句话都有存在的理由。

**反AI味**
避免套话,追求独特声音,拒绝"赋能、抓手、闭环"等黑话。

## 参考资源

技能内置了丰富的示例,按需查阅:

| 资源 | 路径 | 说明 |
|------|------|------|
| 格式模板 | [format-templates.md](references/format-templates.md) | 详细/简单模式完整模板 |
| 示例提示词 | [example-prompts.md](references/example-prompts.md) | 两个完整示例对比 |
| 提示词目录 | [prompt-catalog.md](references/prompt-catalog.md) | 395+提示词完整索引 |

### 预置提示词库

```
references/prompts/
├── personas/           # 结构化角色(5个)
│   ├── 张小龙AI分身.md
│   ├── 当年明月.md
│   └── ...
├── xiaohongshu/        # 小红书系列(4个)
│   ├── 小红书爆款账号定位架构师.md
│   └── ...
├── creative/           # 创意写作(3个)
│   ├── 微科幻之神.md
│   ├── LangGPT.md
│   └── 小红书写作专家.md
├── gpts-personas/      # GPT Store(282个)
│   ├── Grimoire.md
│   ├── Mr. Ranedeer.md
│   ├── 10x Engineer.md
│   └── ...
├── system-tools/       # 系统提示词(101个)
│   ├── Anthropic/
│   ├── Cursor Prompts/
│   ├── Google/
│   ├── Open Source prompts/
│   └── ...
└── awesome-chatgpt-prompts.md  # ChatGPT 合集
```

## 快速开始

1. **确定模式**:复杂角色用详细模式,简单任务用简单模式
2. **查看模板**:阅读 `format-templates.md` 获取完整格式
3. **参考示例**:从 `references/prompts/` 选择相似场景的示例
   - 学习结构化格式 → `personas/`
   - 小红书运营 → `xiaohongshu/`
   - 找特定功能 → `gpts-personas/`
   - 研究系统提示词 → `system-tools/`
4. **填充内容**:按模板结构填写各章节
5. **检验风格**:确保符合"诗意开场、人感注入、克制精准、反AI味"原则

Related Skills

notebook-writer

16
from diegosouzapw/awesome-omni-skill

Create and document Jupyter notebooks for reproducible analyses

create-prompt

16
from diegosouzapw/awesome-omni-skill

Expert prompt engineering for creating effective prompts for Claude, GPT, and other LLMs. Use when writing system prompts, user prompts, few-shot examples, or optimizing existing prompts for better performance.

create-custom-prompt

16
from diegosouzapw/awesome-omni-skill

Prompt for creating custom prompt files

agentv-prompt-optimizer

16
from diegosouzapw/awesome-omni-skill

Iteratively optimize prompt files against AgentV evaluation datasets by analyzing failures and refining instructions.

content-research-writer

16
from diegosouzapw/awesome-omni-skill

Assists in writing high-quality content by conducting research, adding citations, improving hooks, iterating on outlines, and providing real-time feedback on each section. Transforms your writing process from solo effort to collaborative partnership.

prompt-engineer

16
from diegosouzapw/awesome-omni-skill

Transforms user prompts into optimized prompts using frameworks (RTF, RISEN, Chain of Thought, RODES, Chain of Density, RACE, RISE, STAR, SOAP, CLEAR, GROW)

Codex

Ad Copy Writer

16
from diegosouzapw/awesome-omni-skill

Write high-converting advertising copy for paid media campaigns

writer

16
from diegosouzapw/awesome-omni-skill

Document creation, format conversion (ODT/DOCX/PDF), mail merge, and automation with LibreOffice Writer.

tone-rewriter

16
from diegosouzapw/awesome-omni-skill

Rewrite text in any of 10 tones (professional, casual, friendly, formal, empathetic, persuasive, academic, simple, witty, urgent) while preserving meaning. x402 pay-per-use: $0.01 USDC. Use when: tone adjustment, rewrite text, change tone, professional rewrite, casual rewrite, make friendly, formalize text.

python-fastapi-scalable-api-cursorrules-prompt-fil

16
from diegosouzapw/awesome-omni-skill

Apply for python-fastapi-scalable-api-cursorrules-prompt-fil. --- description: Defines conventions specific to FastAPI usage in the backend. globs: backend/src/**/*.py

python-django-best-practices-cursorrules-prompt-fi

16
from diegosouzapw/awesome-omni-skill

Apply for python-django-best-practices-cursorrules-prompt-fi. --- description: Configurations for Django settings file with the list of dependencies and conventions. globs: **/settings.py

go-servemux-rest-api-cursorrules-prompt-file

16
from diegosouzapw/awesome-omni-skill

Apply for go-servemux-rest-api-cursorrules-prompt-file. --- description: This rule emphasizes security, scalability, and maintainability best practices in Go API development. globs: /*/**/*_api.go