一键导入
prompt-leverage
Use when the user asks to improve, structure, or templatize a prompt before execution by Codex or another AI agent.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when the user asks to improve, structure, or templatize a prompt before execution by Codex or another AI agent.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | prompt-leverage |
| description | Use when the user asks to improve, structure, or templatize a prompt before execution by Codex or another AI agent. |
| metadata | {"version":"1.1","dependencies":[]} |
Turn the user's current prompt into a stronger working prompt without changing the underlying intent. Preserve the task, fill in missing execution structure, and add only enough scaffolding to improve reliability.
references/framework.md, grounded in the domain workflow when applicable.Use these blocks selectively.
Objective: state the task and what success looks like.Context: list sources, files, constraints, and unknowns.Work Style: set depth, breadth, care, and first-principles expectations.Tool Rules: state when tools, browsing, or file inspection are required.Output Contract: define structure, formatting, and level of detail.Verification: require checks for correctness, edge cases, and better alternatives.Done Criteria: define when the agent should stop.Choose one mode based on the user request.
Inline upgrade: provide the upgraded prompt only.Upgrade + rationale: provide the prompt plus a brief list of improvements.Template extraction: convert the prompt into a reusable fill-in-the-blank template.Hook spec: explain how to apply the framework automatically before execution.When the user asks for a hook, model it as a pre-processing layer:
Use scripts/augment_prompt.py when a deterministic first-pass rewrite is helpful.
Before finalizing, check the upgraded prompt:
If the prompt is already strong, say so and make only minimal edits.
| Prompt Deficiency | Recommended Block |
|---|---|
| No success criteria | Objective + Done Criteria |
| Vague scope | Objective + Context |
| Missing context | Context |
| No error handling guidance | Verification |
| Unclear output format | Output Contract |
| No tool usage rules | Tool Rules |
Owns prompt improvement and templating across Pulse skills.
When the prompt is for a packaged domain workflow (for example bootstrap, docs refresh, exploring, planning, validating, swarming, executing, reviewing, compounding), reuse that domain skill's workflow rules and templates as the source of truth.
Use this skill first for prompt upgrades, then route execution to the target domain skill.
Use after completed Pulse work when the user asks to capture post-cycle machine-readable learnings for future planning and execution.
Use when the user asks to distill accumulated dev-notes into reader-facing topic knowledge, rather than to capture a new note or update machine memory.
Use when implementing approved Pulse beads, either as a swarm worker or as a single worker when swarming is unavailable.
Use before implementation planning when feature intent is clear but implementation decisions are still unresolved, and the user needs those decisions locked first.
Use after pulse:exploring when locked decisions are ready and the user needs a mode-gated plan with an approved work shape and current-work prep for validation.
Use when starting any Pulse workflow, resuming a Pulse session, or before planning or execution when tool readiness or onboarding state may block the flow.