Analyze and refine raw prompts into ready-to-use high-quality prompts.
Copy the install command and let the AI configure it · recommended for beginners
Please install the "prompt-optimizer" skill from askskill: 1. Download https://raw.githubusercontent.com/affaan-m/ECC/main/skills/prompt-optimizer/SKILL.md 2. Save it as ~/.claude/skills/prompt-optimizer/SKILL.md 3. Reload skills and tell me it's ready
Please optimize this prompt: Write an article about the benefits of remote work in a more professional tone.
A ready-to-paste prompt with audience, structure, tone, and length requirements added.
Help me improve this prompt: Analyze this sales data and tell me what problems you find.
A clearer analysis prompt specifying metrics, time range, anomaly detection, and output format.
How should I write a prompt to have AI draft a PRD for a new feature?
An optimized prompt including business context, user scenarios, scope, acceptance criteria, and document structure.
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 |
…
Automatically format, lint, and fix code issues on every edit.
Learn robust error-handling patterns across TypeScript, Python, and Go applications.
Audit Claude skills and commands with quick scans or full stocktakes.
Plan demand forecasts, safety stock, and replenishment for multi-location retail inventory.
Create iOS liquid glass interfaces with dynamic visuals and interactive morphing.
Record polished web app UI demo videos for walkthroughs, tutorials, and showcases.
Write precise prompts for any AI tool with full context retention.
Compress prompts, docs, and agent skills while preserving structure and saving tokens.
Create, refine, and evaluate AI skills for better performance and triggering accuracy.
Turn vague requests into structured expert prompts for better LLM outputs.
Convert skills from other AI coding assistants into Amplifier-native SKILL.md files.
Mine recurring coding-agent workflows and refine skills for reuse and publication.