Recipe template

From FlorianBruniaux/claude-code-plugins · View interactive version

Recipe template is an AI agent skill from the GitHub repository FlorianBruniaux/claude-code-plugins. Template for skills that implement a structured recipe: validate preconditions, then execute numbered steps. Fork this and replace the placeholder content. The 'Context Validation Checkpoints' section is the key pattern, forcing Claude to verify preconditions before starting.

How to use this skill

Skill file

Recipe skill template

This is a template. Replace all [placeholder] content with your specifics.

When to use

Context validation checkpoints

Before executing any step, verify all of these are true. If any checkpoint fails, stop and explain why to the user.

Recipe steps

Step 1: [Action name]

[Clear instructions for this step. Be specific about what to read, what to check, what to write.]

Validation: [How Claude verifies this step completed correctly before moving to Step 2]


Step 2: [Action name]

[Instructions]

Validation: [How to verify]


Step 3: [Action name]

[Instructions]

Validation: [How to verify]


Step 4: Confirm completion

Summarize what was done:

Error handling

| Situation | Response |

|-----------|----------|

| [Error condition 1] | [What to do: retry / stop / ask user] |

| [Error condition 2] | [What to do] |

| Precondition checkpoint fails | Stop. Explain which checkpoint failed and what the user needs to fix before re-running |

Arguments

If $ARGUMENTS[0] was provided: [how to use it]

If no argument was provided: [default behavior]


The "Context Validation Checkpoints" section is the key pattern from this template.

It forces Claude to verify preconditions explicitly rather than discovering failures mid-execution.

Inspired by recurring patterns in Packmind commands (Apache 2.0).

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.