Use to mine ../airlineops for governance habits gzkit lacks; produces a parity scan report (gzkit leads, AirlineOps adopts).
日本語の概要は準備中です。原文の説明を表示しています。
Use after an OBPI's implementation, before reconcile, to review its code for reuse, quality and efficiency.
インストールする前に、エージェントに与えられる指示の中身を確認できます。
OBPI-scoped code review: resolve scope from the brief, review across three dimensions (reuse, quality, efficiency), fix issues found.
Position in workflow: After implementation (pipeline Stage 2-3), before reconcile. This is the implementation quality gate — the pipeline verifies correctness; simplify verifies craft.
These thoughts mean STOP — you are about to skip the craft gate:
| Thought | Reality |
|---|---|
| "The code is working fine, no simplification needed" | Working code that is hard to read will be hard to fix when it breaks. Simplification is about future maintainability. |
| "Changing this code is too risky" | Every fix is behavior-preserving and validated by tests. Risk is an excuse to leave technical debt. |
| "This is just formatting, ruff handles it" | Ruff handles syntax formatting. Semantic simplification (dead code, poor naming, unnecessary complexity) is this skill's domain. |
| "The OBPI is done, simplification is optional" | Simplification is the craft gate between pipeline completion and reconciliation. Skipping it ships unreviewed complexity. |
| "I don't understand this code well enough to simplify it" | Step 1 is "understand before touching." If you cannot understand it, that is a red flag for the code, not a reason to skip. |
/gz-obpi-simplify OBPI-0.5.0-01
/gz-obpi-simplify 0.5.0-01
/gz-obpi-simplify OBPI-0.5.0-01 focus on error handling
The first token is the OBPI ID. Remaining tokens are an optional focus directive.
Find the brief file using the Glob tool:
Glob(pattern="docs/design/adr/**/obpis/OBPI-{id}*.md")
Glob is the cross-platform native answer; find is Bash-only and
fails on Windows-native shells.
Read the brief and extract the ## Allowed Paths section.
Expand those patterns against the working tree to produce the concrete file list.
If the brief has an ### Implementation Summary section with explicit file paths,
include those too — they capture files actually touched.
Filter to source/test code (.py, .md in docs/, config files). Exclude binaries.
If no brief is found, abort with an error message.
The file list is the review scope. Do not review files outside it.
Before reviewing, scan scoped files for simplify-ignore annotations. Code
within these annotations is excluded from all three review dimensions.
# simplify-ignore-start: governance-critical
# ... code that must not be simplified ...
# simplify-ignore-end
Supported reasons:
| Reason | When to use |
|---|---|
governance-critical | Code that enforces governance invariants (ledger writes, gate checks) |
performance-sensitive | Code where clarity was intentionally traded for performance |
external-contract | Code that implements an external API or protocol exactly |
intentional-complexity | Code where the complexity is inherent to the problem domain |
Rules:
Review the scoped files from three independent lenses. Agents that support parallel dispatch should run all three concurrently. Sequential execution is acceptable when parallel dispatch is not available.
Look for:
Look for:
Look for:
For each finding: fix it directly. Skip false positives silently. Apply the optional focus directive (if provided) to weight review attention.
After all reviews complete:
uv run ruff check . --fix && uv run ruff format .
uv run gz test
simplify-ignore annotations. Do not modify code within annotated protected regions.| Skill | Relationship |
|---|---|
gz-obpi-pipeline | Pipeline verifies correctness; simplify verifies craft |
gz-obpi-sync | Run after simplify to catch any status drift |
gz-check | Simplify runs quality checks as part of Step 3 |
まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Use to mine ../airlineops for governance habits gzkit lacks; produces a parity scan report (gzkit leads, AirlineOps adopts).
日本語の概要は準備中です。原文の説明を表示しています。
Use to file a GitHub issue when a finding needs its own work order or the operator asks; OBPI corrections stay in its change log.
日本語の概要は準備中です。原文の説明を表示しています。
Use to do the work a GHI describes, verify it and close the issue with evidence in one sweep.
日本語の概要は準備中です。原文の説明を表示しています。
Use to triage the open GHI queue before planning or choosing what to pull; produces a ranked deliverable.
日本語の概要は準備中です。原文の説明を表示しています。
Run the guarded repository sync ritual; commit-time hooks enforce the cheap gates and the pre-push hook runs gz check.
日本語の概要は準備中です。原文の説明を表示しています。
Run the guarded repository sync ritual; the hooks your pre-commit config declares enforce the quality gates.
日本語の概要は準備中です。原文の説明を表示しています。