Skip to content

Sagargupta16/agent-recipes

Agent Recipes

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

Recipe Description
PR Review Comprehensive pull request review with security, performance, and style checks
Architecture Review High-level codebase architecture analysis and recommendations
Dependency Audit Check for outdated, vulnerable, or unnecessary dependencies
Performance Review Identify performance bottlenecks and optimization opportunities

Testing

Recipe Description
Generate Unit Tests Auto-generate unit tests for uncovered functions
E2E Test Writer Generate end-to-end tests from user stories
Coverage Gap Finder Find untested code paths and edge cases

Migrations

Recipe Description
JavaScript to TypeScript Migrate JS files to TypeScript with proper types
React Class to Hooks Convert React class components to functional + hooks
CJS to ESM Convert CommonJS requires to ES module imports

Documentation

Recipe Description
README Generator Generate comprehensive README from repo analysis
API Docs Generator Generate OpenAPI/Swagger docs from code
Changelog Writer Generate changelog from git commits

Security

Recipe Description
Secret Scanner Find hardcoded secrets, keys, and credentials
OWASP Top 10 Audit Check code against OWASP Top 10 vulnerabilities
Input Validation Add input validation and sanitization to API endpoints

DevOps

Recipe Description
Dockerfile Generator Generate optimized multi-stage Dockerfiles
CI/CD Pipeline Generate GitHub Actions / GitLab CI from project analysis
Monitoring Setup Add health checks, metrics, and alerting

How to Use

With Claude Code

# Copy a recipe and run it
claude -p "$(cat recipes/code-review/pr-review.md)"

# Or save as a custom command
cp 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 prompt into your AI chat
  3. Run on your codebase

Recipe Format

Every recipe follows this structure:

# Recipe Name

> One-line description

## When to Use
- Bullet points of use cases

## Prompt
The exact prompt to copy-paste into your AI assistant.

## Example
Input -> Output showing what the recipe produces.

## Customization
How to modify the recipe for specific needs.

## Tags
`category` `language` `difficulty`

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. Submit a PR

Ideas for new recipes? Open an issue!

See CONTRIBUTING.md for full guidelines.

License

MIT

About

Copy-paste AI agent workflows for real-world dev tasks - code review, testing, security scanning, DevOps automation

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors