本文へ移動
cccskills
無料GitHub で公開

recipe-template

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.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md2.3 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

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

SituationResponse
[Error condition 1][What to do: retry / stop / ask user]
[Error condition 2][What to do]
Precondition checkpoint failsStop. 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).

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Audit Claude Code agents, skills, and commands for quality and production readiness. Use when evaluating skill quality, checking production readiness scores, or comparing agents against best-practice templates.

日本語の概要は準備中です。原文の説明を表示しています。

FlorianBruniaux/claude-code-ultimate-guide6,1472026年10月11日 更新

Codebase health audit scoring 7 categories with progression plan

日本語の概要は準備中です。原文の説明を表示しています。

FlorianBruniaux/claude-code-ultimate-guide6,1472026年10月11日 更新

Autonomous improvement loop: scan codebase metrics, scaffold experiment files, run agent-driven iterations until metric improves

日本語の概要は準備中です。原文の説明を表示しています。

FlorianBruniaux/claude-code-ultimate-guide6,1472026年10月11日 更新

best-of-n

無料

Generate bounded independent candidates, score them against a frozen rubric, and verify the selected result with a proof log.

日本語の概要は準備中です。原文の説明を表示しています。

FlorianBruniaux/claude-code-ultimate-guide6,1472026年10月11日 更新

canary

無料

Post-deploy monitoring: watch production after a deploy and alert on regressions

日本語の概要は準備中です。原文の説明を表示しています。

FlorianBruniaux/claude-code-ultimate-guide6,1472026年10月11日 更新

catchup

無料

Restore context after /clear by summarizing recent work and project state

日本語の概要は準備中です。原文の説明を表示しています。

FlorianBruniaux/claude-code-ultimate-guide6,1472026年10月11日 更新

FlorianBruniaux のスキルをすべて見る

このスキルの問題を報告する