code-review

Performs thorough code reviews for Flutter/Dart pull requests and merge requests. Use when asked to review a PR, MR, branch, or a set of changed files. Follows a structured checklist covering correctness, security, style, testing, and documentation.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "code-review" with this command: npx skills add evanca/flutter-ai-rules/evanca-flutter-ai-rules-code-review

Code Review Skill

This skill defines how to perform structured, objective code reviews.

When to Use

Use this skill when:

  • Asked to review a pull request, merge request, or branch.
  • Evaluating changed, added, or deleted files for correctness and quality.

Review Process

1. Branch and Merge Target

  • Confirm the current branch is a feature, bugfix, or PR/MR branch — not the project's primary branch (e.g. main, master, develop, or equivalent).
  • Verify the branch is up-to-date with the target branch.
  • Identify the target branch for the merge.

2. Change Discovery

  • List all changed, added, and deleted files.
  • For each change, look up the commit title and review how connected components are implemented.
  • Never assume a change or fix is correct without investigating the implementation details.
  • If a change remains difficult to understand after several attempts, note this explicitly in your report.

3. Per-File Review

For every changed file, check:

AreaWhat to verify
LocationFile is in the correct directory
NamingFile name follows naming conventions
ResponsibilityThe file's responsibility is clear; reason for its change is understandable
ReadabilityVariable, function, and class names are descriptive and consistent
Logic & correctnessNo logic errors or missing edge cases
MaintainabilityCode is modular; no unnecessary duplication
Error handlingErrors and exceptions are handled appropriately
SecurityNo input validation issues; no secrets committed to code
PerformanceNo obvious performance issues or inefficiencies
DocumentationPublic APIs, complex logic, and new modules are documented
Test coverageNew or changed logic has sufficient tests
StyleCode matches the project's style guide and coding patterns

For generated files: confirm they are up-to-date and not manually modified.

4. Overall Change Set

  • Verify the change set is focused and scoped to its stated purpose — no unrelated or unnecessary changes.
  • Check that the PR/MR description accurately reflects the changes made.
  • Confirm new or updated tests cover new or changed logic.
  • Evaluate whether tests could actually fail, or only verify a mock implementation.

5. CI and Tests

  • Ensure all tests pass in the continuous integration system.
  • Fetch online documentation when unsure about best practices for a particular package or library.

Feedback Standards

  • Be objective and reasonable — avoid automatic praise or flattery.
  • Take a devil's advocate approach: give honest, thoughtful feedback.
  • Provide clear, constructive feedback for any issues found, with suggestions for improvement.
  • Include requests for clarification for anything that is unclear.

Output Format

Provide your review as a chat response, covering conclusions and recommendations per file, including:

  1. Summary of what changed and why
  2. Issues found (with severity: suggestion / minor / major)
  3. Specific recommendations or questions per file
  4. Overall verdict: approved, approved with suggestions, or changes requested

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

riverpod

No summary provided by upstream source.

Repository SourceNeeds Review
General

bloc

No summary provided by upstream source.

Repository SourceNeeds Review
General

architecture-feature-first

No summary provided by upstream source.

Repository SourceNeeds Review
General

firebase-crashlytics

No summary provided by upstream source.

Repository SourceNeeds Review
code-review | V50.AI