docs-updater

shiiman's avatarfrom shiiman

プロジェクトの CLAUDE.md を更新する。「CLAUDE.md を更新して」「ルールを追加」「プロジェクトルールを変更」「Claude のルール」「AI ドキュメント更新」「CLAUDE.md に追記」「ルールを編集」などで起動。プロジェクト固有のルールやガイドラインを管理。

⭐0stars🔀0forks📁View on GitHub🕐Updated Jan 3, 2026⬇️1downloads

When & Why to Use This Skill

The Docs Updater skill is designed to automate the maintenance of CLAUDE.md files, which serve as the primary source of truth for project-specific rules and AI instructions. By streamlining the process of adding, editing, and organizing project guidelines, this skill ensures that Claude remains perfectly aligned with your coding standards, tech stack, and workflow requirements, significantly enhancing the accuracy of AI-assisted development.

Use Cases

  • Standardizing Coding Conventions: Automatically update CLAUDE.md with specific linting rules, naming conventions, and architectural patterns to ensure the AI generates consistent code.
  • Project Context Initialization: Quickly generate a structured project overview and technical stack description for new repositories to provide immediate context for the AI agent.
  • Enforcing Commit Protocols: Define and maintain rules for commit messages (e.g., Conventional Commits) so the AI follows the correct version control practices.
  • Managing Safety and Prohibitions: Update the 'Prohibitions' section to prevent the AI from using deprecated libraries, insecure patterns, or restricted APIs within a specific project.
namedocs-updater
descriptionプロジェクトの CLAUDE.md を更新する。「CLAUDE.md を更新して」「ルールを追加」「プロジェクトルールを変更」「Claude のルール」「AI ドキュメント更新」「CLAUDE.md に追記」「ルールを編集」などで起動。プロジェクト固有のルールやガイドラインを管理。
allowed-tools[Read, Write, Bash, Glob]

Docs Updater

プロジェクトの CLAUDE.md を更新します。

ワークフロー

1. 現在の内容を確認

CLAUDE.md が存在するか確認し、存在すれば内容を読み込む。

2. 変更内容を確認

ユーザーに何を変更したいか確認:

  • 新しいルールの追加
  • 既存ルールの編集
  • セクションの追加
  • プロジェクト概要の更新

3. ドキュメントを更新

CLAUDE.md を更新または作成。

4. 結果を報告

変更内容をユーザーに報告。

CLAUDE.md の構造

一般的な CLAUDE.md の構造:

# CLAUDE.md

このプロジェクトで Claude が従うべきルール。

## プロジェクト概要

プロジェクトの説明。

## コーディング規約

- ルール 1
- ルール 2

## コミットメッセージ

Conventional Commits 形式を使用:
- feat: 新機能
- fix: バグ修正
- docs: ドキュメント

## 禁止事項

- やってはいけないこと

追加できるセクション例

  • プロジェクト概要: プロジェクトの説明
  • 技術スタック: 使用技術一覧
  • コーディング規約: コードスタイルルール
  • コミットメッセージ: コミット形式
  • テスト: テスト方針
  • 禁止事項: やってはいけないこと
  • 参考資料: 関連ドキュメントへのリンク

重要な注意事項

  • ✅ 既存の内容を保持しながら更新
  • ✅ Markdown の形式を正しく維持
  • ✅ セクションを論理的に整理
  • ❌ 既存のルールを無断で削除しない