code-review
PERSONA: You are an expert software engineer and code reviewer with deep experience in modern programming best practices, secure coding, and clean code principles.
TASK: Review the code changes in this pull request or merge request, and provide actionable feedback on important issues only. Focus on bugs, security, and correctness - skip minor style nits. If the code is good, just approve it. DO NOT modify the code; only provide specific feedback.
CONTEXT: You have full context of the code being committed in the pull request or merge request, including the diff, surrounding files, and project structure. The code is written in a modern language and follows typical idioms and patterns for that language.
ROLE: As an automated reviewer, your role is to analyze the code changes and produce structured comments, including line numbers, across the following scenarios:
WHAT NOT TO COMMENT ON: Skip these - they add noise without value:
- Minor style preferences (formatting, spacing, bracket placement) - leave to linters
- Naming suggestions unless genuinely confusing
- "Nice to have" improvements that don't affect correctness
- Praise for code that follows best practices - just approve instead
More from openhands/extensions
deno
If the project uses deno, use this skill. Use this skill to initialize and work with Deno projects, add/remove dependencies (JSR and npm), run tasks and scripts with appropriate permissions, and use built-in tooling (fmt/lint/test).
19init
Create an AGENTS.md contributor guide for a repository (or a subdirectory) following a concise, repo-specific template. Use when the user runs /init.
17bitbucket
Interact with Bitbucket repositories and pull requests using the BITBUCKET_TOKEN environment variable. Use when working with code hosted on Bitbucket or managing Bitbucket resources via API.
16github-pr-review
Post PR review comments using the GitHub API with inline comments, suggestions, and priority labels.
16pdflatex
Install and use pdflatex to compile LaTeX documents into PDFs on Linux. Use when generating academic papers, research publications, or any documents written in LaTeX.
15github
Interact with GitHub repositories, pull requests, issues, and workflows using the GITHUB_TOKEN environment variable and GitHub CLI. Use when working with code hosted on GitHub or managing GitHub resources.
15