Agent Recipes

September 6, 2026 ยท View on GitHub

License: MIT Recipes Contributions Welcome

Copy-paste AI agent workflows for real-world developer tasks.

A community-driven collection of ready-to-use AI agent workflows. Each recipe is a self-contained prompt you can drop into Claude Code, Cursor, Aider, or any AI coding assistant.

Recipes

Code Review

RecipeDescription
PR ReviewComprehensive pull request review with security, performance, and style checks
Architecture ReviewHigh-level codebase architecture analysis and recommendations
Dependency AuditCheck for outdated, vulnerable, or unnecessary dependencies
Performance ReviewIdentify performance bottlenecks and optimization opportunities
Multi-Repo PR CheckCheck all your open PRs across multiple repos in parallel

Testing

RecipeDescription
Generate Unit TestsAuto-generate unit tests for uncovered functions
E2E Test WriterGenerate end-to-end tests from user stories
Coverage Gap FinderFind untested code paths and edge cases

Migrations

RecipeDescription
JavaScript to TypeScriptMigrate JS files to TypeScript with proper types
React Class to HooksConvert React class components to functional + hooks
CJS to ESMConvert CommonJS requires to ES module imports
Upgrade DependenciesSafely upgrade all project dependencies with automated testing

Documentation

RecipeDescription
README GeneratorGenerate comprehensive README from repo analysis
API Docs GeneratorGenerate OpenAPI/Swagger docs from code
Changelog WriterGenerate changelog from git commits

Security

RecipeDescription
Secret ScannerFind hardcoded secrets, keys, and credentials
OWASP Top 10 AuditCheck code against OWASP Top 10 vulnerabilities
Input ValidationAdd input validation and sanitization to API endpoints

DevOps

RecipeDescription
Dockerfile GeneratorGenerate optimized multi-stage Dockerfiles
CI/CD PipelineGenerate GitHub Actions / GitLab CI from project analysis
Monitoring SetupAdd health checks, metrics, and alerting
Background Deploy MonitorMonitor a deployment in the background while continuing other work

How to Use

Run the prompt, not the whole file. A recipe also contains a worked example, and if you pipe the entire file into an agent it reads that example's output as part of its instructions. scripts/extract-prompt.sh prints only the fenced block under ## The Prompt.

With Claude Code

# Run a recipe's prompt directly
claude -p "$(bash scripts/extract-prompt.sh recipes/code-review/pr-review.md)"

# Or save it as a custom command
mkdir -p .claude/commands
bash scripts/extract-prompt.sh recipes/code-review/pr-review.md > .claude/commands/review.md
# Then use: /review

With Cursor / Windsurf / Any AI Assistant

  1. Open the recipe .md file
  2. Copy the fenced block under ## The Prompt into your AI chat
  3. Run on your codebase

Composing Recipes

Each recipe does one thing, so chain them when the task is bigger than one prompt. Run the first, then feed its report to the second:

Recipe Format

Every recipe is one markdown file with the same sections in the same order:

SectionPurpose
# Title and a > lineRecipe name plus a one-line description
## When to UseThe scenario it fits, the problem it solves, any prerequisites
## The PromptThe fenced, copy-paste prompt. This is the recipe
## Example### Input and ### Output showing realistic results
## Customization TipsHow to adapt it to other languages, stacks, or stricter rules
## CostOptional: a rough cost range for running the recipe
## TagsBacktick-quoted tags for discoverability

CONTRIBUTING.md has the full template and is the source of truth for the format. bash scripts/lint-recipes.sh checks every recipe against it, and CI runs the same check on every pull request.

Contributing

Have a useful AI workflow? Share it!

  1. Fork this repo
  2. Create a recipe in the appropriate recipes/ subdirectory
  3. Follow the recipe format
  4. Add a row for it to the index above
  5. Run bash scripts/lint-recipes.sh to check both
  6. Submit a PR

Ideas for new recipes? Open an issue!

See CONTRIBUTING.md for full guidelines.

Roadmap

Most open issues are requests for recipes that do not exist yet rather than bug reports. Five of them, all labelled roadmap:

Browse the full backlog by label: good first issue, help wanted, roadmap.

More AI Developer Tools

ProjectDescription
claude-code-recipes47 copy-paste recipes for Claude Code - commands, subagents, hooks, skills, MCP integration, and workflow patterns
claude-cost-optimizerAn installable skill, CLI tools, and deep-dive guides for cutting Claude Code token spend
ai-git-hooksAI-powered git hooks - auto-review diffs, generate commit messages, scan for secrets. Supports Claude, OpenAI, and Ollama
mcp-toolkitTypeScript middleware toolkit for MCP servers - authentication, caching, rate limiting, CORS, logging (beta)
claude-skillsCustom Claude Code plugin marketplace with skills for FARM stack, open source contributions, repo maintenance, and portfolio management

License

MIT