code-review

Review pull requests and diffs for Flutter and Dart projects with a structured checklist.

1|Updated Aug 14, 2026
One-click install
npx skills add https://github.com/sohampawar1866/zeromile-go --skill code-review-sohampawar1866
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-review
Source: https://github.com/sohampawar1866/zeromile-go/tree/main/.agents/skills/code-review
Command: npx skills add https://github.com/sohampawar1866/zeromile-go --skill code-review-sohampawar1866

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve? Reviewing pull requests consistently is hard: reviewers miss edge cases, skip test coverage checks, and give vague feedback. This Skill enforces a repeatable, objective review workflow for Flutter/Dart projects so every PR, MR, branch, or diff is audited against the same quality bar. ## Core Features & Use Cases - Structured review workflow: Validates branch state, discovers changed files, reviews each file against a checklist covering logic, security, performance, SOLID principles, code smells, and Flutter-specific patterns like Bloc rebuild scoping and dispose() calls. - Severity-classified feedback: Produces a structured report with summary, issues classified as suggestion/minor/major, clarification questions, and a verdict (Approved, Approved with suggestions, or Changes requested). - Opt-in online posting: Posts inline comments and approvals to GitHub or GitLab only after explicit user consent, with a PreToolUse hook that blocks any command that would expose the review-bot token. - Use Case: A teammate asks you to review their merge request adding a new Cubit. The Skill checks the branch is up-to-date, walks each changed file, verifies tests exist and can actually fail, flags a missing dispose() call as a minor issue, and delivers a verdict in chat. ## Quick Start Review the current branch's merge request and give me a structured report with issues, severity levels, and a verdict.

Frequently Asked Questions about code-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I review a pull request for a Flutter project?

Ask the assistant to review the PR, branch, or diff. The Skill validates the branch against its merge target, walks each changed file through a checklist covering logic, naming, security, and Flutter patterns, then returns a structured report with severity-classified issues and a verdict.

How to post code review comments to GitHub or GitLab automatically?

After the chat review, the Skill asks whether you want comments posted online. If you opt in, it posts inline comments and approvals via the GitHub or GitLab API using a GITHUB_TOKEN or GITLAB_TOKEN environment variable, following the platform-specific reference guides.

Does this code review skill work with Riverpod or only Bloc?

The Flutter-specific checks use Bloc/Cubit as an example, but the same principles apply to Riverpod, Provider, or any state management package. The Skill instructs matching changes against the project's own loaded guidelines and conventions.

Is it safe to use a GitLab or GitHub token for posting reviews?

Yes. The token is treated as write-only: the Skill may check it exists and report its length, but a PreToolUse hook (scripts/protect-token.sh) blocks any Bash command that would echo, print, or expose the token value, including curl verbose flags.

What does the code review check for in test coverage?

The Skill searches for test files corresponding to new logic, confirms tests cover edge cases rather than only the happy path, and evaluates whether tests could actually fail against real code instead of just verifying mocked behavior. Missing or insufficient tests are flagged as blocking issues.