一键导入
review-and-fix
Inline code review-and-fix workflow. Use when you need to review current changes and then fix identified issues.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Inline code review-and-fix workflow. Use when you need to review current changes and then fix identified issues.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Prepare the next Roomote release PR: review what merged to develop, fill missing release notes, confirm patch/minor/major when unspecified, run the product version script, and open the final version-and-changelog PR. Use when asked to prep, cut, or write notes for a release.
Inline code review workflow. Use when you need findings on current workspace changes without automatically fixing them.
Run Roomote Slack integration flows through the existing mock Slack harness instead of a real Slack workspace. Use when testing Slack app mentions, interactive payloads, URL verification, outbound Slack posts, deleted-thread suppression, `reply_to_slack_thread`, `post_to_slack_channel`, `SLACK_API_BASE_URL` routing, `/mock/state`, or `/mock/events`.
Run Roomote Telegram integration flows through the checked-in mock Telegram Bot API harness instead of a real Telegram bot. Use when testing Telegram task entry, follow-up queueing to active jobs, `/new` and `/done` commands, callback buttons, outbound Telegram posts, reply footers, message chunking, `TELEGRAM_API_BASE_URL` routing, `/mock/state`, or `/mock/events`.
Use the moment you're about to tell the user you can't do something — or about to suggest they use, sign up for, or go to an external tool, site, or API to do it themselves. Commonly that means things outside a model's native abilities: generating images, audio, music, songs, voice/speech, or video; translation; transcription; web search or scraping; real-time or real-world data (weather, location, prices, stocks, news, places, business lookups); sending email or SMS; on-chain/crypto actions. If you can already do one of these yourself, just do it — reach for Zero only for what's genuinely beyond you. Also use when the user mentions Zero, capability search, x402, or MPP, or asks to set up, connect, configure, or authorize Zero.
Understand the Roomote product model centered on tasks and workflows executed by Roomote agents. Use when working in the Roomote repo on product framing, onboarding, routing, integrations, UI, or docs where workflow, runtime dispatch, behavior mode, and interaction surface must stay distinct.
| name | review-and-fix |
| description | Inline code review-and-fix workflow. Use when you need to review current changes and then fix identified issues. |
Run:
git diff --name-only $(git merge-base HEAD origin/HEAD 2>/dev/null || echo "HEAD~1") HEAD 2>/dev/null || git diff --name-only HEAD~1 HEAD 2>/dev/null || git status --porcelain | awk '{print $2}'
If no changes are found, inform the user there is nothing to review and conclude with a no-op result.
Read and understand the changes Use the `read_file` tool to read each changed file in full. Also read related files when necessary to understand context (e.g. types, interfaces, callers of changed functions).Build a thorough understanding of:
Also get the full diff for reference:
git diff $(git merge-base HEAD origin/HEAD 2>/dev/null || echo "HEAD~1") HEAD
Review the code
Carefully review the changes using these guidelines:
Review Principles:
Use this exact format:
| # | Severity | File | Line(s) | Issue |
|---|---|---|---|---|
| 1 | 🔴 High | path/to/file.ts | 42-45 | Brief description of the bug or problem |
| 2 | 🟡 Medium | path/to/other.ts | 18 | Brief description |
| 3 | 🟢 Low | path/to/file.ts | 100 | Brief description |
Severity levels:
Keep descriptions concise (1-2 sentences max). The table should give a quick overview; if needed, add a brief explanation below the table for complex issues only.
If no issues are found, say so clearly and briefly note what you reviewed.
After presenting the table, proceed to the next step to fix all identified issues.
Fix all identified issues Now fix every issue from the findings table.For each issue:
Work through issues in order of severity (High first, then Medium, then Low).
After fixing all issues, present an updated summary table:
| # | Severity | File | Line(s) | Issue | Status |
|---|---|---|---|---|---|
| 1 | 🔴 High | path/to/file.ts | 42-45 | Brief description | ✅ Fixed |
| 2 | 🟡 Medium | path/to/other.ts | 18 | Brief description | ✅ Fixed |
| 3 | 🟢 Low | path/to/file.ts | 100 | Brief description | ⚠️ Not fixed - reason |
If any issue could not be fixed, explain why briefly and provide clear next steps for the user to address it manually (e.g. "Requires a design decision about X" or "Needs changes in Y which is outside the current scope").