generate-execute-promptlisted
Install: claude install-skill itsgitz/agent-skills
# Generate Execute Prompt
## Overview
Turns a plan — saved on disk or just confirmed inline in conversation — into
a single self-contained execution prompt: one fenced code block, safe to
copy-paste into any model in any agentic coding tool. The prompt embeds the
full plan text plus a model-agnostic set of execution rules (TDD ordering,
batching, progress reporting, stop-on-deviation). No tool names, no
`@agent` mentions, no vendor/model names — it works whether the target is
Claude, DeepSeek, GLM, or anything else with file-edit and shell tools.
By default the prompt is only shown in chat for copy-paste. If the request
also signals intent to save it, it's additionally written to a gitignored
file under the project's `.claude/generated-prompts/`.
## When to Use
- A plan is saved at `docs/plans/<feature|fix>-<name>/README.md` and approved
- No saved plan exists, but the immediately preceding exchange was an
ad-hoc action the agent proposed and the user just confirmed (e.g. "Want
me to apply these? Small doc-only edits, same branch." → "yes")
- User wants to execute that plan/action in a **different model or tool**
than the one that produced it (e.g. planned with Opus, wants to build
with DeepSeek V4 Pro or GLM 5.2)
- User wants a portable backup of the plan/action as a single prompt,
independent of this repo's agent files or any specific harness
- User asks to save the generated prompt to a file instead of (or in
addition to) pasting it manually
## When NOT t