lwy-prompt-optimizer
This skill acts as a prompt coach, evaluating every instruction you send to an AI system across seven key dimensions: clarity, specificity, context, structure, examples, constraints, and completeness. It scores each area, identifies gaps, and delivers a rewritten version designed to produce better results on the first try. Works with any prompt type—code generation, writing, analysis, or creative tasks.
lwy-prompt-optimizer analyzes your AI prompts across 7 dimensions and rewrites them for clarity and precision.
AI-generated summary based on this skill's SKILL.md
Decision gist · record as of 2026-06-03
lwy-prompt-optimizer analyzes your AI prompts across 7 dimensions and rewrites them for clarity and precision. This skill acts as a prompt coach, evaluating every instruction you send to an AI system across seven key dimensions: clarity, specificity, context, structure, examples, constraints, and completeness. It scores each area, identifies gaps, and delivers a rewritten version designed to produce better results on the first try. Works with any prompt type—code generation, writing, analysis, or creative tasks.
Use it when
- lwy-prompt-optimizer evaluates your prompt on seven dimensions: clarity (is it easy to understand?), specificity (are details precise?).
- Yes.
Verify before relying
Read SKILL.md below before installing (5 files). Open directory: indexed for reading, not audited.
Install
learnwy/skills/lwy-prompt-optimizer · repository language: TypeScript
Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.
Frequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
How do I write better prompts for AI with lwy-prompt-optimizer?
lwy-prompt-optimizer teaches you to craft more effective AI instructions by analyzing your prompts across seven key dimensions: clarity, specificity, context, structure, examples, constraints, and completeness. The skill scores each area, identifies gaps, and provides a rewritten version designed to produce better results on the first try—whether you're generating code, writing content, analyzing data, or creating something creative.
What does lwy-prompt-optimizer check when reviewing my prompt?
lwy-prompt-optimizer evaluates your prompt on seven dimensions: clarity (is it easy to understand?), specificity (are details precise?), context (is background provided?), structure (is it well-organized?), examples (are sample inputs/outputs included?), constraints (are limits and rules stated?), and completeness (does it cover all needed information?). You receive a score for each area plus actionable rewrite suggestions.
Can lwy-prompt-optimizer detect weak prompts before I send them?
Yes. lwy-prompt-optimizer automatically detects weak prompts and suggests improvements before execution. This helps you avoid wasted AI calls and refine your instructions upfront, saving time and improving output quality across any prompt type—from technical requests to creative tasks.
Does lwy-prompt-optimizer help non-native English speakers?
lwy-prompt-optimizer includes vocabulary learning support to help non-native English speakers refine their prompt phrasing. Beyond grammar fixes, it teaches clearer word choices and more precise instruction patterns, making your prompts more effective while improving your English communication skills.
What types of prompts can lwy-prompt-optimizer improve?
lwy-prompt-optimizer works with any prompt type: code generation, writing assignments, data analysis, creative projects, research requests, and more. The same seven-dimension framework applies universally, so whether you're asking an AI to write a story or debug code, you'll get structured feedback and a stronger rewrite.
How does lwy-prompt-optimizer help me learn prompt best practices?
lwy-prompt-optimizer acts as a prompt coach, providing structured feedback on every instruction you submit. By seeing your prompts scored and rewritten across clarity, specificity, context, structure, examples, constraints, and completeness, you learn which patterns work best and gradually build stronger prompt-writing habits.
SKILL.md
Rendered from the published skill. Quoted content, verbatim.
Prompt Optimizer
A pre-flight prompt checker that analyzes, critiques, and improves prompts before they are sent to an AI system. It plays the role of a coach — teaching users to write better prompts by showing what can be improved across 7 key dimensions.
> Core principle: analyze before acting. This skill is invoked at the start of a conversation, whenever the user's message looks like a prompt or instruction for an AI system. Analyze first, then improve, then let the user decide.
Prerequisites
- No runtime dependencies (a pure methodology skill,
(truncated - see the full file via the links below)
File tree — 5 files
skills/lwy-prompt-optimizer/SKILL.md
skills/lwy-prompt-optimizer/hooks.json
skills/lwy-prompt-optimizer/references/conditional-reflection.md
skills/lwy-prompt-optimizer/scripts/cli.cjs
skills/lwy-prompt-optimizer/scripts/hooks/user-prompt-scan.cjs
Let your AI agent find skills like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.
wish › “Analyze and improve AI prompts across clarity, specificity, context, structure, examples, constraints, and completeness”
Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →
Related skills
lwy-status pulls together progress metrics from every learnwy subsystem—vocabulary mastery, wiki integrity, prompt-optimizer activity, knowledge nudges, and log sizes—into a single consolidated view. Run it on demand or let the weekly SessionStart hook deliver an automated digest at the start of each ISO week.
lwy-dispatch coordinates three IDE-hook events (UserPromptSubmit, Stop, SessionStart) shared across learnwy skills, running their scanners in a single process instead of spawning separate Node instances per skill. It aggregates reminders from english-learner, llm-wiki, prompt-optimizer, knowledge-consolidation, and learnwy-status into one combined output per event, cutting per-turn hook latency and reducing system-reminder spam.
Prompt Improver refines code-related prompts by evaluating task clarity, investigation depth, verification steps, and scope control. It applies transformation rules to strengthen prompts for implementation, debugging, refactoring, code review, and testing tasks. The skill ensures prompts follow investigation-first principles and include appropriate verification checks before execution.
Capture debugging breakthroughs, configuration wins, and operational lessons as structured Markdown files anchored to your project's IDE folder. Each insight becomes a dated, searchable doc that travels with your codebase and surfaces in future sessions on the same project. When a doc proves reusable across projects, promote it into the global knowledge wiki.
This skill transforms recurring manual tasks into standardized, reusable AI capabilities by understanding your problem, analyzing your project structure, and generating a complete skill design. It guides you through problem classification, project profiling, and skill architecture before generating executable SKILL.md files that integrate seamlessly with your codebase.
This skill guides you through building autonomous agents for your project by first understanding your automation need, analyzing your codebase structure, and designing an agent tailored to your problem. It supports six agent archetypes—graders, comparators, analyzers, transformers, researchers, and validators—and requires user confirmation before generating any files.
More skills lwy-project-skill-installer (MIT) · lwy-project-rules-writer (MIT)