SkillsReviewed · evanca

Code Review Skill for Flutter and Dart

Code Review is an AI assistant skill for Flutter and Dart developers who want structured code reviews, but its thoroughness depends on the assistant and its token guard provides limited protection. It includes a review checklist, GitHub and GitLab posting guides, and a Bash hook that screens commands for certain token-exposure patterns.

Researched 16 Nov 2026

In short.

Code Review is an AI assistant skill for Flutter and Dart teams seeking consistent pull request reviews, but review quality and token protection are not established by its instructions alone. It asks the assistant to trace connected code, inspect real tests, check CI and distinguish blocking findings from optional improvements. Reviews stay in chat unless online posting is explicitly requested. Its Bash hook screens selected command patterns; runtime behavior, host compatibility and review accuracy have not been assessed.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage includes all four files in skills/code-review at commit ced864ab5189956dbf719a84011c24d860092116 and the repository-level MIT LICENSE. The wider flutter-ai-rules repository and linked external documentation are excluded. No code, hook, review, CI process or API request was executed; installation, token protection, posting behavior and review effectiveness remain unverified.

The overview

identity

This resource is the skills/code-review folder in evanca/flutter-ai-rules. It contains SKILL.md, GitHub and GitLab posting references, and scripts/protect-token.sh. The entry file identifies the skill as code-review and describes reviewing pull requests, merge requests, branches and diffs.

