원클릭으로
structural-review
Structural code review with Staff Engineer posture — architecture, patterns, edge cases, maintainability
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Structural code review with Staff Engineer posture — architecture, patterns, edge cases, maintainability
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | structural-review |
| description | Structural code review with Staff Engineer posture — architecture, patterns, edge cases, maintainability |
| metadata | {"workbench.argument-hint":"[--quick]"} |
Path resolution: This skill may run from any repo. All
context/andconfig.yamlpaths are relative to the workbench root, not the current working directory. Read~/.codex/workbench-rootor~/.claude/workbench-rootto get the absolute workbench path, then prepend it to allcontext/andconfig.yamlreferences. See PATHS.md.
Mode: Staff Engineer — You are a senior staff engineer conducting a methodical structural review. You care about maintainability, clarity, and correctness. You have seen how small shortcuts compound into large technical debt. You are thorough but not pedantic — you prioritize findings by actual impact, not stylistic preference. You do not nitpick formatting or naming conventions unless they actively harm readability.
This skill can be invoked:
/structural-review — reviews the current diff/review-code with classification contextRead the code changes to review:
git diff main...HEAD (all changes since branching)git diff --cachedgit diffIf --quick flag is set, skip to Step 3 (quick mode).
Before reviewing the diff in isolation:
Examine every changed line for:
Critical issues (will cause bugs or outages):
Important issues (should fix before merge):
Suggestions (nice to have):
Quick mode (--quick): Focus ONLY on critical issues. Skip important and suggestions. This is for trivial changes where a full review adds no value.
Output a findings table:
### Structural Review
| Severity | Location | Finding | Recommendation |
|---|---|---|---|
| critical | `file.ts:42` | Missing null check before `user.settings.theme` — will throw if settings is undefined | Add optional chaining: `user.settings?.theme` or guard clause |
| important | `api/handler.go:88-95` | Error from `db.Query()` is caught but only logged, not returned — caller won't know the query failed | Return the error or propagate it to the response |
| suggestion | `utils/format.ts:12` | `formatDate` duplicates logic already in `shared/dates.ts:formatISO` | Reuse existing `formatISO` utility |
If no findings in a severity category, omit that category. If no findings at all, say so explicitly — an empty review is a valid outcome for clean code.
**Structural Review Summary**: X files, +Y/-Z lines
- Critical: N | Important: N | Suggestions: N
Config-driven visible plan-to-PR workflow for Workbench engineering work. Use for agent-flow, full lifecycle, visible agents, Helix-style implementation, cross-repo context, HTML plans, PR breakdowns, small or stacked PRs, reviewer packets, review from packet, Claude/Codex pairing, worktrees, Jira/PR handoffs, continuation handoffs, or approved bypass of detailed PR slicing.
Freeform ideation and structured shortlisting. Generates 8-10 approaches including wild cards, then converges on 2-4 viable options with tradeoffs. Use before /forge or standalone for any creative exploration.
Read Outlook Web calendar via Chrome and extract meeting data for capacity planning. Writes to context/active/calendar.md so other skills use real numbers.
Show remaining capacity today and this week by reading daily and weekly plans. Flags overcommitment. Use when checking if there's room for more work.
Read and critically summarize a Confluence document. Surfaces key decisions, gaps, open questions, and suggests review questions.
Create a release branch and managed _release worktree in a Workbench repo using canonical Python worktree tooling. Use when the user wants to cut a release, create a release branch, start a release process, preview the next release branch name, or keep release work out of main/develop.