Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问许可证需确认审计通过

prompt-engineer提示工程师

Agent Skill

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

总安装

23,305

周安装

772

GitHub Stars

3

下载量

10,984
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/jmsktm/claude-settings --skill 'Prompt Engineer'

简介

prompt-engineer 用于辅助提示词、系统指令、Agent 行为约束和工作流模板的整理,帮助规范任务边界、统一输出格式并提升可复用性。

  • 适用于构建标准化提示工程框架、定义角色行为和拆分复杂任务步骤。
  • 可生成带占位符的模板、错误处理逻辑和版本控制说明。
  • 安装命令:npx skills add https://github.com/jmsktm/claude-settings --skill 'Prompt Engineer'。
  • 示例不应被视为强制规则,高风险操作需显式确认步骤与权限。

SKILL.md

Prompt Engineer

The Prompt Engineer skill helps you craft, refine, and optimize prompts for Claude Code and other AI systems. It applies proven prompt engineering principles including clarity, specificity, context provision, and structural best practices to transform vague requests into effective AI instructions.

This skill analyzes existing prompts for weaknesses, suggests improvements based on prompt engineering research, and helps you build prompt libraries for recurring tasks. It's particularly valuable when you need consistent, high-quality AI outputs or want to maximize the effectiveness of complex multi-step AI workflows.

Whether you're creating one-off prompts or building reusable templates, this skill ensures your AI interactions are clear, actionable, and produce the results you need.

Core Workflows

Workflow 1: Analyze & Optimize Existing Prompt

  1. Receive the current prompt from user
  2. Analyze against prompt engineering principles:

- Clarity: Is the request unambiguous? - Specificity: Are outputs well-defined? - Context: Is necessary background provided? - Structure: Is the prompt well-organized? - Constraints: Are limitations clearly stated?

  1. Identify weaknesses and improvement opportunities
  2. Provide optimized version with explanations
  3. Test improved prompt if requested
  4. Iterate based on results

Workflow 2: Design New Prompt from Scratch

  1. Clarify the goal: What outcome is needed?
  2. Gather requirements:

- Target AI system capabilities - Output format requirements - Domain context needed - Edge cases to handle

  1. Structure the prompt using proven patterns:

- Role/persona if beneficial - Clear task description - Specific constraints and requirements - Output format specification - Examples if complex

  1. Draft initial version
  2. Refine for clarity and completeness
  3. Document usage guidelines

Workflow 3: Build Prompt Template Library

  1. Identify recurring prompt patterns in workflow
  2. Extract reusable components
  3. Parameterize variable elements
  4. Document template with:

- Purpose and use cases - Parameter descriptions - Example usage - Expected outputs

  1. Test template with multiple scenarios
  2. Store in organized library structure

Quick Reference

ActionCommand/Trigger
Optimize existing prompt"Optimize this prompt: [prompt]"
Design new prompt"Design a prompt for [goal]"
Review prompt quality"Review this prompt: [prompt]"
Create template"Create a prompt template for [use case]"
Apply best practices"Apply prompt engineering best practices to [prompt]"
Fix prompt issues"This prompt isn't working well: [prompt]"

Best Practices

  • Be Specific: Replace vague terms with concrete requirements

- Bad: "Make it better" - Good: "Increase response accuracy by providing 3 cited examples"

  • Provide Context: Give AI the background it needs

- Include: Domain knowledge, target audience, constraints - Example: "For a technical audience familiar with React..."

  • Structure Clearly: Use formatting to organize complex prompts

- Sections, bullets, numbered steps - Clear delineation between instructions and examples

  • Define Success: Specify what good output looks like

- Format requirements (JSON, markdown, etc.) - Length constraints - Quality criteria

  • Use Examples: Show don't just tell for complex outputs

- Provide 1-3 examples of desired output - Include edge cases if relevant

  • Iterate: Prompts improve through testing

- Start simple, add complexity as needed - Test with edge cases - Refine based on actual outputs

  • Separate Concerns: Don't mix multiple requests

- One clear goal per prompt - Chain prompts for multi-step workflows

  • Constrain Appropriately: Set boundaries without over-constraining

- Specify limits (word count, format) - Allow flexibility where creativity helps

Advanced Techniques

Chain-of-Thought Prompting

Encourage step-by-step reasoning by asking AI to "think through" problems:

Before providing the final answer, work through:
1. What are the key factors?
2. What are the trade-offs?
3. What does the evidence suggest?
Then provide your conclusion.

Few-Shot Learning

Provide examples of input-output pairs:

Example 1: [input] → [output]
Example 2: [input] → [output]
Now apply the same pattern to: [new input]

Role-Based Prompting

Assign expertise or perspective:

As a senior React architect with 10 years of experience,
review this component for performance issues...

Constraint-Based Refinement

Use specific constraints to shape output:

Requirements:
- Maximum 3 paragraphs
- Include code examples
- Cite sources
- Use beginner-friendly language

Common Pitfalls to Avoid

  • Assuming context the AI doesn't have
  • Being too vague about desired output format
  • Mixing multiple unrelated requests
  • Over-complicating simple requests
  • Not specifying constraints until after receiving output
  • Forgetting to provide examples for complex patterns
  • Using ambiguous language or jargon without definition

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

37.72%
按下载量换算4,143

Claude

26.74%
按下载量换算2,937

Cursor

18.22%
按下载量换算2,001

Gemini CLI

10.05%
按下载量换算1,104

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

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

安装前确认

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

来源信息

继续浏览同类 Skills