sickn33/agentic-awesome-skills

prompt-engineeringsickn33/agentic-awesome-skills

Expert guide on prompt engineering patterns, best practices, and optimization techniques. Use when user wants to improve prompts, learn prompting strategies, or debug agent behavior.

  • SKILL.md 已保存
  • 英文来源资料
  • 安装与运行未实测
先判断是否解决你的问题

prompt-engineering 是什么?

Expert guide on prompt engineering patterns, best practices, and optimization techniques. Use when user wants to improve prompts, learn prompting strategies, or debug agent behavior.

以上为来源原文,中文用途说明尚待整理。

按客户端选择安装入口

怎么接入你的 Agent?

  1. 定位完整 Skill 目录

    打开本项目来源,核对 SKILL.md 及其引用的脚本和资料。

  2. 交给你正在用的 Agent

    在下面选择客户端,展开并复制安装指令,让 Agent 读取来源后选择安装方式。

  3. 确认识别,再做具体任务

    让 Agent 回报安装目录和识别到的名称 prompt-engineering,然后告诉 Agent 你的任务和实际输入,让它先核对触发条件。

展开并复制给 Codex 的安装指令
发送给 Codex

安装并检查 prompt-engineering

请在 Codex 的当前工作环境中安装并检查 prompt-engineering 这个 Skill。

项目身份:sickn33/agentic-awesome-skills / prompt-engineering
来源:https://github.com/sickn33/agentic-awesome-skills/blob/f6f686855a672e3868d648cef056312392e3a417/plugins/aasb-aas-agent-mcp-builder/skills/prompt-engineering/SKILL.md
已定位的源文件:plugins/aasb-aas-agent-mcp-builder/skills/prompt-engineering/SKILL.md

1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。
需要核对时再展开原文

来源原文与资料状态

源文件
已保存 SKILL.md,抓取于 2026-11-22T03:34:45.756Z
中文使用说明
尚待整理,保留英文来源内容
安装与任务测试
本站未执行安装或任务测试
来源复核
已保留来源记录;当前完整用法未逐项人工复核
展开 SKILL.md 原文、章节与历史收录资料

plugins/aasb-aas-agent-mcp-builder/skills/prompt-engineering/SKILL.md · 抓取时间 2026-11-22T03:34:45.756Z

以下保留源文件的 description、章节及摘录,供核对中文说明;完整文件通过上方链接打开。

抓取成功不代表已完成安装或任务测试。

来源 description(原文)

Expert guide on prompt engineering patterns, best practices, and optimization techniques. Use when user wants to improve prompts, learn prompting strategies, or debug agent behavior.

查看源文件章节 / Source sections
  • 原文:Prompt Engineering Patterns
  • 原文:Core Capabilities
  • 原文:1. Few-Shot Learning
  • 原文:2. Chain-of-Thought Prompting
  • 原文:3. Prompt Optimization
  • 原文:4. Template Systems
  • 原文:5. System Prompt Design
  • 原文:Key Patterns
  • 原文:Progressive Disclosure
  • 原文:Instruction Hierarchy
  • 原文:Error Recovery
  • 原文:Best Practices
  • 原文:Common Pitfalls
  • 原文:When to Use
  • 原文:Safety Boundaries
  • 原文:Limitations
原文:Prompt Engineering Patterns

Advanced prompt engineering techniques to maximize LLM performance, reliability, and controllability.

原文:1. Few-Shot Learning

Teach the model by showing examples instead of explaining rules. Include 2-5 input-output pairs that demonstrate the desired behavior. Use when you need consistent formatting, specific reasoning patterns, or handling of edge cases. Additional examples may help or hurt; evaluate their relevance and token cost. **Example:** ```markdown Extract key information from support tickets: Input: "My login doesn't work and I keep getting error 403" Output: {"issue": "authentication", "error_code": "403", "priority": "high"} Input: "Feature request: add dark mode to settings" Output: {"issue": "feature_request", "error_code": null, "priority": "low"} Now process: "Can't upload files larger than 10MB, getting timeout" ```

原文:2. Chain-of-Thought Prompting

Ask for a concise rationale, assumptions, calculations or independently checkable evidence suitable for the task. Do not request hidden internal reasoning or assume a fixed percentage improvement; effects depend on model, task and evaluation. **Example:** ```markdown Analyze this bug report and determine root cause. Give a concise evidence-based diagnosis covering: 1. What is the expected behavior? 2. What is the actual behavior? 3. What changed recently that could cause this? 4. What components are involved? 5. What is the most likely root cause? Bug: "Users can't save drafts after the cache update deployed yesterday" ```

原文:3. Prompt Optimization

Systematically improve prompts through testing and refinement. Start simple, measure performance (accuracy, consistency, token usage), then iterate. Test on diverse inputs including edge cases. Use A/B testing to compare variations. Critical for production prompts where consistency and cost matter. **Example:** ```markdown Version 1 (Simple): "Summarize this article" → Result: Inconsistent length, misses key points Version 2 (Add constraints): "Summarize in 3 bullet points" → Result: Better structure, but still misses nuance Version 3 (Add reasoning): "Identify the 3 main findings, then summarize each" → Result: Consistent, accurate, captures key information ```

原文:4. Template Systems

Build reusable prompt structures with variables, conditional sections, and modular components. Use for multi-turn conversations, role-based interactions, or when the same pattern applies to different inputs. Reduces duplication and ensures consistency across similar tasks. **Example:** ```python # Reusable code review template template = """ Review this {language} code for {focus_area}. Code: {code_block} Provide feedback on: {checklist} """ # Usage prompt = template.format( language="Python", focus_area="security vulnerabilities", code_block=user_code, checklist="1. SQL injection\n2. XSS risks\n3. Authentication" ) ```

原文:5. System Prompt Design

Set global behavior and constraints that persist across the conversation. Define the model's role, expertise level, output format, and safety guidelines. Use system prompts for stable instructions that shouldn't change turn-to-turn, freeing up user message tokens for variable content. **Example:** ```markdown System: You are a senior backend engineer specializing in API design. Rules: - Always consider scalability and performance - Suggest RESTful patterns by default - Flag security concerns immediately - Provide code examples in Python - Use early return pattern Format responses as: 1. Analysis 2. Recommendation 3. Code example 4. Trade-offs ```

文件 SHA256:f97124ccb20ab7846b0e69bac70c7a24560f434b61831398df8b721c77ef75c4

仓库许可证记录:MIT;repository-license-recorded-scope-unverified,查看来源。

SKILL.md原文description · 2026-11-22T03:34:45.756Z

Expert guide on prompt engineering patterns, best practices, and optimization techniques. Use when user wants to improve prompts, learn prompting strategies, or debug agent behavior.

查看历史简介来源

历史收录数据

来源仓库sickn33/agentic-awesome-skills
Skill源路径plugins/aasb-aas-agent-mcp-builder/skills/prompt-engineering/SKILL.md

安装前请让使用的Agent先读取这个SKILL.md及其所在目录,确认依赖和所需权限。此页不生成未经来源验证的安装命令。

返回 Skills 目录,按任务继续筛选 · MCP与Skills教程与资源