agentleFS
apokamoapokamo/kaji/.claude/skills/i-doc-verify/SKILL.md

i-doc-verify

Skill16 starsChanged 2 days agoApache-2.0View on GitHub

docs review の指摘が適切に修正されたかを確認する。新規指摘は行わない。

The file

Files
SKILL.md

I Doc Verify

重要: このスキルは更新/修正を行ったセッションとは別のセッションで実行することを推奨します。

docs 修正後の確認を行う。 新規指摘は行わず、前回レビューの指摘が解消したかのみ確認する。

いつ使うか

タイミングこのスキルを使用
i-doc-fix 後の確認✅ 必須

ワークフロー内の位置: review-doc → fix-doc → verify-doc → i-doc-final-check → i-pr

入力

ハーネス経由(コンテキスト変数)

変数型説明
issue_idstr正規化済み Issue ID(GitHub 数値)
issue_refstr人間可読の Issue 参照(GitHub では #<issue_id>)
step_idstr現在のステップ ID
cycle_countint現在のイテレーション
max_iterationsint上限回数
previous_verdictstr前ステップの verdict

手動実行(スラッシュコマンド)

$ARGUMENTS = <issue_id>

解決ルール

コンテキスト変数 issue_id が存在すればそちらを使用。 なければ $ARGUMENTS の第1引数を issue_id として使用。

issue_ref はハーネス経由ではプロンプトに自動注入される(prompt.py 側で provider 別に整形)。手動実行時は issue_id から #<issue_id> を導出する。

前提知識の読み込み

  1. docs/dev/documentation_update_criteria.md
  2. docs/dev/shared_skill_rules.md

実行手順

  1. 前回の i-doc-review / i-doc-fix コメントを確認
  2. 指摘事項ごとに OK / NG を判定
  3. 必要最小限で根拠となる実装 / docs / workflow / AGENTS.md / CLAUDE.md を再確認
  4. 変更ファイルに絞ったリンクチェック結果を確認:
    cd [worktree_dir] && python3 scripts/check_doc_links.py [changed-markdown-files...]
  5. 新規発見事項があっても今回の判定には含めない
  6. 結果を Issue にコメント

    verdict マーカーの無条件付与(必須): 判定コメントには 常に --verdict-step doc-verify --verdict-status <STATUS> を付ける。<STATUS> は本 skill が「Verdict 出力」で返す status(PASS / RETRY / ABORT)に置き換える。CLI が body 1 行目に <!-- kaji-verdict: step=doc-verify status=<STATUS> --> を付け、kaji issue resolve-verdict --step doc-verify と runner の comment fallback はこの marker で発行元 step を特定する。PASS でも省略しない(条件付きの付与は禁止。docs/dev/shared_skill_rules.md § verdict マーカー契約)。投稿前に判定を確定してから status を決める。末尾の ---VERDICT--- ブロックの status も <STATUS> と同じ値にする。

    kaji issue comment [issue_id] --commit \
      --verdict-step doc-verify --verdict-status <STATUS> \
      --body-file - <<'EOF'
    # docs 修正確認結果
    
    ## 修正項目の確認
    
    | 指摘項目 | 状態 | 理由・根拠 |
    |----------|------|------------|
    | [指摘項目] | ✅ OK / ❌ NG | (確認した根拠) |
    
    ## リンクチェック結果
    
    (手順 4 の `check_doc_links.py` の出力)
    
    ## 新規発見事項(参考情報。判定には含めない)
    
    - (なければ「なし」)
    
    ---VERDICT---
    status: <STATUS>
    reason: |
      (判定理由)
    evidence: |
      (具体的根拠)
    suggestion: |
      (次のアクション)
    ---END_VERDICT---
    EOF

Verdict 出力

---VERDICT---
status: PASS
reason: |
  前回の docs review 指摘は適切に修正されている
evidence: |
  Must Fix 項目の解消を確認した。新規指摘は判定に含めていない
suggestion: |
---END_VERDICT---

status の選択基準

status条件
PASS前回指摘が解消
RETRY修正不足
ABORT継続が危険

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.