analyze-pr
БесплатноБез исполняемых скриптовНе проверенPull request analysis and review for Flutter projects. Use when analyzing PRs, reviewing changes, or preparing PR feedback. Triggers on PR, pull request…
Об этом скилле
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
| Issue | Recommendation |
|---|---|
| Large PR (>500 lines) | Split into smaller PRs |
| Missing tests | Request test coverage |
| No PR description | Ask for context |
| Breaking changes | Ensure migration path |
| Missing i18n | Add 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
Установить analyze-pr в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadGrepGlobBash(git:*)Bash(gh:*)FAQ
Что делает скилл analyze-pr?
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.
Как установить скилл analyze-pr?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл analyze-pr запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic