prompt-improver

Research vague prompts, generate clarifying questions, and execute with context.

6|2|Updated Jan 6, 2026
One-click install
npx skills add https://github.com/acaprino/claude-code-daodan --skill prompt-improver-acaprino
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prompt-improver
Source: https://github.com/acaprino/claude-code-daodan/tree/main/plugins/prompt-improver/skills/prompt-improver
Command: npx skills add https://github.com/acaprino/claude-code-daodan --skill prompt-improver-acaprino

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill enriches vague prompts with targeted research and clarification before execution. It guides the user from ambiguity to a grounded, executable plan by orchestrating systematic investigation, question generation, and context-aware execution.

Core Features & Use Cases

  • Four-phase workflow: Phase 1 Research (TodoWrite), Phase 2 Generate Targeted Questions, Phase 3 Get Clarification via AskUserQuestion, Phase 4 Execute with context.
  • Grounds clarifying questions in actual codebase findings, documentation, and best practices to ensure actionable decisions.
  • Supports automatic invocation on vague prompts and manual invocation for testing prompt evaluation systems.

Quick Start

Invoke this skill to research the prompt, generate targeted clarifying questions, and execute with a fully grounded plan.

Frequently Asked Questions about prompt-improver

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I turn vague prompts into actionable plans?

To turn vague prompts into actionable plans, apply a four-phase workflow: research the codebase context, generate targeted clarifying questions, get user clarification, and execute with grounded context for reproducible decisions.

Why does my prompt lack specifics and fail during design reviews?

Prompts lack specifics and fail during design reviews when they miss codebase context. Grounding clarifying questions in actual documentation and codebase findings ensures the resulting instructions are well-scoped and actionable.

What is the best way to clarify ambiguous instructions before execution?

The best way to clarify ambiguous instructions is systematic investigation. Perform targeted research on the prompt, generate specific clarifying questions, and use AskUserQuestion to resolve ambiguity before executing the grounded plan.

Can I automate prompt evaluation for testing prompt-based systems?

Yes, you can automate prompt evaluation for testing prompt-based systems by manually invoking the prompt improvement workflow to systematically generate targeted questions and evaluate how well prompts handle ambiguity and missing context.

How do I generate targeted questions based on codebase context?

Generate targeted questions based on codebase context by using a research phase to investigate actual code findings and documentation, then synthesizing those discoveries into specific clarifying questions that resolve prompt ambiguity.

When should I not use automated prompt clarification workflows?

Avoid automated prompt clarification workflows when prompts already contain sufficient specifics and context, as forcing the research and clarification phases on well-scoped instructions adds unnecessary overhead to the execution pipeline.