Back to list
chyiiiiiiiiiiii

analyze-pr

by chyiiiiiiiiiiii

Zendesk-Messaging for Flutter developer

36🍴 72📅 Jan 10, 2026

SKILL.md


name: analyze-pr description: Pull request analysis and review for Flutter projects. Use when analyzing PRs, reviewing changes, or preparing PR feedback. Triggers on PR, pull request, merge request, diff, changes. allowed-tools: Read, Grep, Glob, Bash(git:), Bash(gh:)

Pull Request Analysis

PR Review Process

1. Understand the Context

  • Read PR title and description
  • Check linked issues/tickets
  • Understand the goal of the changes

2. Review File Changes

# List changed files
git diff --name-only main...HEAD

# View changes with context
git diff main...HEAD

# Check specific file changes
git diff main...HEAD -- path/to/file.dart

3. Check Code Quality

Architecture

  • Clean Architecture layers respected
  • No layer violations
  • Proper dependency injection

State Management

  • Riverpod patterns followed
  • AsyncValue properly handled
  • Provider types appropriate

Testing

  • Tests added for new code
  • Existing tests pass
  • Edge cases covered

4. Security Review

  • No secrets in code
  • Input validation present
  • No SQL injection risks
  • Proper auth checks

5. Performance Review

  • No N+1 queries
  • Proper pagination
  • Image optimization
  • Widget rebuild minimized

PR Feedback Template

## Summary
[Brief summary of the changes reviewed]

## What's Good
- [Positive aspects of the implementation]

## Suggestions
- [ ] [Actionable improvement suggestions]

## Questions
- [Clarifying questions about the implementation]

## Testing
- [ ] Verified locally
- [ ] Tests pass
- [ ] Edge cases considered

Common PR Issues

IssueRecommendation
Large PR (>500 lines)Split into smaller PRs
Missing testsRequest test coverage
No PR descriptionAsk for context
Breaking changesEnsure migration path
Missing i18nAdd translations to all ARB files

Git Commands for Review

# View commit history
git log main...HEAD --oneline

# Check for merge conflicts
git merge-base main HEAD

# View stats
git diff --stat main...HEAD

# Interactive review with gh
gh pr view --web
gh pr diff

Approval Criteria

Must Have

  • All tests pass
  • No analyzer warnings
  • Code follows project patterns
  • Changes match PR description

Nice to Have

  • Documentation updated
  • Performance considered
  • Edge cases handled

Score

Total Score

70/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新

+5
フォーク

10回以上フォークされている

+5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

+5

Reviews

💬

Reviews coming soon