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

i-doc-fix

Skill16 starsChanged 2 days agoApache-2.0View on GitHub

docs review の指摘に対応し、ドキュメントのみを修正する。コードやテストは変更しない。

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    ワークフロー内の位置: update-doc → review-doc → fix-doc → verify-doc

    line 16

≈ “Common” is an estimate: at least 1 in 5 of the 364,980 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

I Doc Fix

docs review の指摘事項に対応する。このスキルでも コード、設定、テストは変更しない。

いつ使うか

タイミングこのスキルを使用
i-doc-review または i-doc-verify が RETRY のとき✅ 必須

ワークフロー内の位置: update-doc → review-doc → fix-doc → verify-doc

入力

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

変数型説明
issue_idstr正規化済み Issue ID(GitHub 数値)
issue_refstr人間可読の Issue 参照(GitHub では #<issue_id>)
step_idstr現在のステップ ID
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. previous_verdict または Issue コメントから最新レビュー結果を取得
  2. Must Fix を 1 件ずつ検討
  3. docs のみ修正
  4. 実装 / CLI / AGENTS.md / CLAUDE.md / 関連 docs との整合を再確認
  5. 修正対象ファイルに絞って以下を実行:
    cd [worktree_dir] && python3 scripts/check_doc_links.py [changed-markdown-files...]
  6. docs のみコミット
  7. 対応内容を Issue にコメント

    verdict マーカーの無条件付与(必須): 判定コメントには 常に --verdict-step doc-fix --verdict-status <STATUS> を付ける。<STATUS> は本 skill が「Verdict 出力」で返す status(PASS / ABORT)に置き換える。CLI が body 1 行目に <!-- kaji-verdict: step=doc-fix status=<STATUS> --> を付け、kaji issue resolve-verdict --step doc-fix と 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-fix --verdict-status <STATUS> \
      --body-file - <<'EOF'
    # docs レビュー指摘への対応報告
    
    ## 対応済み
    
    - **[指摘項目]**: (指摘内容の要約)
      - 修正: (どう修正したか。対象ファイル)
    
    ## 議論/見送り
    
    - **[指摘項目]**: (見送った理由と根拠。なければ「なし」)
    
    ## リンクチェック結果
    
    (手順 5 の `check_doc_links.py` の出力)
    
    ## 次のステップ
    
    `/i-doc-verify [issue_id]` で修正の確認をお願いします。
    
    ---VERDICT---
    status: <STATUS>
    reason: |
      (判定理由)
    evidence: |
      (具体的根拠)
    suggestion: |
      (次のアクション)
    ---END_VERDICT---
    EOF

Verdict 出力

---VERDICT---
status: PASS
reason: |
  docs review の指摘に対応した
evidence: |
  Must Fix 項目を修正し、関連する docs と実装の整合を再確認した
suggestion: |
---END_VERDICT---

status の選択基準

status条件
PASS修正完了
ABORTdocs 修正だけでは解決不能

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.