prompt-engineer by sickn33/antigravity-awesome-skills
npx skills add https://github.com/sickn33/antigravity-awesome-skills --skill prompt-engineer本技能利用成熟的提示框架,将原始、非结构化的用户提示转化为高度优化的提示。它会分析用户意图,识别任务复杂度,并智能选择最合适的框架,以最大化 Claude/ChatGPT 的输出质量。
该技能以"魔法模式"运行——它在后台静默工作,仅在迫切需要澄清时才与用户交互。用户会收到经过打磨、可直接使用的提示,而无需技术解释或框架术语。
这是一个通用技能,适用于任何终端上下文,不限于 Obsidian 知识库或特定的项目结构。
在以下情况下调用此技能:
目标: 理解用户真正想要完成什么。
操作:
检测模式:
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
目标: 将任务特征映射到最优的提示框架。
框架映射逻辑:
| 任务类型 | 推荐框架 | 理由 |
|---|---|---|
| 基于角色的任务(扮演专家、顾问) | RTF(角色-任务-格式) | 清晰的角色定义 + 任务 + 输出格式 |
| 逐步推理(调试、证明、逻辑) | Chain of Thought | 鼓励明确的推理步骤 |
| 结构化项目(多阶段、交付成果) | RISEN(角色、指令、步骤、最终目标、细化) | 适用于复杂工作的全面结构 |
| 复杂设计/分析(系统、架构) | RODES(角色、目标、细节、示例、合理性检查) | 平衡细节与验证 |
| 总结(压缩、综合) | Chain of Density | 迭代提炼至核心信息 |
| 沟通(报告、演示、讲故事) | RACE(角色、受众、上下文、期望) | 考虑受众的信息传递 |
| 调查/分析(研究、诊断) | RISE(研究、调查、综合、评估) | 系统化的分析方法 |
| 情境化场景(带有背景的问题解决) | STAR(情境、任务、行动、结果) | 上下文丰富的问题构建 |
| 文档记录(医疗、技术、记录) | SOAP(主观、客观、评估、计划) | 结构化的信息捕获 |
| 目标设定(OKR、目标、指标) | CLEAR(协作、有限、情感、可感知、可优化) | 目标清晰度和可操作性 |
| 辅导/发展(指导、成长) | GROW(目标、现状、选择、意愿) | 发展性对话结构 |
混合策略:
选择标准:
关键规则: 此选择过程静默进行——不要向用户解释框架选择。
Role: You are a senior software architect. [RTF - Role]
Objective: Design a microservices architecture for [system]. [RODES - Objective]
Approach this step-by-step: [Chain of Thought]
1. Analyze current monolithic constraints
2. Identify service boundaries
3. Design inter-service communication
4. Plan data consistency strategy
Details: [RODES - Details]
* Expected traffic: [X]
* Data volume: [Y]
* Team size: [Z]
Output Format: [RTF - Format] Provide architecture diagram description, service definitions, and migration roadmap.
Sense Check: [RODES - Sense check] Validate that services are loosely coupled, independently deployable, and aligned with business domains.
4.5. 语言适应
4.6. 质量检查 在最终确定之前,验证:
用户输入:
copilot> create prompt for: I need to build a product recommendation system considering purchase history, user preferences, and market trends
技能内部流程:
技能输出:
Role: You are a senior machine learning engineer specializing in recommendation systems.
Objective: Design a product recommendation system that combines user purchase history, preferences, and market trends.
Details:
* Input data sources: user transaction logs, preference surveys, market trend APIs
* Algorithm considerations: collaborative filtering, content-based filtering, hybrid approaches
* Performance metrics: precision, recall, diversity, novelty
* Scalability: system must handle 100k+ users
* Real-time constraints: recommendations updated within 500ms
Approach step-by-step:
1. Analyze the three data sources and their relationships
2. Propose 2-3 algorithm approaches with trade-offs analysis
3. Design data pipeline architecture (ingestion, processing, serving)
4. Define evaluation metrics and A/B testing strategy
5. Outline implementation roadmap with phases
Examples:
* Show pseudocode for core recommendation logic
* Illustrate data flow diagram
* Provide sample API response structure
Sense Check: Validate that the proposed solution balances personalization with discovery, scales to production load, and incorporates real-time market trends effectively.
Output format: Technical design document with architecture diagrams, algorithm justification, and implementation roadmap.
用户输入:
copilot> optimize prompt: my Python code isn't working, needs debugging
技能内部流程:
技能输出:
You are an expert Python debugger.
Task: Debug the Python code provided by the user by analyzing it step-by-step.
Debugging approach:
1. Read and understand the code's intended purpose
2. Identify the error or unexpected behavior
3. Trace variable states at each execution step
4. Locate the root cause of the issue
5. Propose fix with explanation
6. Suggest preventive measures to avoid similar bugs
For each step, show your reasoning:
- What you're checking
- What you found
- Why it matters
Output format:
- **Issue identified:** [Describe the bug]
- **Root cause:** [Why it's happening]
- **Fix:** [Corrected code with comments]
- **Prevention:** [Best practices to avoid this in the future]
Include a working example to verify the fix.
此技能是平台无关的,可在 GitHub Copilot CLI 可用的任何终端上下文中工作。它不依赖于:
该技能完全自包含,仅基于用户输入和框架知识运行。
每周安装数
720
仓库
GitHub 星标数
27.1K
首次出现
Jan 19, 2026
安全审计
安装于
opencode595
gemini-cli574
codex528
github-copilot492
cursor467
claude-code449
This skill transforms raw, unstructured user prompts into highly optimized prompts using established prompting frameworks. It analyzes user intent, identifies task complexity, and intelligently selects the most appropriate framework(s) to maximize Claude/ChatGPT output quality.
The skill operates in "magic mode" - it works silently behind the scenes, only interacting with users when clarification is critically needed. Users receive polished, ready-to-use prompts without technical explanations or framework jargon.
This is a universal skill that works in any terminal context, not limited to Obsidian vaults or specific project structures.
Invoke this skill when:
Objective: Understand what the user truly wants to accomplish.
Actions:
Detection Patterns:
Objective: Map task characteristics to optimal prompting framework(s).
Framework Mapping Logic:
| Task Type | Recommended Framework(s) | Rationale |
|---|---|---|
| Role-based tasks (act as expert, consultant) | RTF (Role-Task-Format) | Clear role definition + task + output format |
| Step-by-step reasoning (debugging, proof, logic) | Chain of Thought | Encourages explicit reasoning steps |
| Structured projects (multi-phase, deliverables) | RISEN (Role, Instructions, Steps, End goal, Narrowing) | Comprehensive structure for complex work |
| Complex design/analysis (systems, architecture) | RODES (Role, Objective, Details, Examples, Sense check) | Balances detail with validation |
| Summarization (compress, synthesize) | Chain of Density | Iterative refinement to essential info |
| Communication (reports, presentations, storytelling) |
Blending Strategy:
Selection Criteria:
Critical Rule: This selection happens silently - do not explain framework choice to user.
Role: You are a senior software architect. [RTF - Role]
Objective: Design a microservices architecture for [system]. [RODES - Objective]
Approach this step-by-step: [Chain of Thought]
Details: [RODES - Details]
Output Format: [RTF - Format] Provide architecture diagram description, service definitions, and migration roadmap.
Sense Check: [RODES - Sense check] Validate that services are loosely coupled, independently deployable, and aligned with business domains.
**4.5. Language Adaptation**
- If original prompt is in Portuguese, generate prompt in Portuguese
- If original prompt is in English, generate prompt in English
- If mixed, default to English (more universal for AI models)
**4.6. Quality Checks**
Before finalizing, verify:
- [ ] Prompt is self-contained (no external context needed)
- [ ] Task is specific and measurable
- [ ] Output format is clear
- [ ] No ambiguous language
- [ ] Appropriate level of detail for task complexity
## Critical Rules
### **NEVER:**
- ❌ Assume information that wasn't provided - ALWAYS ask if critical details are missing
- ❌ Explain which framework was selected or why (magic mode - keep it invisible)
- ❌ Generate generic, one-size-fits-all prompts - always customize to context
- ❌ Use technical jargon in the final prompt (unless user's domain is technical)
- ❌ Ask more than 3 clarifying questions (avoid user fatigue)
- ❌ Include meta-commentary in the output ("This prompt uses...", "Note that...")
- ❌ Present output without code block formatting
- ❌ Mix languages inconsistently (if user writes in PT, respond in PT)
### **ALWAYS:**
- ✅ Analyze intent before generating (Step 1 is mandatory)
- ✅ Ask clarifying questions if critical information is ambiguous (Step 2 conditional)
- ✅ Select framework(s) based on task type and complexity (Step 3 mapping)
- ✅ Blend multiple frameworks when it improves prompt quality
- ✅ Adapt prompt length to original input complexity (simple → short, complex → detailed)
- ✅ Include output format specification in generated prompts
- ✅ Present final prompt in clean Markdown code block
- ✅ Make prompts self-contained (no dependency on external context)
- ✅ Use examples in complex prompts to illustrate expected output
- ✅ Validate prompt completeness before presenting (quality checks in Step 4.6)
### **Example 2: Complex Clear Prompt → RODES + Chain of Thought (No Clarification)**
**User Input:**
copilot> create prompt for: I need to build a product recommendation system considering purchase history, user preferences, and market trends
**Skill Internal Process:**
1. **Analyze:** Clear intent, complex task (ML system design), technical domain
2. **Clarify:** Skip (sufficient information)
3. **Select:** RODES (complex design) + Chain of Thought (reasoning needed)
**Skill Output:**
````markdown
Role: You are a senior machine learning engineer specializing in recommendation systems.
Objective: Design a product recommendation system that combines user purchase history, preferences, and market trends.
Details:
Approach step-by-step:
Examples:
Sense Check: Validate that the proposed solution balances personalization with discovery, scales to production load, and incorporates real-time market trends effectively.
Output format: Technical design document with architecture diagrams, algorithm justification, and implementation roadmap.
User Input:
copilot> optimize prompt: my Python code isn't working, needs debugging
Skill Internal Process:
Skill Output:
```
You are an expert Python debugger.
Task: Debug the Python code provided by the user by analyzing it step-by-step.
Debugging approach:
1. Read and understand the code's intended purpose
2. Identify the error or unexpected behavior
3. Trace variable states at each execution step
4. Locate the root cause of the issue
5. Propose fix with explanation
6. Suggest preventive measures to avoid similar bugs
For each step, show your reasoning:
- What you're checking
- What you found
- Why it matters
Output format:
- **Issue identified:** [Describe the bug]
- **Root cause:** [Why it's happening]
- **Fix:** [Corrected code with comments]
- **Prevention:** [Best practices to avoid this in the future]
Include a working example to verify the fix.
```
This skill is platform-agnostic and works in any terminal context where GitHub Copilot CLI is available. It does not depend on:
The skill is entirely self-contained, operating purely on user input and framework knowledge.
Weekly Installs
720
Repository
GitHub Stars
27.1K
First Seen
Jan 19, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
opencode595
gemini-cli574
codex528
github-copilot492
cursor467
claude-code449
React 组合模式指南:Vercel 组件架构最佳实践,提升代码可维护性
103,800 周安装
| RACE (Role, Audience, Context, Expectation) |
| Audience-aware messaging |
| Investigation/analysis (research, diagnosis) | RISE (Research, Investigate, Synthesize, Evaluate) | Systematic analytical approach |
| Contextual situations (problem-solving with background) | STAR (Situation, Task, Action, Result) | Context-rich problem framing |
| Documentation (medical, technical, records) | SOAP (Subjective, Objective, Assessment, Plan) | Structured information capture |
| Goal-setting (OKRs, objectives, targets) | CLEAR (Collaborative, Limited, Emotional, Appreciable, Refinable) | Goal clarity and actionability |
| Coaching/development (mentoring, growth) | GROW (Goal, Reality, Options, Will) | Developmental conversation structure |