一键导入
review-pr
Workflow and rules for AI-assisted pull request reviews.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Workflow and rules for AI-assisted pull request reviews.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Rules and patterns for using DIPS.Mobile.UI design tokens, styles, and Layout effect in C# code. Apply when building UI components or views.
Creates a pull request with proper title, description, changelog updates, and wiki documentation checks.
Generates wiki documentation for new DIPS.Mobile.UI components following established patterns and conventions.
基于 SOC 职业分类
| name | Review PR |
| description | Workflow and rules for AI-assisted pull request reviews. |
AI agents must NEVER use --approve or --request-changes flags.
| Action | Allowed? | Why |
|---|---|---|
gh pr review --approve | NEVER | Approval is a human decision |
gh pr review --request-changes | NEVER | Blocking PRs is a human decision |
Perform a comprehensive code review of the current changes following these rules:
When reviewing a PR, add a comment that gives the reviewer a clear understanding of the PR:
Pull request overview — A short summary based on the title, description, and changed files. Explain what the PR does and why.
File summary — A collapsible table listing each changed file with a brief description of the change. Use a <details> block so it can be minimized:
### Pull request overview
<one or two paragraphs summarizing the purpose and approach of the PR>
### Changes
- <bullet per logical change group>
<details>
<summary>📁 File summary (<N> files changed)</summary>
| File | Description |
|------|-------------|
| `path/to/file.cs` | Brief description of what changed |
| `path/to/other.cs` | Brief description of what changed |
</details>
iOS/, Android/, dotnet/ folders.iOS or .Android suffix)net10.0 target in dotnet/ folderColor.FromRgb(), Colors.Red)new Thickness(16), FontSize = 14)Colors.GetColor(ColorName.*), Sizes.GetSize(SizeName.*), Icons.GetIcon(IconName.*)SemanticProperties.DescriptionOnAccessibilityDescriptionSet() called when description existsUIAccessibilityTrait.Button) and Android (AccessibilityDelegate) implementationsOnDetached() or handler disposal[Component/Feature] Descriptionwiki/wiki/*.md page is updated in the same PRPascalCase.md or Hyphenated-Words.md_Sidebar.md edits needed)wiki/ to determine if documentation is affectedFor Accessibility Changes:
For Component Changes:
For Effect/Handler Changes:
For Breaking Changes:
For Documentation (wiki/):
wiki/<FeatureName>.md pageBut use your judgment to adapt the review based on the specific changes made. You are encouraged to provide constructive feedback that helps maintain code quality and consistency across the project. Be a pro reviewer!