Prompt Optimizer
Paste the following prompt into your AI chat to install this skill:
Please follow https://skillhub.cn/install/skillhub.md to install @user_be9151fe/prompt-optimizer-new.
About this skill
Problem
prompt-optimizer is for draft prompts that already state a task but lack clarity on audience, output format, constraints, or success criteria. Without these details, models may give generic answers or invent constraints the user did not want.
The goal is not to make prompts longer. It is to rewrite the same requirement into several directly usable variants so users can compare which structure fits the task.
How it works
The skill starts with two checks:
- Intent check: it restates the original request in one sentence to reduce misunderstanding.
- Clarification: if audience, output format, or boundaries are missing, it asks one or two targeted questions before optimizing.
Then it generates four independent prompts:
A — Detail expansion: adds context, output format, examples, edge cases, and completion criteria; useful for deterministic outputs.B — Role-play: adds expert persona, chain-of-thought guidance, and methods such as SWOT or first principles; useful for analysis, ideation, and strategy work.C — Structured decomposition: splits the task into 3-7 steps with inputs, outputs, and validation checks; useful for complex multi-step workflows.D — Reverse refinement: infers the real goal from a vague request, puts the goal first, and adds few-shot examples plus iteration; useful for exploratory work.
The output is kept in a comparable shape so users can copy one version and use it directly.
Boundaries and notes
It should not change the user's original intent or add business requirements on the user's behalf. If the original prompt is already clear, the skill should avoid unnecessary packaging. It follows the input language: Chinese input yields Chinese prompts, English input yields English prompts. For highly specialized, regulated, or strict data-format tasks, human review is still needed for field definitions, permissions, and acceptance criteria.
Use Cases
- Product managers reviewing feature prompts to generate structured, role-play, and reverse-refined versions.
- Operations staff drafting campaign-copy requirements to clarify audience and output format before comparing four prompts.
- Backend engineers writing code-review prompts to split tasks into steps with inputs, outputs, and validation checks.
- Analysts writing exploratory report prompts to infer the real goal and add few-shot examples.
Best For
- Product managers drafting feature requirements who want draft prompts turned into executable model prompts.
- Backend engineers doing code review or technical research who want tasks split into verifiable steps with constrained outputs.
- Operations staff writing campaign copy or user-growth strategy who want audience, format, and examples added before comparing prompts.
- Analysts producing data or industry reports who want fuzzy questions turned into goals with few-shot examples.
Related Skills
Turn vague requests into structured prompts with role, task, context, and constraints, outputting only usable prompts without executing the task.
A skill for game NPC and enemy AI that separates decision, steering, and pathfinding, covering FSMs, behavior trees, A*, path caching, and pitfalls.
Provides multi-turn emotional companion chat through a third-party Agent API and supports continuing sessions via session_id.
An evaluation-driven workflow for diagnosing, optimizing, validating, and logging Agent Skills based on design patterns and anti-patterns.