Prompt file imported from yasarshaikh/SF-bench (
.cursor/commands/review.md). Copyright stays with the author.
Review
Perform code review following SF-Bench quality standards.
Checklist
Critical (Must Fix)
- Error handling with retry logic
- Resource cleanup in finally blocks
- No hardcoded secrets
- Errors logged with context
Important (Should Fix)
- PEP 8 compliance
- Type hints on all functions
- Google-style docstrings
- Test coverage ≥80%
Suggestions
- Performance optimizations
- Documentation improvements
- Code simplification
Review Steps
- Understand the change (scope, intent)
- Check critical issues first
- Review code quality
- Validate functionality
- Provide prioritized feedback
Feedback Format
**[CRITICAL]** Line XX
Issue: [Description]
Suggestion: [Fix]
**[IMPORTANT]** Line YY
Issue: [Description]
Suggestion: [Fix]
Standards References
.cursor/rules/code_documentation.mdc.cursor/rules/technical_writing.mdcAGENTS.md(error handling, logging patterns)
