rootcause-mcp: Skill for Claude Code

.claude/skills/git-doc-updater/SKILL.md

git-doc-updater is a skill for Claude Code from u9401066/rootcause-mcp. It costs 0 tokens per session (898 once invoked), scanned A, a copy of git-doc-updater, Apache-2.0.

A Git documentation-checking skill that reviews key project documents before code is committed or pushed.

In plain words
What is it for?
Use it before commits, pushes, or releases to update files such as README.md, CHANGELOG.md, ROADMAP.md, architecture notes, and project memory files.
Why use it?
It helps keep documentation from falling out of sync with code changes and release progress.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions Codex.

This is u9401066/rootcause-mcp's own configuration. It tells Claude Code how to work on rootcause-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything rootcause-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to u9401066/rootcause-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/u9401066/rootcause-mcp/master/.claude/skills/git-doc-updater/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/u9401066/rootcause-mcp

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for git-doc-updater

README.md
[![agentmods](https://agentmods.dev/badge/skills/u9401066/rootcause-mcp/git-doc-updater.svg)](https://agentmods.dev/skills/u9401066/rootcause-mcp/git-doc-updater)
Your own site
<a href="https://agentmods.dev/skills/u9401066/rootcause-mcp/git-doc-updater"><img src="https://agentmods.dev/badge/skills/u9401066/rootcause-mcp/git-doc-updater.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 898 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00898
Opus 5 $0.00000 $0.00449
Sonnet 5 $0.00000 $0.00180
Haiku 4.5 $0.00000 $0.00090

Measured 5d ago against content hash 3013e40fbbac, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

git-doc-updater scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to git-doc-updater — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/skills/git-doc-updater/SKILL.md · 107 lines

What it actually says

Git 文檔自動更新技能

描述

在執行 Git commit 之前,自動檢查並更新專案的關鍵文檔,確保文檔與程式碼保持同步。

觸發條件

當用戶要求進行以下操作時啟用此技能:

  • Git commit
  • Git push
  • 提交程式碼
  • 準備發布

自動更新的文檔

1. README.md

  • 更新專案描述(如有變更)
  • 更新安裝/使用說明
  • 更新功能列表
  • 更新依賴項目

2. CHANGELOG.md

  • 根據本次變更添加新條目
  • 遵循 Keep a Changelog 格式
  • 分類為:Added, Changed, Deprecated, Removed, Fixed, Security
  • 包含日期和版本號(如適用)

3. ROADMAP.md

  • 標記已完成的功能項目
  • 更新進行中的項目狀態
  • 調整優先順序(如需要)

4. ARCHITECTURE.md (ARCH)

  • 更新架構圖和說明(如有結構性變更)
  • 更新組件關係
  • 更新技術決策記錄

5. Memory Bank 文件

更新 memory-bank/ 目錄下的相關文件:

  • activeContext.md - 當前工作焦點
  • progress.md - 進度追蹤(Done/Doing/Next)
  • decisionLog.md - 記錄重要決策
  • productContext.md - 專案上下文(如有變更)

執行流程

1. 分析本次程式碼變更內容
2. 識別哪些文檔需要更新
3. 依序更新各文檔
4. 顯示更新摘要供用戶確認
5. 將文檔變更加入 Git staging

更新原則

  • 最小變更:只更新與本次提交相關的內容
  • 保持一致性:維持現有文檔格式和風格
  • 自動摘要:從 commit 內容推斷變更摘要
  • 版本控制:CHANGELOG 使用語義化版本

範例輸出

當用戶說「準備 commit」時:

📝 文檔更新檢查:

✅ README.md - 無需更新
✅ CHANGELOG.md - 已添加 v1.2.0 條目
✅ ROADMAP.md - 已標記「用戶認證」為完成
⏭️ ARCHITECTURE.md - 無結構性變更,跳過
✅ memory-bank/progress.md - 已更新進度

準備提交以下文件變更...

自定義選項

用戶可以透過提示指定:

  • --skip-readme 跳過 README 更新
  • --skip-changelog 跳過 CHANGELOG 更新
  • --skip-memory 跳過 Memory Bank 更新
  • --dry-run 只顯示將要更新的內容,不實際修改
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 107 lines · 0 tokens per session scan A 3013e40fbbac

Subscribe to this mod's changes

git-doc-updater is a skill published in the GitHub repository u9401066/rootcause-mcp (0 stars, last pushed 3d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 898 tokens. A static security scan graded it A with 0 findings. It is 100% identical to git-doc-updater, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories