Token导航 LogoToken导航

Agent Skill · 研究检索

prompt-engineer(提示工程师)

用于辅助提示词、系统指令、Agent 行为约束和工作流模板的整理。它适合让 Agent 规范任务边界、统一输出格式、拆分操作步骤或优化提示词可复用性。使用时需要保留真实业务约束,不要把示例当硬规则;涉及自动执行、外部工具或高风险操作时,应在提示词中明确确认步骤、权限边界和失败处理方式。

prompt-engineer 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为执行命令;许可证为 MIT,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 6,183。

总安装 23,070周安装 991GitHub Stars 35,711下载 8,087核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:prompt-engineer(提示工程师)
来源仓库:https://github.com/sickn33/antigravity-awesome-skills
仓库路径:skills/prompt-engineer
安装命令:
npx skills add https://github.com/sickn33/antigravity-awesome-skills --skill prompt-engineer
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/sickn33/antigravity-awesome-skills --skill prompt-engineer

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

使用 11 个已建立的框架将原始用户提示转换为优化提示。

分析任务类型、复杂性和清晰度,智能地选择最适合工作的框架 支持RTF、RISEN、Chain of Thought、RODES、Chain of Density、RACE、RISE、STAR、SOAP、CLEAR、GROW等11种框架 在“魔法模式”下运行,默默地选择框架,而不向用户暴露技术术语 混合多个框架来完成跨越不同维度的复杂任务(例如,结构加推理) 在任何终端环境中通用,独立于项目结构或外部依赖关系

来源仓库内路径:skills/prompt-engineer

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/sickn33/antigravity-awesome-skills --skill pro…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要执行命令,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

prompt-engineer 怎么安装?

在终端执行 npx skills add https://github.com/sickn33/antigravity-awesome-skills --skill prompt-engine…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

prompt-engineer 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

prompt-engineer 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 npx skills add https://github.com/sickn33/antigravity-awesome-skills --skill prompt-engineer;npx skills add sickn33/antigravity-awesome-skills --skill "prompt-engineer" 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

prompt-engineer 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

prompt-engineer 用的人多吗?

公开数据是累计安装 23,070 次,近一周安装 991 次,下载 8,087 次,GitHub 35,711 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

prompt-engineer 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
prompt-engineer

提示工程师 · 本页

23,07035,711执行命令MIT通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Purpose

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.

When to Use

Invoke this skill when:

  • User provides a vague or generic prompt (e.g., "help me code Python")
  • User has a complex idea but struggles to articulate it clearly
  • User's prompt lacks structure, context, or specific requirements
  • Task requires step-by-step reasoning (debugging, analysis, design)
  • User needs a prompt for a specific AI task but doesn't know prompting frameworks
  • User wants to improve an existing prompt's effectiveness
  • User asks variations of "how do I ask AI to..." or "create a prompt for..."

Workflow

Step 1: Analyze Intent

Objective: Understand what the user truly wants to accomplish.

Actions:

  1. Read the raw prompt provided by the user
  2. Detect task characteristics:

- Type: coding, writing, analysis, design, learning, planning, decision-making, creative, etc. - Complexity: simple (one-step), moderate (multi-step), complex (requires reasoning/design) - Clarity: clear intention vs. ambiguous/vague - Domain: technical, business, creative, academic, personal, etc.

  1. Identify implicit requirements:

- Does user need examples? - Is output format specified? - Are there constraints (time, resources, scope)? - Is this exploratory or execution-focused?

Detection Patterns:

  • Simple tasks: Short prompts (<50 chars), single verb, no context
  • Complex tasks: Long prompts (>200 chars), multiple requirements, conditional logic
  • Ambiguous tasks: Generic verbs ("help", "improve"), missing object/context
  • Structured tasks: Mentions steps, phases, deliverables, stakeholders

Step 2: Ask Clarifying Questions (Conditional)

Objective: Gather missing information only when it is critical to framework selection or prompt quality.

Trigger Conditions — ask only if:

  • Task type is completely ambiguous (cannot determine coding vs. writing vs. analysis)
  • Target audience is unknown and materially affects the output
  • Scope is undefined and choosing wrong scope would invalidate the prompt
  • Requested output format conflicts or is missing and cannot be inferred

Question Limits:

  • Maximum 3 questions per invocation
  • Combine related questions into one when possible
  • If enough context exists, skip this step entirely (most cases)

Example Clarifying Exchange:

User: "help me with AI"

Step 2 (triggered — task type ambiguous):
"To craft the best prompt, I need one quick clarification:
1. What do you want to do with AI — build something, learn about it, or use an AI tool for a task?"

Critical Rule: When in doubt, skip clarification and generate the best prompt with available context. Over-asking breaks the "magic mode" experience.

Step 3: Select Framework(s)

Objective: Map task characteristics to optimal prompting framework(s).

Framework Mapping Logic:

Task TypeRecommended 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 ThoughtEncourages 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 DensityIterative refinement to essential info
Communication (reports, presentations, storytelling)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

Blending Strategy:

  • Combine 2-3 frameworks when task spans multiple types
  • Example: Complex technical project → RODES + Chain of Thought (structure + reasoning)
  • Example: Leadership decision → CLEAR + GROW (goal clarity + development)

Selection Criteria:

  • Primary framework = best match to core task type
  • Secondary framework(s) = address additional complexity dimensions
  • Avoid over-engineering: simple tasks get simple frameworks

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]

  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. 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:**

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.

### **Example 4: Code Debugging → Chain of Thought**

**User Input:**

copilot> optimize prompt: my Python code isn't working, needs debugging


**Skill Internal Process:**

1. **Analyze:** Debugging task, needs step-by-step reasoning
2. **Clarify:** Skip (user will provide code context later)
3. **Select:** Chain of Thought

**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.

## Notes

This skill is **platform-agnostic** and works in any terminal context where GitHub Copilot CLI is available. It does not depend on:

- Obsidian vault structure
- Specific project configurations
- External files or templates

The skill is entirely self-contained, operating purely on user input and framework knowledge.

## Limitations

- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.

平台分布

Claude Code

28.33%
按下载量换算2,291

Antigravity

23.26%
按下载量换算1,881

OpenCode

19.9%
按下载量换算1,609

Gemini CLI

14.02%
按下载量换算1,134

Cursor

8.12%
按下载量换算657

Codex

3.83%
按下载量换算310

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/sickn33/antigravity-awesome-skills --skill prompt-engineer;npx skills add sickn33/antigravity-awesome-skills --skill "prompt-engineer" 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

继续浏览同类 Skills