The source folder is [https://github.com/evanca/flutter-ai-rules/tree/main/skills/code-review]. These findings concern the supplied snapshot at commit ced864ab5189956dbf719a84011c24d860092116.

assessment

The strongest feature is its demand for concrete investigation: identify connected files and methods, explain why a change exists, locate corresponding tests and assess whether those tests exercise meaningful behavior. Flutter-specific checks make it more useful for this stack than a generic review checklist.

It is a useful starting point for assistant-assisted reviews. No supplied results establish that an assistant follows every step, finds defects reliably or avoids false findings. The hook also needs a narrower interpretation than the source's claim that token safety is enforced.

users

Flutter and Dart developers reviewing changes before merging are the clearest audience. Beginners get a sequence covering branch status, code quality, tests and feedback. Experienced reviewers get explicit prompts to investigate connected implementations, check generated files and distinguish existing-code suggestions from issues introduced by a change.

Teams using Bloc or Cubit receive a concrete widget-rebuild example. Riverpod, Provider and other state-management approaches require the assistant to apply the project's own conventions; separate guidance for those packages is not supplied.

capabilities

The checklist covers branch and merge-target checks, changed-file discovery, correctness, naming, maintainability, error handling, security, performance, documentation, tests and linting. Flutter checks include widget keys, resource disposal, const constructors and limiting unnecessary rebuilds.

The requested review output includes a summary, findings with suggestion/minor/major severity, clarification questions and a verdict. Optional posting guides explain GitHub inline comments and batch reviews, GitLab discussions and approvals, and the commit and line-position information those operations require.

Using it

requirements

A complete review requires an assistant with access to the repository, relevant branches, connected source files, tests and CI results. Project-specific Flutter/Dart guidelines must be available if the assistant is to assess local conventions. The skill does not supply a model or repository access itself.

The hook requires Bash and standard command-line utilities including grep. It uses jq when available and otherwise scans the raw hook input. Online posting additionally requires curl, platform access and GITHUB_TOKEN or GITLAB_TOKEN. The GitHub guide specifies a review-bot token or fine-grained personal access token with Pull requests read and write permission.

mechanism

SKILL.md provides instructions for an assistant to follow. Its front matter also declares a PreToolUse hook for the Bash tool, pointing to ./scripts/protect-token.sh. The script reads a hook event from standard input and examines the proposed shell command.

The script uses regular expressions to identify selected token-printing commands, environment dumps and verbose or trace curl options. A match produces a hook denial response; other commands fall through to the host's normal permission handling. This is command-text screening rather than comprehensive analysis of shell behavior or secret handling.

setup

Keep the entire skills/code-review directory together so the entry file retains its posting references and hook script, and retain the repository LICENSE. Configure the assistant host to load the skill and verify how it resolves the relative hook path. The supplied files do not establish a universal installation location or command.

The skill describes Claude Code CLI and Agent SDK use. It says SDK applications that explicitly configure settingSources or setting_sources must include project settings for skill hooks to load. That integration statement has not been independently verified. A repository token is needed only for the optional online-posting path.

example

An illustrative request is: Review this Flutter feature branch against its merge target, inspect connected widgets and state-management code, check corresponding tests and CI, and return findings in chat.

For a change involving a controller or stream subscription, the checklist directs attention to disposal. For a change involving BlocBuilder, its example suggests considering a narrower BlocSelector to reduce rebuilds. Whether either change is warranted depends on the actual implementation. These are hypothetical uses; no repository review or execution results are supplied.

Assessment & evidence

limitations

The token hook screens a limited set of textual patterns. It does not constrain the destination receiving an authentication header or establish protection against every method of reading, transforming or disclosing a secret. Its declaration targets Bash calls; protection through other tools is not established.

The GitLab guide warns that abbreviated curl options may cause authentication failures, yet uses those options in later inline-comment and approval examples. This is an internal documentation inconsistency; no supplied results establish the claimed authentication distinction.

Review accuracy, hook loading, relative-path resolution, API compatibility and posting behavior remain untested. The checklist's breadth also does not guarantee that every listed concern will be investigated.

reasoning

Its practical value comes from making review expectations explicit. Following connected code helps assess intent and effects, while locating real tests helps distinguish coverage from assertions about mocked behavior. Separating optional existing-code refactors from blockers helps keep feedback focused.

These are strengths of the written design. Evidence of improved defect detection, faster reviews or consistent assistant compliance is absent, so the resource supports a structured approach without establishing measured benefits.

alternatives

A team with an established human review checklist can compare it with this skill's Flutter checks and test-review requirements before adopting the full workflow. The chat-only path is available when platform posting is unnecessary.

Analyzer, lint and CI results remain complementary evidence within the skill's own workflow. No competing assistant skills or review products are described in the supplied material, so comparative quality, compatibility and cost are unknown.

evidence

The supplied source snapshot contains the complete selected skill folder: SKILL.md, references/github-posting.md, references/gitlab-posting.md and scripts/protect-token.sh. The repository-level LICENSE provides the related licence notice.

The findings are based on those source texts. No actual pull request, application code, CI output, execution receipts, hook test results or independent accuracy measurements are supplied. Statements in the documentation about enforcement and integration are not runtime proof.

Access & freshness

costs

No price schedule, model usage measurements or operating-cost figures are supplied. Assistant access, model usage and any repository or CI charges depend on the chosen environment. Total cost and token consumption are unknown.

The MIT licence permits commercial use and redistribution subject to its notice requirement, but it does not establish the cost of services used alongside the skill.

rights

SKILL.md declares MIT, and the repository LICENSE supplies the MIT terms with Copyright (c) 2025 Ivanna. Those terms permit use, copying, modification, distribution, sublicensing and sale.

Copies or substantial portions must retain the copyright and permission notices. The licence provides the software without warranty and disclaims liability. Linked external documentation is outside the supplied licence evidence.

freshness

The supplied capture is dated 2026-11-16T05:31:40.969Z and pins all five files to commit ced864ab5189956dbf719a84011c24d860092116. The commit's creation date and later changes are unknown.

The GitHub reference specifies API version 2026-03-10. Its current acceptance and compatibility were not checked. The main-branch source URL may change independently of the captured revision.

actions

Start with a small Flutter change and the chat-review path. Supply the intended merge target and project conventions, then check whether findings identify connected code, real tests and concrete fixes. Assess the review against the actual change before relying on its verdict.

Before using credentials, verify hook loading and path resolution with harmless dummy values. For online posting, resolve the GitLab guide's conflicting curl advice, confirm current API requirements, restrict token access appropriately and verify commit and diff positions. The skill requires explicit permission before posting comments.

Evidence for this report

LICENSEnotice · checked 2026-11-16
skills/code-review/SKILL.mdselected · checked 2026-11-16
skills/code-review/scripts/protect-token.shselected · checked 2026-11-16