Skip to content
Back to skills

Recipe Template

ASecurity

Template for commands 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.

  • 6,113 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 27, 2026
data-aigit

Security analysis

A100/100

Scanned October 1, 2026

npx -y skills add FlorianBruniaux/claude-code-ultimate-guide --skill recipe-template --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Recipe Template?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Recipe Template
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/florianbruniaux-recipe-template/badge)](https://www.skillsdirectory.com/skills/florianbruniaux-recipe-template)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: recipe-template
description: "Template for commands 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."
argument-hint: "[optional-arg]"
effort: low
disable-model-invocation: true
---

# Recipe command template

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

## When to use

- [Describe the exact situation where this command applies]
- [Describe when NOT to use it, with a common misuse case]

## Context validation checkpoints

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

* [ ] [Precondition 1: e.g., "The target branch exists and is up to date with main"]
* [ ] [Precondition 2: e.g., "No uncommitted changes in the affected files"]
* [ ] [Precondition 3: e.g., "Required config file exists at path X"]
* [ ] [Precondition 4: e.g., "Necessary permissions or credentials are available"]

## 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:
- [Item 1 completed]
- [Item 2 completed]
- Files modified: [list]
- Next action for the user (if any): [instruction]

## 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](https://github.com/PackmindHub/packmind) (Apache 2.0).

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.