Install any skill in seconds. Free to start, no credit card required.
Get Started Free →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.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-12 | ✗→✓ | ▲ Improved | -28% | 0% |
| case-02 | ✗→✓ | ▲ Improved | -33% | 0% |
| case-04 | ✗→✓ | ▲ Improved | 7% | 0% |
| case-07 | ✗→✓ | ▲ Improved | -10% | 0% |
| case-08 | ✗→✓ | ▲ Improved | -5% | 0% |
> This is a template. Replace all [placeholder] content with your specifics.
Before executing any step, verify all of these are true. If any checkpoint fails, stop and explain why to the user.
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]
Instructions]
Validation: How to verify]
Instructions]
Validation: How to verify]
Summarize what was done:
| 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 |
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).
Other measured skills in the registry, with their headline benchmark lift.