refine

Rewrite rough ideas into precise, actionable prompts for AI execution.

1|Updated May 15, 2026
One-click install
npx skills add https://github.com/mslshao/claude-harness --skill refine-mslshao
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: refine
Source: https://github.com/mslshao/claude-harness/tree/main/dotclaude/skills/refine
Command: npx skills add https://github.com/mslshao/claude-harness --skill refine-mslshao

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps when you have a vague, incomplete, or overly terse prompt and need to turn it into something an AI can execute reliably without guessing. It reduces back-and-forth by converting rough intent into a clear, scoped, actionable prompt.

Core Features & Use Cases

  • Prompt sharpening: Rewrites rough input into a precise prompt with explicit goals, scope, and constraints.
  • Context completion: Pulls in missing project context such as file paths, current git state, agent usage, or tracking information when relevant.
  • Scope control: Flags tasks that are too broad for one prompt and suggests a tighter framing.
  • Use cases: Improve a half-written Claude Code request, shape a feature idea into an implementation prompt, or tighten an existing prompt for refactoring, debugging, or investigation work.

Quick Start

Ask the refine skill to rewrite your rough task description into a complete prompt for Claude Code with the right context, assumptions, and scope boundaries.

Frequently Asked Questions about refine

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

FAQPage Schema
How do I turn a rough idea into a precise prompt for Claude Code?

To turn a rough idea into a precise prompt, you can use prompt refinement to extract user intent and infer missing context from your workspace. This rewrites incomplete instructions into actionable prompts with explicit goals, scope, and constraints for reliable AI execution.

What is the best way to scope a broad feature idea for AI execution?

The best way to scope a broad feature idea is to apply task scoping during prompt refinement. This flags overly broad tasks and suggests a tighter framing, converting vague intent into a focused prompt with explicit boundaries and constraints.

How does context gathering work when refining a prompt in an active repository?

Context gathering works by pulling missing project context, such as file paths and current git state, from your conversation and workspace state. This information is inferred and integrated into the refined prompt to ensure the AI has the necessary background.

Can I use prompt refinement to improve an existing request for refactoring or debugging?

Yes, you can use prompt refinement to tighten an existing prompt for refactoring, debugging, or investigation work. It sharpens your initial request by rewriting it with explicit goals and assumptions to reduce back-and-forth guessing.

Why does the AI keep guessing when I submit terse instructions?

The AI guesses because terse instructions lack explicit goals, scope, and context. Prompt refinement solves this by extracting your actual intent, inferring missing workspace information, and producing a complete prompt with stated assumptions.

Does prompt refinement work without specific dependencies or components?

Yes, prompt refinement works without specific dependencies or components. It functions as an intermediate-level skill that processes your conversation and workspace state directly to produce actionable, project-aware prompts.