reprompt

Rewrites vague user requests into structured specs with goal, context, task, constraints, and success criteria.

3|Updated Feb 26, 2026
One-click install
npx skills add https://github.com/stellar-zk/stellar-zk --skill reprompt-stellar-zk
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: reprompt
Source: https://github.com/stellar-zk/stellar-zk/tree/main/.claude/skills/reprompt
Command: npx skills add https://github.com/stellar-zk/stellar-zk --skill reprompt-stellar-zk

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Vague or underspecified requests lead to misaligned outputs and wasted iterations. This Skill turns a rough ask into a tight working spec before acting, so the work that follows targets the actual goal rather than the literal wording. ## Core Features & Use Cases - Structured Rewriting: Converts a raw request into a spec with Goal, Context, Task, Constraints, and Success criteria. - Ambiguity Gating: Asks 1-3 sharp clarifying questions when genuine ambiguity would change the result, otherwise proceeds directly. - Profile Personalization: Reads ~/.stellar-build/profile.md (honoring STELLAR_BUILD_HOME) to apply learned defaults about domain, scope, stack, and tone. - Use Case: A user types "reprompt this: make the contract better" and receives a sharpened spec defining the actual optimization goal, constraints, and success criteria, which is then executed or handed off to another stellar-build skill. ## Quick Start Say "reprompt this:" followed by your rough request, and the Skill will return a structured spec and act on it.

Frequently Asked Questions about reprompt

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

FAQPage Schema
How do I improve a vague prompt before acting on it?▼

Invoke the reprompt skill with your rough request, and it rewrites the ask into a structured spec covering goal, context, task, constraints, and success criteria. It then executes on that spec or hands off to the appropriate downstream skill.

What is the difference between the reprompt skill and the automatic prompt sharpener?▼

The automatic sharpener runs every turn via the UserPromptSubmit hook and needs no invocation. The reprompt skill is the manual, on-demand counterpart for explicit, heavier rewrites when a request is vague enough to warrant structuring out loud.

Does reprompt ask clarifying questions before rewriting?▼

Yes, but only when a genuine ambiguity would change the result. It asks 1-3 sharp questions one at a time and fills the spec from the answers; if the request is clear enough, it proceeds directly without interrupting.

Can reprompt personalize rewrites based on my past usage?▼

Yes. If ~/.stellar-build/profile.md exists, reprompt reads it and treats it as defaults for domain, scope, stack, and tone unless the request contradicts them. The profile is refreshed from usage traces via /optimize-skills.

How do I disable the automatic per-turn prompt sharpening?▼

Set the environment variable STELLAR_BUILD_NO_REPROMPT=1 to turn off the automatic UserPromptSubmit hook. The manual reprompt skill remains available for explicit invocations.