一键导入
engineering-code-review-prep
Prepare comprehensive code review briefs by gathering PR context, related issues, and design decisions
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Prepare comprehensive code review briefs by gathering PR context, related issues, and design decisions
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Draft an offer letter with compensation details and terms
Create structured interview plans with competency-based questions and scorecards. Triggers on "interview plan for [role]", "interview questions for [role]", "scorecard for [role]"
Headcount planning, org design, and team structure optimization. Triggers on "org planning", "headcount plan", "team structure", "reorg", "who should we hire next"
Track and manage recruiting pipeline from sourcing through offer. Triggers on "recruiting update", "candidate pipeline", "how many candidates", "hiring status for [role]"
Generate a prioritized daily plan. Triggers on "plan my day", "what's on my plate", "start my day", "morning plan", "daily priorities"
Quick meeting prep for any meeting — context, agenda, and talking points. Triggers on "prep for my meeting", "what's my next meeting about", "meeting context for [topic]"
| name | engineering-code-review-prep |
| description | Prepare comprehensive code review briefs by gathering PR context, related issues, and design decisions |
| metadata | {"openclaw":{"tags":["engineering","code-review","pull-requests"]}} |
When the user asks to prepare for a code review, summarize open PRs, or create a review brief:
Use capability_execute with the following parameters:
If the result status is "needs_setup", inform the user that project tracker
access is required and suggest running /connect_apps.
For each PR (or the specific PR requested), use capability_execute with:
Collect the original issue context, acceptance criteria, and any design decisions documented in the issue comments.
Use capability_execute with the following parameters:
Find any architecture decision records, design documents, or RFCs that informed the changes in the PR. This provides essential review context.
Use capability_execute with the following parameters:
Find any design discussions, tradeoff debates, or context that was shared in chat but may not be captured in the PR description.
Use capability_execute with the following parameters:
If the PR introduces a new pattern, library, or architectural approach, find relevant best practices to inform the review checklist.
Format the output as follows:
## Code Review Brief
**Date:** <current_date>
**Reviewer:** <current_user>
**PRs reviewed:** <count>
---
### PR: <PR_title>
**Author:** <author> | **Branch:** <branch>
**Created:** <date> | **Last updated:** <date>
**Size:** +<additions> / -<deletions> across <files_changed> files
**Status:** <draft/ready/changes_requested/approved>
**Reviewers:** <assigned_reviewers>
#### Context
<2-3 sentence summary of what this PR does and why, drawn from the linked
issue, PR description, and design documents>
#### Linked Issues
- <issue_id>: <issue_title> (<status>)
- Acceptance criteria: <brief summary>
#### Design Context
- <design_doc_or_ADR_reference>: <key decisions relevant to this PR>
- <chat_discussion_summary>: <relevant context from engineering channels>
#### Review Checklist
Based on the changes and context gathered:
- [ ] **Correctness:** Does the implementation match the acceptance criteria?
- [ ] **Architecture:** Does it follow the patterns described in <design_doc>?
- [ ] **Error handling:** Are failure modes handled appropriately?
- [ ] **Testing:** Are new code paths covered by tests?
- [ ] **Performance:** Any concerns with <specific_area_if_applicable>?
- [ ] **Security:** <specific_security_considerations_if_applicable>
- [ ] **Documentation:** Are public APIs or config changes documented?
- [ ] **Rollback:** Can this change be safely rolled back?
#### Key Areas to Focus On
1. <specific_file_or_function_that_deserves_close_attention>
- Reason: <why this area needs focus>
2. <specific_file_or_function>
- Reason: <why>
#### Open Questions
- <question_from_PR_comments_or_chat_that_is_unresolved>
- <question_based_on_design_doc_review>
#### External References
- <relevant_best_practice_article_or_documentation>
---
### Summary Across All PRs
| PR | Author | Size | Age | Priority | Focus Areas |
|----|--------|------|-----|----------|-------------|
| <title> | <author> | <size> | <days_open> | <priority> | <key_areas> |
### Recommended Review Order
1. <PR_to_review_first> -- <reason: blocking, oldest, smallest, etc.>
2. <PR_to_review_second> -- <reason>
3. <remaining_PRs>
Recommend reviewing smaller, blocking PRs first to unblock teammates, followed by larger PRs that benefit from deeper focus.