协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
prompt-engineer【开发与工程】Create optimized, production-ready prompts for any AI model or use case. TRIGGERS - Use this skill when: - User wants to create or improve AI prompts - User mentions prompt engineering, prompt writing, or system prompts - User wants to optimize prompts for better AI outputs - User asks for help with ChatGPT, Claude, or other AI model prompts
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
name: prompt-engineer description: | Create optimized, production-ready prompts for any AI model or use case.
TRIGGERS - Use this skill when:
Creates structured, optimized prompts that get consistent, high-quality outputs from any AI model. Covers system prompts, user prompts, chain-of-thought, few-shot examples, and output formatting.
Ask the user:
| Architecture | When to Use |
|---|---|
| Single prompt | Simple, one-shot tasks |
| System + User prompt | Chatbots, consistent behavior |
| Chain of thought | Complex reasoning, analysis |
| Few-shot | When format/style must be exact |
| Multi-step chain | Complex workflows, agents |
Core Components:
1. ROLE — Who is the AI?
2. CONTEXT — What background does it need?
3. TASK — What exactly should it do?
4. FORMAT — How should output be structured?
5. CONSTRAINTS — What to avoid or limit?
6. EXAMPLES — What does good output look like?
Prompt Template:
You are a [ROLE] with expertise in [DOMAIN].
## Context
[Background information the AI needs to know]
## Task
[Exactly what the AI should do — be specific]
## Input
[What the user/system will provide]
{{variable_name}}
## Output Format
[Exact structure expected]
- Format: [JSON/markdown/plain text]
- Length: [word count or structure]
- Tone: [professional/casual/technical]
## Rules
- [Constraint 1]
- [Constraint 2]
- [What to NEVER do]
## Examples
### Input:
[Example input]
### Expected Output:
[Example output]
### Input:
[Second example — different case]
### Expected Output:
[Second example output]
Apply these optimization techniques:
Provide 3 test inputs:
# Prompt: [Use Case Name]
## Model: [recommended model]
## Architecture: [single/system+user/chain/few-shot]
---
## System Prompt
[Full system prompt]
## User Prompt Template
[User prompt with {{variables}}]
## Variables
| Variable | Type | Description | Example |
|----------|------|-------------|---------|
| {{var1}} | string | ... | ... |
## Test Cases
### Test 1: Happy Path
**Input**: [test input]
**Expected behavior**: [what should happen]
### Test 2: Edge Case
**Input**: [edge case input]
**Expected behavior**: [what should happen]
### Test 3: Adversarial
**Input**: [tricky input]
**Expected behavior**: [what should happen]
## Integration Notes
- [How to use in Zapier/Make/n8n]
- [API call example if applicable]
- [Token/cost estimate per call]