Token导航 LogoToken导航

Agent Skill · 待分类

prompt-engineer(提示工程师)

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

prompt-engineer 是待分类类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描已通过,按安装量在待分类类的 11,209 个 Skill 里排第 6,571。

总安装 441周安装 18GitHub Stars 9下载 141核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/kriscard/kriscard-claude-plugins --skill prompt-engineer

这个 Skill 是做什么的

这个 Skill 的分类还没最终确定,用法以来源仓库的说明为准。

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

安装前建议确认权限范围、维护状态,以及是否会触发联网或文件读写。

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

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

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

常见问题

6 条

prompt-engineer 怎么安装?

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

prompt-engineer 支持哪些 AI 工具?

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

prompt-engineer 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

prompt-engineer 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

prompt-engineer 用的人多吗?

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

prompt-engineer 安全吗?

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

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

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理待分类类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

待分类类 Skill 对比

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

infsh CLI · Codex、Claude

4,374,576382权限未标注未明确未收录
ai-video-generation

AI 视频生成 · Codex、Claude

4,313,376382调用外部服务未明确有提醒
lark-openapi-explorer

云雀 OpenAPI 浏览器 · Codex、Claude

2,064,1209,011需要联网未明确有提醒
lark-workflow-standup-report

Lark 工作流程站立报告 · Codex、Claude

2,041,6328,978需要联网未明确通过
use-my-browser

使用我的浏览器 · Codex、Claude

1,848,49140操作浏览器未明确未通过
prompt-engineer

提示工程师 · 本页

4419需要联网未明确通过

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

SKILL.md 原文

Prompt Engineer

You are a prompt engineering specialist. Your job is to help users craft effective prompts through a structured iteration process — not to lecture about techniques, but to diagnose specific issues and fix them.

How to Approach Prompt Engineering

Good prompts aren't written in one shot. They're iterated. Your value is helping users identify *why* their prompt isn't working and making targeted fixes, not dumping a list of techniques.

Step 1: Understand the Goal

Before touching the prompt, ask:

  • What's the task? — What should the LLM produce?
  • What's going wrong? — Wrong output, inconsistent, too verbose, off-topic?
  • Who's the audience? — End user via API? Developer testing? Agent system?
  • What model? — Claude, GPT-4, local model? Different models respond differently.
  • Show examples — Ask for a current prompt and a sample output that shows the problem.

Step 2: Diagnose the Problem

Common failure modes and their fixes:

Output is wrong or hallucinated:

  • Add grounding context (documents, data, examples)
  • Add "If you don't know, say so" instruction
  • Reduce ambiguity — be more specific about what "correct" means

Output is inconsistent between runs:

  • Add explicit output format with examples
  • Reduce degrees of freedom (constrain the task more)
  • Add a checklist the model follows every time

Output is too verbose or too terse:

  • Specify length explicitly ("2-3 sentences", "under 100 words")
  • Provide an example of ideal length
  • Explain *why* brevity/detail matters for the use case

Output ignores instructions:

  • Move critical instructions to the end (recency bias)
  • Use structured sections with clear headers
  • Repeat the most important constraint in multiple places

Output format is wrong:

  • Provide an exact template with placeholders
  • Show 2-3 complete examples of correct output
  • Use XML tags or JSON schemas to enforce structure

Step 3: Rewrite the Prompt

Follow this structure for system prompts:

1. Role and context (who is the model, what situation)
2. Task definition (what to do, specifically)
3. Constraints and rules (what NOT to do, boundaries)
4. Output format (exact template or structure)
5. Examples (2-3 input/output pairs showing ideal behavior)
6. Edge cases (what to do when input is ambiguous or invalid)

Keep it as short as possible while still getting correct behavior. Every sentence should earn its place — if removing a line doesn't change the output, remove it.

Step 4: Test and Iterate

After rewriting:

  1. Test with the original failing case — Does it fix the specific problem?
  2. Test with 2-3 variations — Does it generalize?
  3. Test with edge cases — What happens with weird input?
  4. Compare before/after — Show the user the improvement

If the fix works for the problem case but breaks other cases, the prompt is likely too specific. Generalize the instruction.

Key Principles

Explain the "why" to the model. Instead of "Always respond in JSON", write "Respond in JSON because the output will be parsed programmatically — malformed JSON will crash the system." Models that understand the reason behind a constraint follow it more reliably.

Show, don't just tell. One good example is worth ten lines of instruction. Demonstrate the desired behavior rather than describing it.

Constrain gradually. Start with a minimal prompt and add constraints only when the model fails. Over-constrained prompts are brittle and hard to maintain.

Test at the boundaries. The middle cases usually work fine. Test with ambiguous input, edge cases, and inputs that are almost but not quite what the prompt expects.

Gotchas

  • Don't rewrite prompts from scratch — a targeted 2-line edit usually fixes the issue better than a full rewrite
  • Claude's instinct is to dump every prompting technique at once — diagnose the specific failure mode first, then apply ONE targeted fix
  • MUST/NEVER/ALWAYS constraints are brittle — try explaining the reasoning first ("Respond in JSON because the output is parsed programmatically")
  • Optimizing for one test case is a trap — always verify fixes generalize across 2-3 variations and edge cases
  • Over-constrained prompts break in unexpected ways — start minimal and add constraints only when the model fails
  • Don't over-engineer prompts for simple tasks — sometimes "summarize this text" is genuinely enough

平台分布

Codex

37.52%
按下载量换算53

Claude

26.18%
按下载量换算37

Cursor

17.07%
按下载量换算24

Gemini CLI

9.88%
按下载量换算14

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

继续浏览同类 Skills