Use to mine ../airlineops for governance habits gzkit lacks; produces a parity scan report (gzkit leads, AirlineOps adopts).
日本語の概要は準備中です。原文の説明を表示しています。
Use when the operator asks for an authoring-time complexity hint or a complexity guide preview before commit.
インストールする前に、エージェントに与えられる指示の中身を確認できます。
Run gz complexity guide, the authoring-time hint surface of the
complexity-doctrine cluster (ADR-0.0.27 corpus, 0.0.28 thresholds, 0.0.29
advisor, 0.0.30 authoring guidance). It measures per-function radon_cc and
reports only the functions in the advise band of
.gzkit/rules/complexity-thresholds.json, the band below warn, so a refactor
decision lands while the code is being written. It never blocks: it exits 0
whatever it finds, and exits 1 only on a user error such as a missing path.
This skill ends at the hints. It does not refactor.
The guide is the first-stop authoring surface for complexity hints:
warn.A function already at warn or block produces no hint here; use
gz-complexity-advisor for it.
uv run gz complexity guide src/gzkit/commands/validate_cmd.py
uv run gz complexity guide src/gzkit/ --json
A path is required unless --server is given. --server starts a
JSON-over-stdio server for editors (Content-Length framing; initialize,
analyze with a file_path, shutdown), whose envelope is
src/gzkit/schemas/authoring_guide_protocol.json.
Declared form: in-line hint prose (default human-readable). Each hint is a
block headed ── <file>:<start>-<end> ── with four lines:
approaching, or approaching_warn in the upper half of the
advise bandThe line range is the diagnosed function's full span. No archetype rule in
data/advisor_archetype_rules.json covers the advise band, so every hint's
archetype is unclassified, and its guidance and move are the metric's general
ones.
Machine-readable mode: --json emits an array of AuthoringHint objects
with metric, precedence_band, crossing_value, archetype,
doctrinal_frame_headline, recommended_move, file_path, start_line and
end_line.
| Surface | Skill | Bands reported | Blocks? |
|---|---|---|---|
| Authoring-time hints | gz-complexity-guide (this skill) | advise | Never |
| Trigger-time diagnosis | gz-complexity-advisor | advise, warn, block | Exits 3 on block |
Both are run by hand in this repository; the advisor's auto-chain pre-commit hook is not installed.
.gzkit/skills/gz-complexity-advisor/SKILL.md (ADR-0.0.29)docs/user/manpages/complexity-guide.mddocs/user/runbook.md § Governance Doctrine Surfacesdocs/design/adr/foundation/ADR-0.0.30-complexity-authoring-guidance/.gzkit/rules/complexity-thresholds.json (ADR-0.0.28)まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
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.
日本語の概要は準備中です。原文の説明を表示しています。