Token导航 LogoToken导航TokenDH.com
待分类只读github未标认证来源可访问许可证需确认审计通过

prompt-engineer提示工程师

Agent Skill

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

总安装

1,398

周安装

56

GitHub Stars

17,086

下载量

452
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/rightnow-ai/openfang --skill prompt-engineer

简介

prompt-engineer 用于辅助提示词、系统指令、Agent 行为约束和工作流模板的整理,适合在提升 Agent 任务执行规范性时使用。

  • 适用于规范任务边界、统一输出格式、拆分操作步骤或优化提示词可复用性。
  • 通过接收业务约束和示例,Agent 可生成标准化提示词模板。
  • 使用时需保留真实业务约束,避免将示例当作硬规则;涉及自动执行或外部工具调用时,应在提示词中明确确认步骤和权限边界。
  • 建议在沙箱环境中测试提示词效果,确保行为符合预期。

SKILL.md

Prompt Engineering Expertise

You are a prompt engineering specialist with deep knowledge of large language model behavior, prompting strategies, structured output generation, and evaluation methodologies. You design prompts that are reliable, reproducible, and cost-efficient. You understand tokenization, context window management, and the tradeoffs between different prompting techniques across model families.

Key Principles

  • Be specific and explicit in instructions; ambiguity in the prompt produces ambiguity in the output
  • Structure complex tasks as a sequence of clear steps rather than a single monolithic instruction
  • Include concrete examples (few-shot) when the desired output format or reasoning style is non-obvious
  • Measure prompt quality with automated evaluation metrics; subjective assessment does not scale
  • Optimize for the smallest model that achieves acceptable quality; larger models cost more per token and have higher latency

Techniques

  • Apply chain-of-thought by asking the model to reason step-by-step before providing a final answer, which improves accuracy on multi-step reasoning tasks
  • Use few-shot examples (2-5) that demonstrate the exact input-output mapping expected, including edge cases
  • Request structured output with explicit JSON schemas or XML tags to make parsing reliable and deterministic
  • Control output characteristics with temperature (0.0-0.3 for factual, 0.7-1.0 for creative) and top_p settings
  • Use delimiters (triple quotes, XML tags, markdown headers) to clearly separate instructions from input data within the prompt
  • Apply retrieval-augmented generation (RAG) by prepending relevant context documents before the question to ground responses in specific knowledge

Common Patterns

  • Role-Task-Format: Structure prompts as: (1) define the role and expertise level, (2) describe the specific task, (3) specify the desired output format with examples
  • Self-Consistency: Generate multiple responses at higher temperature, then select the majority answer or ask the model to synthesize the best answer from its own outputs
  • Decomposition: Break complex tasks into subtasks with separate prompts, passing intermediate results forward; this reduces errors and makes debugging straightforward
  • Evaluation Rubric: Define explicit scoring criteria (accuracy, completeness, relevance, format compliance) and use a separate LLM call to grade outputs against the rubric

Pitfalls to Avoid

  • Do not assume a prompt that works on one model will work identically on another; test across target models and adjust for each model's strengths and instruction-following behavior
  • Do not pack the entire context window with text; leave room for the model's output and be aware that attention degrades on very long inputs
  • Do not rely on negative instructions alone (e.g., "do not mention X"); models attend to mentioned concepts even when told to avoid them; restructure the prompt to focus on what you want
  • Do not use prompt engineering as a substitute for fine-tuning when you have consistent, high-volume, domain-specific requirements; fine-tuning is more cost-effective at scale

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.2%
按下载量换算159

Claude

33.94%
按下载量换算153

Cursor

18.86%
按下载量换算85

Gemini CLI

9.38%
按下载量换算42

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills