Performs code reviews following SF-Bench quality standards. The agent invokes this skill when reviewing code, evaluating pull requests, or assessing code quality for production-readiness.
This skill provides a structured code review process following SF-Bench quality standards. It focuses on production-readiness, error handling, and adherence to project conventions.
**[CRITICAL/IMPORTANT/SUGGESTION]** Line XX-YY
**Issue**: [Brief description of the problem]
**Why**: [Explanation of why this is problematic]
**Suggestion**: [Recommended fix or alternative]
**Approved**
Changes look good. Key observations:
- [Positive observation 1]
- [Positive observation 2]
Minor suggestions (non-blocking):
- [Optional improvement 1]
# Expected pattern
for attempt in range(max_retries):
try:
result = operation()
return result
except TransientError as e:
if attempt < max_retries - 1:
delay = initial_delay * (2 ** attempt)
logger.warning(f"Attempt {attempt + 1} failed, retrying in {delay}s...")
time.sleep(delay)
continue
raise
# Expected pattern
try:
org_alias = create_scratch_org()
# ... operations ...
finally:
delete_scratch_org(org_alias) # Always executes
# Expected pattern
logger.info(f"Starting operation for task {task_id}")
logger.debug(f"Input preview: {input[:500]}...")
logger.error(f"Operation failed: {error}", exc_info=True)
# BAD
try:
operation()
except Exception:
pass # Silent failure
# GOOD
try:
operation()
except Exception as e:
logger.error(f"Operation failed: {e}", exc_info=True)
raise
# BAD
org = create_scratch_org()
deploy(org)
# org never deleted if deploy fails
# GOOD
org = create_scratch_org()
try:
deploy(org)
finally:
delete_scratch_org(org)
# BAD
api_key = "sk-12345abcde"
# GOOD
api_key = os.environ.get("API_KEY")
# BAD
def process(data):
return result
# GOOD
def process(data: Dict[str, Any]) -> List[Result]:
return result
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer