KitRocket

How to Use Prompt Recipes

Step-by-step instructions for using Prompt Recipes with Claude Code, Cursor, and other AI tools.

With Claude Code

Claude Code is the recommended way to use Prompt Recipes. It reads your CLAUDE.md automatically and has full filesystem access.

Method 1: Pipe the recipe

cd my-saas
claude < prompts/implement.md

Claude reads the recipe, understands the task structure, and asks you what to build. Then it writes the code directly in your project.

Method 2: Reference in a session

Start a Claude Code session and reference the recipe:

claude

Then in the session:

Read prompts/implement.md and follow it. I want to add a team invitation system.

Method 3: Combine recipes

You can chain recipes for a complete workflow:

# First, implement the feature
claude "Read prompts/implement.md. Add a user notifications system."

# Then, review the code
claude "Read prompts/review.md. Review the notifications code I just added."

# Then, write tests
claude "Read prompts/test.md. Write tests for the notifications system."

Example session

$ claude < prompts/add-page.md

Claude: I'll help you add a new page to your KitRocket project. What page
would you like to create?

You: A team settings page where admins can manage team members

Claude: I'll create a team settings page. Let me:
1. Create src/app/(dashboard)/settings/team/page.tsx
2. Add the TeamSettings component
3. Add middleware to check admin role
4. Update the sidebar navigation
...

With Cursor

Method 1: Paste into chat

  1. Open your KitRocket project in Cursor
  2. Open the recipe file (e.g., prompts/implement.md)
  3. Copy the full content
  4. Open Cursor's AI chat panel (Cmd+L)
  5. Paste the recipe and add your specific request:
[paste recipe content]

I want to add a user notifications system with in-app and email notifications.

Method 2: Use @file reference

In Cursor's chat panel, reference the file directly:

Follow the instructions in @prompts/implement.md to add a user notifications system.

Method 3: Cmd+K with context

  1. Select code in a file you want to modify
  2. Press Cmd+K
  3. Reference the recipe:
Following @prompts/refactor.md, refactor this component to use server components.

With other AI tools

Prompt Recipes are plain markdown. They work anywhere you can paste text:

ChatGPT / Claude web

  1. Open the recipe file in your editor
  2. Copy the full content
  3. Paste into the chat with your specific request
  4. Also paste relevant code files for context

GitHub Copilot Chat

In VS Code with Copilot:

@workspace Follow the instructions in prompts/add-api.md to add a
/api/notifications endpoint.

Windsurf / Aider / other

Same approach — paste the recipe or reference the file, depending on what the tool supports.

Tips for best results

Be specific about what you want

# Good
"Follow prompts/implement.md. Add a team invitation system where admins can
invite users by email. Include an invite acceptance page and email notification."

# Too vague
"Follow prompts/implement.md. Add teams."

Provide context for edge cases

"Follow prompts/add-api.md. Add a /api/teams/invite endpoint.
Note: only users with the admin role should be able to send invites.
The invite should expire after 7 days."

Review before accepting

Always review generated code before committing. Use the review recipe:

claude < prompts/review.md

Iterate in small steps

Instead of asking for an entire feature at once, break it down:

# Step 1: Database schema
claude "Follow prompts/implement.md. Add the database tables for a team system."

# Step 2: API routes
claude "Follow prompts/add-api.md. Add CRUD endpoints for teams."

# Step 3: UI
claude "Follow prompts/add-page.md. Add a team management page."

Next steps

On this page