提示词优化
原名:prompt-optimizer
把零散需求整理成目标、输入、约束、输出和验收清楚的提示词。
中文 Skills 技能说明
适合需要提高大模型任务稳定性的场景。优化时保留用户真实意图,不偷偷扩大目标或加入虚构事实;成稿前移除密钥、个人信息和不必要的企业数据。
上游能力依据
上游原始适用说明:Turn any rough prompt, half-formed idea, or task description into a finished, ready-to-send prompt optimized for any LLM model inside a chat interface — NOT the API. Use this skill whenever the user wants to write, rewrite, optimize, improve, sharpen, or polish a prompt for chat. Trigger phrases include "rewrite this prompt", "make this a better prompt", "optimize this prompt", "turn this into a prompt", "help me prompt this", "draft a prompt that...", "I want to ask...", or whenever the user pastes a draft prompt and asks for improvements. Also trigger when the user describes a task they plan to send to an LLM model and clearly wants a reusable, well-structured prompt rather than a direct answer. The output is always a single, copy-pasteable prompt in a code block that the user sends as-is — never a template with placeholders.
上游 SKILL.md 主要章节(保留原文标题):
- Two hard rules
- Rule 1 — No placeholders. Ever.
- Rule 2 — Ship a finished prompt no matter what the user gave you.
- What you output
- Why these principles work
- The rewrite workflow
- Core principles to apply
- Be clear and direct
- Explain the why
- Tell the LLM model what to do, not what to avoid
使用边界
先读取项目约定、依赖版本和现有测试,再提出最小改动。写文件、运行脚本、提交代码或发布前应检查差异并保留回退路径。
作者、翻译与许可证
- 原作者
- GitHub, Inc. 与 awesome-copilot contributors
- 中文翻译
- CEOFans翻译
- 许可证
- MIT
- 上游来源
- https://github.com/github/awesome-copilot/tree/3f0bba475ec40b9680e1d0311b9caffeec5ad4c3/skills/prompt-optimizer
适用范围
平台:linux、macos、windows;标签:AI 工程、提示词优化
安全提示
基础静态扫描不等于绝对安全。技能可能调用命令、浏览器、云服务或本地文件,请在最小权限环境中使用,高风险操作必须人工确认。
如发现侵权、许可证或安全问题,可在本页前台提交投诉,管理员复核后可立即下架。