This skill should be used when generating structured metaprompts for repeatable tasks. Triggers include "create a metaprompt for X", "generate a review prompt", "make a prompt template", or when building prompts for cursor-agent, Codex, or other AI tools.
Inherits all available tools
Additional assets for this skill
This skill inherits all available tools. When active, it can use any tool Claude has access to.
references/domain-modules.mdreferences/factory-template.xmlreferences/rubric.mdgenerate structured XML metaprompts for repeatable AI tasks. adapts to domain, enforces quality gates, cites sources.
"a metaprompt is a reusable product spec for an AI worker"
| principle | application |
|---|---|
| make implicit explicit | encode assumptions, boundaries, constraints |
| separate policy from procedure | principles in philosophy, steps in workflow |
| optimize for repeatability | generalize across similar tasks |
| source-grounded claims | cite official docs for technical claims |
| no phantom specifics | don't invent APIs, versions, paths |
| use | skip |
|---|---|
| repeatable AI tasks | one-off questions |
| cursor-agent prompts | simple commands |
| Codex review prompts | ad-hoc exploration |
| PR audit templates | conversational tasks |
| domain-specific workflows | research queries |
minimal viable inputs:
target_task: what the prompt should accomplishdomain: coding | review | ops | researchoutputs: expected deliverablesoptional:
constraints.must_do: required behaviorsconstraints.must_not_do: forbidden behaviorstooling: available tools (cursor-agent, Codex, etc.)citations.required: whether to enforce citations<?xml version="1.0" encoding="UTF-8"?>
<metaprompt name="{name}" version="1.0" updated="{date}">
<philosophy>...</philosophy>
<parameters>...</parameters>
<instructions>...</instructions>
<workflow>...</workflow>
<output_requirements>...</output_requirements>
<failure_modes>...</failure_modes>
</metaprompt>
| dimension | checks |
|---|---|
| clarity | roles explicit, I/O unambiguous |
| completeness | workflow + failure modes + output spec |
| groundedness | technical claims cited or marked "proposed" |
| reusability | parameters cover variability |
| operability | machine-readable summary exists |