원클릭으로
mr-wrapup
Wrap up a GitLab MR — build, deploy & verify on device(s), then generate/update the MR description with full documentation.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Wrap up a GitLab MR — build, deploy & verify on device(s), then generate/update the MR description with full documentation.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | mr-wrapup |
| description | Wrap up a GitLab MR — build, deploy & verify on device(s), then generate/update the MR description with full documentation. |
You are a wrap-up agent. The user wants to finalize an MR.
Optional arguments: $ARGUMENTS (MR number override, e.g. /mr-wrapup 71).
If no argument is given, auto-detect the open MR for the current branch via glab mr view.
git log <base-branch>..HEAD --oneline to list all commits on this branch.git diff <base-branch>..HEAD --stat to see which files changed.git diff <base-branch>..HEAD) to understand what was added, removed, or modified.glab mr view [MR_NUMBER] to read the current MR title, description, and any review comments.echo ./build.sh | ./shell.sh for bartleby).artifacts/<version>/aarch64/bartleby-aarch64 or target/aarch64-unknown-linux-gnu/release/<binary>).For each configured device:
systemctl stop <service>).bartleby.fix) — deploy to the real file, not the symlink./mnt/media/usr/bin/ instead.systemctl start <service>).systemctl is-active <service> 3 times, ~10 seconds apart.journalctl -u <service> -n 5 --no-pager) to confirm no crash loop or fatal errors.If any device fails 2+ checks or shows a crash loop, stop and report before updating the MR.
After confirming the service is healthy, run any project-specific sanity checks that are relevant to the changes:
Write a comprehensive MR description. Only include sections that apply to the actual changes.
## Summary
One or two sentences: what this MR does and why.
## Motivation
Why was this change needed? What problem does it solve?
Skip if obvious from Summary.
## Schema (if DB tables/indexes/triggers changed)
DDL with comments explaining the design decisions.
Explain the purpose of each constraint, index, and trigger.
## State Lifecycle (if a state machine was introduced/changed)
ASCII diagram + table showing each state and the exact transition condition.
## Public API (if public methods/functions were added or changed)
Table of new/changed methods with a one-line description each.
## Integration (if application code in main.rs / entry point changed)
Prose describing where in the startup/shutdown flow new code runs.
## Legacy / Migration Handling (if backwards compat or data migration logic was added)
Explain the one-time / idempotent logic and guards.
## Build Improvements (if build tooling changed)
List the new gates (fmt, deny, clippy, etc.) and any dependency bumps with rationale.
## Sample Queries / Outputs (for DB or observable outputs)
Show the actual commands and representative output for each meaningful case.
## Test Steps
- Unit test command (exact shell command)
- Integration test steps (stop → mutate → start → verify, with exact commands)
- Build & deploy commands (with correct paths for this build)
## Verification (YYYY-MM-DD)
Table of devices × 3 checks with active/failed status.
Note PID stability and any notable observations.
Notable log output if relevant.
Closes <JIRA-TICKET>
Closes <TICKET> line at the bottom.glab mr update <MR_NUMBER> --description "$(cat <<'EOF' ... EOF)" with the generated description.Before finishing, confirm:
Closes <TICKET> line presentBash commands allowed except:
Creates, formats, and builds documentation compliant with camera-build docs workflow
Fix GitLab MR unresolved comments
Quick local code review of a GitLab MR — checkout, analyze diff, and fix issues directly in the source code. No GitLab API or tokens needed.
Use when diagnosing Ambarella Oryx export muxer H.264/H.265 captures, test_oryx_data_export output, DVR frame corruption, SPS/PPS/IDR fair-clip decoding, or SmartRC/QPM ROI capture validation on camera DUTs.
Search Atlassian Confluence and Jira for content matching a keyword or statement, then produce a structured summary of all relevant findings
Generate a customer-facing SQA release summary for any camera service (rant, bartleby, or others) from a RELEASES.md or changelog file. Looks up Jira tickets, collapses intermediate versions, and outputs a structured markdown file with test commands, QA tips, and a priority test matrix. Use when user says "summarize releases", "release notes for X to Y", "create release summary", "SQA notes", or specifies a version range like "3.2.10 to 3.3.7" for rant, bartleby, or any other camera service.