원클릭으로
review-branch
Review current branch changes in isolation. Output starts with LGTM verdict — if no LGTM, the code is not ready to merge.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Review current branch changes in isolation. Output starts with LGTM verdict — if no LGTM, the code is not ready to merge.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Add PR or Issue to an aenix-org project board with optional phase.
Analyze the current session and extract key learnings worth preserving.
Collects business requirements from product ideas
Reviews code for quality, security, and best practices. Use proactively after code changes.
An example skill demonstrating the format for opencode-skills plugin
Use when you need to test Nix expressions, validate Nix configuration syntax before applying, debug Nix code or understand evaluation results, inspect derivation attributes, or evaluate flake outputs and inputs
| name | review-branch |
| description | Review current branch changes in isolation. Output starts with LGTM verdict — if no LGTM, the code is not ready to merge. |
| argument-hint | [base-branch] [--nitpick] [--type go|node|python|rust] [--exclude pattern,pattern] |
| context | fork |
| agent | general-purpose |
Important: If the current directory is not a git repository, ask the user where the target repository is located before proceeding.
CRITICAL: NEVER run git checkout, git switch, or any command that changes the current branch. You MUST stay on whatever branch is active when you start. All analysis must use git diff, git log, and file reads — never branch switching.
Parse $ARGUMENTS for:
develop)--nitpick flag for pedantic mode--type project type (e.g. go, node, python, rust) — skips auto-detection--exclude additional exclude patterns, comma-separated (e.g. docs/,*.gen.go)Examples:
/review-branch → auto-detect everything/review-branch develop → compare with develop/review-branch --nitpick → pedantic mode/review-branch --type go --exclude "api/generated/" → Go project, extra excludes/review-branch develop --nitpick --type node → all combinedFirst, record the current branch (you will need it throughout):
REVIEW_BRANCH=$(git branch --show-current)
All analysis MUST be performed from this branch. Use git diff, git log, git show for comparisons — these do NOT require switching branches.
Determine base branch:
git rev-parse --abbrev-ref @{upstream} (tracking branch)main, fallback to masterFind the fork point:
MERGE_BASE=$(git merge-base $REVIEW_BRANCH <base-branch>)
If --type provided, use it. Otherwise detect the project type (Go, Node, Python, Rust, etc.) and build an exclude list dynamically:
Append any --exclude patterns from arguments.
Run the diff excluding those patterns:
git diff <MERGE_BASE> -- . ':!<pattern1>' ':!<pattern2>' ...
(Note: no HEAD — this compares the working tree against the fork point, capturing all changes including uncommitted ones.)
You are NOT limited to the diff. When the diff alone is not enough to understand the change:
Do whatever is needed to review competently. The diff is the starting point, not the boundary.
Review the diff for:
<if --nitpick> Pedantic mode: include style nitpicks, naming suggestions, minor improvements. Leave no stone unturned.
<if not --nitpick> Be direct. If something is fine, don't mention it. Focus on what matters, skip nitpicks.
Start your review with one of:
LGTM is a high bar. It means: no bugs, no security issues, no missing error handling, no logic gaps, no untested paths. The ONLY things allowed to pass with LGTM are cosmetic issues (naming style, minor formatting) — and even those must be listed as "Recommended to fix" in the review. Everything else blocks. When in doubt, do not LGTM.
Then provide the review as free-form text, like a human reviewer would write.