version: "1.0.0"
Cloudflare Workers Audit Skill
Purpose
Review a Cloudflare Workers project for performance, security, scalability, maintainability, and production readiness.
Input
- GitHub repository
- Worker source code
- wrangler.toml (optional)
Analyze
- Project Structure
- Wrangler Configuration
- Routing
- Environment Variables
- Secrets Management
- KV Usage
- D1 Usage
- R2 Usage
- Durable Objects
- Cache API
- Error Handling
- Logging
- API Design
- Authentication
- Authorization
- Rate Limiting
- CORS Configuration
- Security Headers
- Input Validation
- Performance
- Cold Start Optimization
- Dependency Management
- TypeScript Quality
- Testing Coverage
- Deployment Readiness
Output
Generate:
- Architecture Score
- Security Score
- Performance Score
- Maintainability Score
- Production Readiness Score
- Critical Issues
- Quick Wins
- Refactoring Recommendations
- Deployment Checklist
Return the report in Markdown.