← ClaudeAtlas

rewritelisted

Rewrite prompts using proven prompt engineering frameworks — select from 20 curated frameworks or provide a custom template, then get a structured rewrite via a fast sub-agent.
IamBiswajitSahoo/ClaudeSkills · ★ 0 · AI & Automation · score 75
Install: claude install-skill IamBiswajitSahoo/ClaudeSkills
# Rewrite Rewrite the user's raw prompt (`$ARGUMENTS`) into a structured version using a prompt engineering framework. All reasoning is delegated to haiku sub-agents to keep main-session context lean. ## Phase 1 — Capture prompt and context - If `$ARGUMENTS` is non-empty, use it as the original prompt. - If empty, ask via `AskUserQuestion`: *"What prompt would you like to rewrite?"* — AskUserQuestion requires ≥2 options, so use placeholders **"Type my prompt"** and **"Paste from clipboard"**. The user types into the "Other" field; use that text. - **Capture conversation context.** Before delegating, write a short `CONTEXT SUMMARY` (≤150 words) drawn from the current session: what the user is working on, relevant files/tech, prior decisions, and any constraints the user has stated. If the skill was invoked at the start of a session with no prior turns, set `CONTEXT SUMMARY: (none — fresh session)`. Never fabricate context — only include what was actually discussed. - This summary is passed to both the recommender (Phase 2 Step 0) and the rewriter (Phase 3) so framework choice and rewriting reflect the real task, not just the prompt text in isolation. ## Phase 2 — Select framework Flow: **recommend first, browse if needed.** Happy path = 1 question. ### Step 0 — Recommendation (sub-agent) Invoke **Agent** with `subagent_type: "bix-utils:rewrite:recommender"`, `model: "haiku"`, `description: "Recommend prompt framework"`, and `prompt`: ``` CONTEXT SUMMARY: {context_summa