分析并优化原始提示词,补全意图与缺口,生成可直接使用的高质量 prompt。
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "prompt-optimizer" 技能: 1. 下载 https://raw.githubusercontent.com/affaan-m/ECC/main/skills/prompt-optimizer/SKILL.md 2. 保存为 ~/.claude/skills/prompt-optimizer/SKILL.md 3. 装好后重载技能,告诉我可以用了
请帮我优化这个 prompt:写一篇关于远程办公好处的文章,语气专业一点。
输出补全目标受众、文章结构、语气要求与篇幅限制后的可直接粘贴提示词。
帮我改进这个 prompt:分析这份销售数据,告诉我有什么问题。
输出更清晰的分析提示词,明确指标、时间范围、异常识别和结论格式。
怎么写 prompt:让 AI 帮我写一个新功能的 PRD。
输出包含业务背景、用户场景、功能范围、验收标准和文档结构的优化提示词。
Analyze a draft prompt, critique it, match it to ECC ecosystem components, and output a complete optimized prompt the user can paste and run.
/prompt-optimizeconfigure-ecc instead)skill-stocktake instead)Advisory only — do not execute the user's task.
Do NOT write code, create files, run commands, or take any implementation action. Your ONLY output is an analysis plus an optimized prompt.
If the user says "just do it", "直接做", or "don't optimize, just execute", do not switch into implementation mode inside this skill. Tell the user this skill only produces optimized prompts, and instruct them to make a normal task request if they want execution instead.
Run this 6-phase pipeline sequentially. Present results using the Output Format below.
Before analyzing the prompt, detect the current project context:
CLAUDE.md exists in the working directory — read it for project conventionspackage.json → Node.js / TypeScript / React / Next.jsgo.mod → Gopyproject.toml / requirements.txt → PythonCargo.toml → Rustbuild.gradle / pom.xml → Java / Kotlin (then check for quarkus in build file → Quarkus, or spring-boot → Spring Boot)Package.swift → SwiftGemfile → Rubycomposer.json → PHP*.csproj / *.sln → .NETMakefile / CMakeLists.txt → C / C++cpanfile / Makefile.PL → PerlIf no project files are found (e.g., the prompt is abstract or for a new project), skip detection and flag "tech stack unknown" in Phase 4.
Classify the user's task into one or more categories:
| Category | Signal Words | Example |
|---|---|---|
| New Feature | build, create, add, implement, 创建, 实现, 添加 | "Build a login page" |
| Bug Fix | fix, broken, not working, error, 修复, 报错 | "Fix the auth flow" |
| Refactor | refactor, clean up, restructure, 重构, 整理 | "Refactor the API layer" |
| Research | how to, what is, explore, investigate, 怎么, 如何 | "How to add SSO" |
| Testing | test, coverage, verify, 测试, 覆盖率 | "Add tests for the cart" |
| Review | review, audit, check, 审查, 检查 | "Review my PR" |
| Documentation | document, update docs, 文档 | "Update the API docs" |
| Infrastructure | deploy, CI, docker, database, 部署, 数据库 | "Set up CI/CD pipeline" |
| Design | design, architecture, plan, 设计, 架构 | "Design the data model" |
If Phase 0 detected a project, use codebase size as a signal. Otherwise, estimate from the prompt description alone and mark the estimate as uncertain.
| Scope | Heuristic | Orchestration |
|---|---|---|
| TRIVIAL | Single file, < 50 lines | Direct execution |
| LOW | Single component or module | Single command or skill |
| MEDIUM | Multiple components, same domain | Command chain + /verify |
| HIGH | Cross-domain, 5+ files | /plan first, then phased execution |
| EPIC | Multi-session, multi-PR, architectural shift | Use blueprint skill for multi-session plan |
…
帮助你在 EVM 多链应用中安全处理代币精度与小数位差异
提供数据库迁移最佳实践,支持模式变更、回滚与零停机发布方案
为 Claude Code 会话建立正式评估流程,支持评测驱动开发与质量验证
提供 NestJS 架构模式与最佳实践,帮助构建可维护的生产级 TypeScript 后端。
帮助开发者设计、实现并重构六边形架构系统,确保边界清晰且易于测试。
帮助开发者用 Node/TypeScript 快速构建符合规范的 MCP 服务器与工具能力
帮助用户为各类 AI 工具编写精准提示词,减少试错并保留完整上下文。
压缩提示词、文档与智能体技能内容,在保留结构下节省令牌成本。
获取 GodPrompt 通用系统提示及组件,并支持 AI 开发任务分类与渐进式上下文调用
用于创建、编辑与优化AI技能,并评测其效果与触发准确性。
将模糊需求重构为结构化专家级提示词,提升大模型输出质量与稳定性。
将其他 AI 编码助手的技能规范转换为 Amplifier 原生 SKILL.md 文件