self-review
Dry-run a review pass over your own MR before asking a human reviewer — local checklist, no inline posting.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Dry-run a review pass over your own MR before asking a human reviewer — local checklist, no inline posting.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Walk a project from "no values provisioned" to "doctor --secrets is green" — eight idempotent steps with resume support via setup-state.toml. Wraps the secret framework (ADR-023 §3.8) for AI agents and headless onboarding.
Bootstrap devboy from scratch — install the CLI if missing, register the MCP server, run `devboy onboard` for the active agent, optionally bootstrap the secret framework, verify with `doctor`. First-run skill for both manual installs and the Claude Code / Codex plugin.
First-run wizard for the devboy secret framework — walk a fresh project from "no secret manifest, no router, no daemon" to "every required secret provisioned and verified". Idempotent eight-step flow per ADR-023 §3.8 with state at ~/.devboy/secrets/setup-state.toml so the user can resume or skip.
Analyse the user's Claude Code (or other agent) logs and auto-configure the layered-pipeline compression profiles for their tools, models, and workflow.
Diagnose and fix a broken devboy-tools setup — corrupt config, missing tokens, keychain trouble, wrong paths, plugin install failures.
Enumerate and introspect the active tool bundle — names, categories, schemas, how to invoke each tool from the CLI.
| name | self-review |
| description | Dry-run a review pass over your own MR before asking a human reviewer — local checklist, no inline posting. |
| category | code-review |
| version | 1 |
| compatibility | devboy-tools >= 0.18 |
| activation | ["self review my MR","self review my PR","check my own PR","dry-run review before requesting"] |
| tools | ["get_merge_request_diffs","get_merge_request_discussions"] |
Run the review-mr checklist over your own MR before handing it to a reviewer. Findings stay local — the output is a plain-text report to the user, not comments on the MR. If anything serious turns up, you fix it and amend the branch first.
For reviewing someone else's MR, use review-mr — it posts inline comments and a summary. Self-review deliberately does not.
mr#<n> or pr#<n>. If the user did not give one, ask — do not guess from branch state.
devboy tools call get_merge_request_diffs '{"key": "mr#374"}'
Read every changed file end-to-end. This is the only piece of ground truth you need — metadata (title, labels, target branch) is out of scope for self-review.
devboy tools call get_merge_request_discussions '{"key": "mr#374", "limit": 100}'
Flag any thread that is clearly awaiting your response — for example, the latest comment was not authored by you, or it contains an explicit request for changes / clarification / follow-up.
If the provider exposes a reliable resolved field you may use it as a hint (GitLab does), but do not treat unresolved on its own as a universal blocking signal: on GitHub the provider has no reliable resolved-state signal in the REST data and resolved is always false, so a naive check would tag every thread and make self-review impossible on GitHub-hosted PRs.
Self-review is incomplete while a reviewer is still waiting on you — either reply to the thread (see fix-review-comments) or, if you are pushing back, have the reasoning ready so the reviewer is not left waiting.
Same list as review-mr, applied to your own code. For each item, record one of three outcomes: ok, minor (note it for the reviewer), fix-before-review (you are going to change the code right now).
unwrap() / expect() calls justified? Option / Result combinators rather than unwrapped access?docs/ change if the public surface changes?SKILL.md body, CLI output, error message — English only?bash-only scripting, no Unix-only tools?fix-before-review — fix itMake the change, then re-run the local checks appropriate for the stack touched. For devboy-tools:
cargo fmt --check
cargo clippy --all-targets -- -D warnings
cargo test -p <the-crate-you-touched>
Amend the branch — a new commit is fine, a squash is fine, whatever matches the project's convention. Push. Then go back to step 2 and re-read the diff. Self-review is iterative; do not short-circuit after a fix.
When the list has no fix-before-review items left, emit a compact text report to the user. Example shape:
Self-review — mr#374
Type safety: ok
Error handling: minor — new variant `Error::ProviderStale` is not in the README table yet
Tests: ok
Docs: minor — new --remote-config-url flag missing from README cheatsheet
i18n: ok
Cross-platform: ok
Open discussions: 0
Recommendation: ready for review — two minor notes to call out in the MR description
The report goes to the user in the chat. Do not post it as an MR comment. Any item flagged minor is something you mention in the MR description or a cover letter to the reviewer, not a self-posted review.
ok / minor / fix-before-review.fix-before-review item is left unfixed by the time the report is written.cargo fmt, cargo clippy, targeted cargo test) are enough for a self-review pass — CI is what the reviewer sees.