aytuncyildizli/reprompter/reprompter-improve
Claude Code and agent skill by aytuncyildizli/reprompter
- community
Checking that the SKILL.md file is still in the repository.
RePrompter Improve intent — turn a rough prompt into a scored, structured spec prompt (or an outcome-prose build brief when the ask is a whole product). Use when: "reprompt", "reprompt this", "clean up this prompt", "improve this prompt", "make my prompt better", "fix my prompt", "before /goal", "compile to workflow", "workflow preflight", or when the reprompter entry skill routes an Improve ask here. Don't use for simple Q&A, casual chat, or execution-only tasks. Outputs: XML/Markdown prompt w…
Install
npx vskill@latest install aytuncyildizli/reprompter/reprompter-improveSKILL.md
RePrompter — Improve (Single prompt)
Mode skill of thereprompterplugin. Entry/routing:../reprompter/SKILL.md. Output formats beyond paste (/goalcard,.workflow.js, headless-relay delivery):../reprompter-goal-workflow/SKILL.md. Whole-product builds:../reprompter-oneshot/SKILL.md. Multi-agent:../reprompter-team/SKILL.md.scripts/<name>paths resolve to the bundled../reprompter/scripts/<name>(e.g.../reprompter/scripts/outcome-record.js).Required reading:../reprompter/references/advanced-features.md(context engineering, uncertainty handling, token budget, Flywheel, pattern library). The always-on rules in../reprompter/SKILL.md→ "Core shared rules" (context check, uncertainty permission, WHAT not HOW) apply to every generated prompt.Every template named below lives inreferences/next to this file. Content below is verbatim from root SKILL.md (lines 360-594, 1574-1620) except where marked _Moved_.
Intent: Improve (Single prompt)
Shape decision (specifiability router)
Before the template pick, decide the OUTPUT SHAPE from the interview:
Default is spec-XML. Only switch to outcome-prose on a STRONG whole-product signal, and when in doubt, stay spec-XML — a scored structured prompt is never the wrong answer for a coding task, and it is what "reprompt this" has always produced.
- Spec-XML (default) — any bounded change (bugfix, endpoint, refactor, a feature in named files), anything with an enumerable done-state, and anything ambiguous. Scored on the six dimensions, exactly as always.
- Outcome-prose (only on a strong signal) — the ask is to build a WHOLE product or artifact from near-zero (a whole app/game/site/deck), OR it names a real product as the quality bar for a from-scratch build ("build me X like Linear"). Then emit the One-Shot three-paragraph shape (
references/oneshot-template.md), including its constraints sentence for load-bearing negatives ("never touch auth"). Announce and offer the exit: "This looks like a whole-product build — I'll write an autonomous build prompt; say 'spec' for the structured, scored version instead." The user's override always wins. Outcome-prose is not scored on the six dimensions. This is the same artifact the Build intent produces — an Improve ask that is really a whole-product build and the Build intent converge on one prose brief, deliberately; there is no separate Improve-only build shape to disambiguate. - Design-loop prose (a page judged by how it looks) — the ask is how a page looks: a redesign, a landing page, the visual layer of a dashboard. Emit
references/design-loop-template.mdinstead of spec-XML, because a design pass needs a direction and a critic, not a spec to satisfy. Like outcome-prose, it is not scored on the six dimensions.
Precedence: the prose shapes are exempt from every spec-XML rule in this file. One-Shot outcome-prose and the design loop take no base tags, none of the template fields, no <success_criteria> block, no score, no evaluator loop, no flywheel template override, and no /goal or workflow compilation. Wherever another section says "all templates", "every prompt", "always" or "both modes" about structure or scoring, it means every spec-XML prompt.
- Mixed asks (a bounded change described with a reference, e.g. "add a settings page like Linear's to our app") are spec-XML: the reference informs the requirements, it does not trigger a from-scratch build. When genuinely unsure which one an ask is, ask one discriminator question — "a fresh build, or a change to something that exists?" — and default to spec-XML on a fresh session with no answer.
Process
- Receive raw input
- Input guard — if input is empty, a single word with no verb, or clearly not a task → ask the user to describe what they want to accomplish
- Reject examples: "hi", "thanks", "lol", "what's up", "good morning", random emoji-only input
- Accept examples: "fix login bug", "write API tests", "improve this prompt"
- Quick Mode gate — under 20 words, single action, no complexity indicators → generate immediately. A quick-mode task is bounded by definition, so it is always spec-XML; the shape decision does not run on this path (there is nothing whole-product about a sub-20-word atomic task).
- Smart Interview — use
AskUserQuestionwith clickable options (2-5 questions max) for interactive Single mode. For prompts destined for autonomous execution (goal/workflow/team lanes), skip questions with reasonable defaults and emit an<assumptions>block the user can veto before running. - Flywheel bias check (optional, read-only) — if
REPROMPTER_FLYWHEEL_BIAS=1is set in the environment, consult past outcomes before choosing a template. See "Flywheel bias injection" below. - Generate + Score — if the shape decision above chose outcome-prose or the design loop, skip this step's scoring: emit the One-Shot prose brief (
references/oneshot-template.md) or the design-loop prompt (references/design-loop-template.md) and stop. Neither prose shape is scored on the six dimensions. Otherwise (spec-XML) apply the template and show before/after quality metrics. Generated prompts include a<success_criteria schema_version="1">block with 3-6<criterion>entries. Each criterion hasid(kebab-case slug, unique in block),verification_method(rule|llm_judge|manual), a one-sentence<description>, and — depending on method — an inline<rule type="regex|predicate">or<judge_prompt>(neither formanual). Schema of record:references/outcome-schema.md. - Single-pass evaluator — run self-eval rubric and do one delta rewrite if score < 7
Why criteria are emitted: so every prompt carries its own testable assertions; outcome records produced by scripts/outcome-record.js (added in the same PR) join criteria to results for flywheel learning.
Flywheel bias injection (v3 read-path)
_Moved:_ the full rules for step 5 (flywheel bias injection and attribution) and Fleet sync (v12.14 privacy boundary) are in references/flywheel-bias.md. Default is off (REPROMPTER_FLYWHEEL_BIAS=1 enables it); only bias on confidence ∈ {"medium", "high"} AND sampleCount >= 3.
Generate after interview
After interview completes, immediately:
- Select template based on task type
- Generate the full polished prompt
- Show quality score (before/after table) for spec-XML. Outcome-prose and design-loop prompts are delivered unscored.
- Ask if user wants to execute or copy
Interview questions
Ask via AskUserQuestion. Max 5 questions total.
Standard questions (priority order — drop lower ones if task-specific questions are needed):
- Task type: Build Feature / Fix Bug / Refactor / Write Tests / API Work / UI / Design loop / Security / Docs / Content / Research / Multi-Agent
- If user selects Multi-Agent while currently in Single mode, immediately transition to Repromptverse Phase 1 (Team Plan) and confirm team execution mode (Parallel vs Sequential).
- Execution mode: Single Agent / Team (Parallel) / Team (Sequential) / Let RePrompter decide
- Motivation: User-facing / Internal tooling / Bug fix / Exploration / Skip (drop first if space needed)
- Output format: XML Tags / Markdown / Plain Text / JSON (drop first if space needed)
Task-specific questions (required for compound prompts — replace lower-priority standard questions):
- Extract keywords from prompt → generate relevant follow-up options
- Example: prompt mentions "telegram" → ask about alert type, interactivity, delivery
- Vague prompt fallback: if input has no extractable keywords (e.g., "make it better"), ask open-ended: "What are you working on?" and "What's the goal?" before proceeding
Single mode pattern pack (Microsoft-inspired)
Apply these patterns to spec-XML output, even without multi-agent execution. The prose shapes (One-Shot outcome-prose and the design loop) skip the spec contract and the evaluator loop.
- Intent router — map task to template with explicit priority rules
- Constraint normalizer — convert vague goals into measurable requirements/limits
- Spec contract — enforce role/context/task/requirements/constraints/output/success structure
- Evaluator loop — score clarity/specificity/structure/constraints/verifiability/decomposition; if score < 7, produce one delta rewrite
This keeps Single mode deterministic and compatible across Claude, OpenClaw, and Codex runtimes.
Auto-detect complexity
| Signal | Suggested mode | |
|---|---|---|
| 2+ distinct systems (e.g., frontend + backend, API + DB, mobile + backend) | Team (Parallel) | |
| Pipeline (fetch → transform → deploy) | Team (Sequential) | |
| Single file/component | Single Agent | |
| "audit", "review", "analyze" across areas | Team (Parallel) | |
| "campaign", "launch", "growth", "SEO", "content calendar", "funnel" | Team (Parallel, Marketing Swarm) | |
| "architecture", "feature delivery", "refactor", "migration", "test coverage" | Team (Parallel, Engineering Swarm) | |
| "incident", "uptime", "gateway", "latency", "cron", "SLO", "health" | Team (Parallel, Ops Swarm) | |
| "benchmark", "compare", "tradeoff", "options", "analysis", "research" | Team (Parallel, Research Swarm) |
Quick mode
⚠️ Force interview signals (check first)
If ANY of the following signals are present, SKIP Quick Mode and go directly to interview — no exceptions:
| Signal category | Keywords / patterns | |
|---|---|---|
| Scope keywords | system, platform, service, pipeline, dashboard, module, suite, management | |
| Ownership / existing state | our, existing, the current, fresh, updated | |
| Integration verbs | integrate, merge, connect, combine, sync | |
| Compound tasks | "and", "plus", "also", "as well as" | |
| State management | track, sync, manage | |
| Vague modifiers | better, improved, some, maybe, kind of | |
| Ambiguous pronouns | "it", "this", "that" without a clear referent in the same sentence | |
| Comprehensiveness | comprehensive, complete, full, end-to-end, overall |
Clause detection: Treat any prompt with two or more independent clauses (comma-separated actions, semicolon-joined tasks, or consecutive imperative verbs) as a compound task — force interview.
Broad-scope noun enforcement (`count_distinct_systems()`): Count the number of distinct systems/modules implied by broad-scope nouns (system, module, suite, platform, pipeline, dashboard, management). If count >= 1 AND the prompt does not name a single, specific identifier — force interview.
Enable Quick Mode (only when NO force-interview signals are present)
Enable when ALL true:
- < 20 words (excluding code blocks)
- Exactly 1 action verb from: add, fix, remove, rename, move, delete, update, create
- Single target (one specific, named file, component, or identifier — NOT a broad-scope noun such as system, module, suite, or management)
- No conjunctions (and, or, plus, also)
- No vague modifiers (better, improved, some, maybe, kind of)
Task types & templates
Detect task type from input. Each type has a dedicated template in references/:
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckinggrokbot-plugin/skills/reprompter-improve/SKILL.md
Popularity
- Repository stars
- 119
- Repository forks
- 11
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/aytuncyildizli/reprompter/reprompter-improve)