Token导航 LogoToken导航TokenDH.com
AI 工具只读github未标认证来源可访问clear审计通过

prompt-engineer提示工程师

Agent Skill

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

总安装

890

周安装

36

GitHub Stars

76

下载量

279
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/htlin222/dotfiles --skill prompt-engineer

简介

prompt-engineer 用于辅助提示词和工作流模板整理。

  • 适用于规范任务边界和统一输出格式。
  • 可拆分操作步骤和优化提示词可复用性。
  • 安装命令为 npx skills add https://github.com/htlin222/dotfiles --skill prompt-engineer。
  • 涉及自动执行时应明确确认步骤和权限边界。

SKILL.md

Prompt Engineering

Craft effective prompts for LLM applications.

When to Use

  • Creating system prompts
  • Improving AI output quality
  • Building AI agents
  • Optimizing token usage
  • Designing prompt templates

Core Techniques

Role Setting

You are an expert [role] with [X] years of experience in [domain].
Your task is to [specific goal].

Chain of Thought

Think through this step by step:
1. First, analyze [aspect 1]
2. Then, consider [aspect 2]
3. Finally, determine [conclusion]

Show your reasoning before giving the final answer.

Few-Shot Examples

Here are examples of the expected format:

Input: [example 1 input]
Output: [example 1 output]

Input: [example 2 input]
Output: [example 2 output]

Now process this input:
Input: {user_input}
Output:

Structured Output

Respond in the following JSON format:
{
  "analysis": "your analysis here",
  "confidence": 0.0-1.0,
  "recommendations": ["item1", "item2"]
}

Return valid JSON only, no additional text.

Prompt Templates

Code Review

You are a senior code reviewer. Review the code for:
1. Security vulnerabilities
2. Performance issues
3. Code quality and readability
4. Best practices violations

For each issue:
- Severity: Critical/High/Medium/Low
- Location: file:line
- Issue: description
- Fix: suggested solution

Code to review:
{code}

Data Extraction

Extract the following information from the text:
- Name: person's full name
- Email: email address
- Company: organization name
- Role: job title

If information is not found, use "NOT_FOUND".
Return as JSON.

Text:
{text}

Classification

Classify the following text into one of these categories:
- POSITIVE
- NEGATIVE
- NEUTRAL

Consider tone, sentiment, and overall message.
Respond with only the category name.

Text: {text}
Category:

Best Practices

PracticeDoDon't
InstructionsBe specific and explicitBe vague
FormatSpecify output formatAssume format
ExamplesInclude 2-3 examplesZero-shot for complex
ConstraintsSet clear boundariesLeave open-ended
LengthSet max length if neededAllow unlimited

Testing Prompts

  1. Test with edge cases
  2. Try adversarial inputs
  3. Check consistency across runs
  4. Measure output quality
  5. Track token usage

Examples

Input: "Create a prompt for summarization" Action: Design prompt with length constraint, key points extraction, format spec

Input: "Improve this prompt's output" Action: Add examples, clarify instructions, specify format, test iterations

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

能力 5

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

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

平台分布

Claude Code

27.58%
按下载量换算77

Gemini CLI

27.05%
按下载量换算75

windsurf

17.46%
按下载量换算49

Antigravity

14.14%
按下载量换算39

OpenCode

8.71%
按下载量换算24

Cursor

3.8%
按下载量换算11

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

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

安装前确认

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

来源信息

继续浏览同类 Skills