Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计通过

update-claude-documentationupdate Claude 文档

Agent Skill

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。它适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。

总安装

324

周安装

13

GitHub Stars

11

下载量

105
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:update-claude-documentation(update Claude 文档)
来源仓库:https://github.com/peterbamuhigire/skills-web-dev
仓库路径:skills/update-claude-documentation
安装命令:
npx skills add https://github.com/peterbamuhigire/skills-web-dev --skill update-claude-documentation
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/peterbamuhigire/skills-web-dev --skill update-claude-documentation

简介

辅助文档、README 和 Markdown 文件的整理与自动化更新。

  • 适合需要统一术语、补齐章节或同步代码变更的文档维护任务。
  • 基于流程驱动:理解需求→映射结构→阅读原文→更新内容→验证示例。
  • 使用前请保留项目原有事实和路径,避免将推测写成确定结论。
  • 涉及对外文案时应控制语气,防止过度营销或夸大能力描述。

SKILL.md

Platform Notes

  • Optional helper plugins may help in some environments, but they must not be treated as required for this skill.

Update Claude Documentation

Use When

  • Update project documentation files (README.md, PROJECT_BRIEF.md, TECH_STACK.md, ARCHITECTURE.md, docs/API.md, docs/DATABASE.md, CLAUDE.md, docs/plans/NEXT_FEATURES.md) when significant changes occur. MANDATORY at end of each work session to...
  • The task needs reusable judgment, domain constraints, or a proven workflow rather than ad hoc advice.

Do Not Use When

  • The task is unrelated to update-claude-documentation or would be better handled by a more specific companion skill.
  • The request only needs a trivial answer and none of this skill's constraints or references materially help.

Required Inputs

  • Gather relevant project context, constraints, and the concrete problem to solve; load references only as needed.
  • Confirm the desired deliverable: design, code, review, migration plan, audit, or documentation.

Workflow

  • Read this SKILL.md first, then load only the referenced deep-dive files that are necessary for the task.
  • Apply the ordered guidance, checklists, and decision rules in this skill instead of cherry-picking isolated snippets.
  • Produce the deliverable with assumptions, risks, and follow-up work made explicit when they matter.

Quality Standards

  • Keep outputs execution-oriented, concise, and aligned with the repository's baseline engineering standards.
  • Preserve compatibility with existing project conventions unless the skill explicitly requires a stronger standard.
  • Prefer deterministic, reviewable steps over vague advice or tool-specific magic.

Anti-Patterns

  • Treating examples as copy-paste truth without checking fit, constraints, or failure modes.
  • Loading every reference file by default instead of using progressive disclosure.

Outputs

  • A concrete result that fits the task: implementation guidance, review findings, architecture decisions, templates, or generated artifacts.
  • Clear assumptions, tradeoffs, or unresolved gaps when the task cannot be completed from available context alone.
  • References used, companion skills, or follow-up actions when they materially improve execution.

Evidence Produced

CategoryArtifactFormatExample
Release evidenceDocumentation update recordMarkdown doc tracking changes made to README.md, PROJECT_BRIEF.md, TECH_STACK.md, ARCHITECTURE.md, docs/API.md, and docs/DATABASE.mddocs/updates/doc-update-2026-04-16.md

References

  • Use the references/ directory for deep detail after reading the core workflow below.

Update project documentation systematically after significant changes. Keep all files consistent and accurate.

Core Principle: Documentation tells one cohesive story. Each file serves a specific audience but must reflect the same reality.

Deployment Context: Project runs across Windows dev, Ubuntu staging, and Debian production (all MySQL 8.x). Documentation must reflect this 3-environment setup. When updating CLAUDE.md or TECH_STACK.md, always include the deployment environment table and cross-platform rules.

Style Rule: Be precise and concise. Do not add verbose or unnecessary text to any documentation file.

Documentation Standards (MANDATORY): ALL markdown files (.md) must follow strict formatting rules:

  • 500-line hard limit - no exceptions
  • Two-tier structure: High-level TOC docs + Deep dive topic docs
  • Smart subdirectory grouping for related documentation
  • See doc-standards.md for complete requirements

Modularize Instructions (Token Economy): Avoid packing everything into a single CLAUDE.md. Prefer multiple focused docs (e.g., docs/setup.md, docs/api.md, docs/workflows.md) and reference them only when needed to reduce context bloat.

CLAUDE.md as Navigation Hub (CRITICAL): Keep CLAUDE.md under 10k characters as a quick-reference hub with links to detailed documentation. Move verbose sections (detailed workflows, extensive examples, module-specific guides) to appropriate docs/ subdirectories. CLAUDE.md should provide essential patterns and pointers, not duplicate comprehensive content that exists elsewhere. This reduces AI context window usage by 80%+ and makes information easier to maintain.

Docs Organization Rule (Required): All documentation markdown now lives under docs/ plus a semantic subdirectory (overview, architecture, pharmacy, localization, etc.). Do not add new files directly to the repo root—move existing root markdown into the appropriate docs/<module> folder before editing, then update docs/agents/AGENTS.md and always update docs/plans/AGENTS.md when plans are added or their status changes. The canonical landing doc is now docs/overview/README.md, and the root README.md should only point people into docs/.

Claude-Ready Module Headers (Required): Updating documentation now includes refreshing CLAUDE.md and the hero portion of each touched skill (*/SKILL.md). Claude relies on the YAML name/description pair and the opening markdown (hero title, quick summary, when-to-use bullets) for each skill, so keep that block aligned with the module-header template in references/module-header-template.md. The template spells out the claude-friendly structure with a checklist for ensuring the front-matter description triggers the right use cases and the leading sections stay concise yet informative.

When to Use

✅ Adding/removing features ✅ Architecture or design pattern changes ✅ Dependency or tech stack updates ✅ API endpoints or database schema changes ✅ Project directory restructuring ✅ Development workflow changes ✅ End of work session - User says "update project documentation", "update docs", or "close for the day"

❌ Typo fixes (do directly) ❌ Code comments ❌ WIP features not yet merged

End-of-Session Documentation (CRITICAL)

When user says "update project documentation", "update docs", or "close for the day":

MANDATORY Steps:

  1. Create completion document - docs/plans/YYYY-MM-DD-[feature-name]-completion.md

- Detailed technical report - All features and bug fixes - Code examples and patterns - Key learnings

  1. Update docs/plans/INDEX.md

- Move completed work to "Completed Plans" - Add completion date - Update status

  1. Update docs/plans/NEXT_FEATURES.md (MANDATORY)

- Mark completed features in "Recently Completed" - Update priority levels - Adjust effort estimates - Update recommended next steps

  1. Update MEMORY.md

- Critical patterns discovered - Common mistakes to avoid - API response structures - Key file references

  1. Create end-of-day summary (Optional but recommended)

- docs/YYYY-MM-DD-END-OF-DAY-SUMMARY.md - Quick reference for accomplishments - Next session priorities

This workflow ensures:

  • Continuity between sessions
  • Knowledge preservation
  • Clear priorities for next session
  • Reduced context loss

Documentation Files

FileAudiencePurposeUpdate Frequency
PROJECT_BRIEF.mdStakeholders, new devs30-sec overviewMajor changes
README.mdDevelopersSetup, usage guideFeature additions
TECH_STACK.mdDevelopers, DevOpsTech inventoryStack changes
ARCHITECTURE.mdSenior devs, architectsSystem designArchitecture changes
docs/API.mdAPI consumersAPI referenceAPI changes
docs/DATABASE.mdBackend devs, DBAsSchema docsSchema changes
CLAUDE.mdClaude CodeDev patternsPattern changes
docs/plans/NEXT_FEATURES.mdTeam, Claude CodePriority roadmapEvery session
docs/plans/INDEX.mdTeam, Claude CodePlans indexPlan status changes
MEMORY.mdClaude CodeSession memory, learningsEnd of each session

Change → File Mapping

New Feature:

  • README.md (usage)
  • docs/API.md (if adds endpoints)
  • docs/DATABASE.md (if adds tables)
  • ARCHITECTURE.md (if adds components)
  • CLAUDE.md (if changes patterns)
  • PROJECT_BRIEF.md (if significant)
  • docs/plans/NEXT_FEATURES.md (MANDATORY - mark as completed, update priorities)
  • docs/plans/INDEX.md (update status)
  • MEMORY.md (capture key learnings)
  • Each affected */SKILL.md front-matter and hero section should follow the module-header template above so Claude sees the change immediately and can re-trigger the skill with the new context.

Tech Stack Change:

  • TECH_STACK.md (always)
  • README.md (setup instructions)
  • ARCHITECTURE.md (if affects design)
  • CLAUDE.md (if affects workflows)

Architecture Change:

  • ARCHITECTURE.md (always)
  • README.md (overview section)
  • CLAUDE.md (patterns)
  • PROJECT_BRIEF.md (if major)

API/Database Change:

  • docs/API.md or docs/DATABASE.md (always)
  • ARCHITECTURE.md (if changes contracts)
  • CLAUDE.md (if affects patterns)
  • README.md (if affects usage)

Update Workflow

1. Understand Change (2-5 min)

Document:

  • Type: Feature/Architecture/Tech Stack/API/Database
  • What: One sentence description
  • Impact: Who/what affected
  • Breaking: Yes/No (what breaks)

2. Map to Files (1-2 min)

Order: Specific → General

  1. Technical Specs (API.md, DATABASE.md)
  2. Architecture (ARCHITECTURE.md, TECH_STACK.md)
  3. AI Instructions (CLAUDE.md)
  4. User Guides (README.md)
  5. Overview (PROJECT_BRIEF.md)
  6. Priority Roadmap (docs/plans/NEXT_FEATURES.md) - MANDATORY every session

3. Read Current State (2-3 min)

Read all affected files in parallel.

3.a. Review Module Headers (1-2 min)

Open every impacted */SKILL.md and verify the hero name/description plus the opening sections line up with the Claude-friendly template. Capture the new feature/behavior in the quick summary and ## When to Use bullets before editing the downstream docs.

4. Update Systematically (10-20 min)

Per-file checklist:

  • Update primary section
  • Update related sections
  • Update examples/code snippets
  • Add migration notes if breaking

5. Verify Consistency (2-3 min)

Check across all files:

  • Terminology consistent
  • Version numbers match
  • File paths consistent
  • Component names consistent
  • Features described consistently

6. Update NEXT_FEATURES.md (MANDATORY - 5 min)

CRITICAL: This MUST be done at the end of every work session, even if no other docs changed.

When user says "update project documentation" or "close for the day":

  1. Mark completed work:

- Move completed features from "Active" to "Recently Completed" - Add completion date - Add brief summary of what was delivered

  1. Update priorities:

- Adjust priority levels based on new information - Add newly identified features - Remove obsolete features

  1. Update effort estimates:

- Revise estimates based on recent work velocity - Add new estimates for newly identified work

  1. Update recommended next steps:

- Reflect current project state - Consider dependencies and urgency - Update "Recommended Next Session Plan"

Template structure:

## 🔴 CRITICAL PRIORITY
[Feature name] - Why critical, effort estimate, start point

## 🟠 HIGH PRIORITY
[Feature name] - Why high priority, effort estimate, start point

## 🟡 MEDIUM PRIORITY
[Feature name] - Why medium priority, effort estimate, start point

## ✅ Recently Completed
[Feature name] - Completion date, brief summary

Location: docs/plans/NEXT_FEATURES.md

7. Final Review (1 min)

  • New dev can understand from README
  • CLAUDE.md has context
  • Breaking changes marked
  • Examples work
  • No contradictions
  • NEXT_FEATURES.md updated with session changes

Total: 20-35 minutes (includes NEXT_FEATURES.md update)

Common Mistakes

Updating only one file

# Updated README but forgot CLAUDE.md

# Result: AI doesn't know new pattern

Inconsistent terminology

# README.md: "Authentication Service"

# ARCHITECTURE.md: "Auth Module"

# CLAUDE.md: "Login System"

# Pick ONE term everywhere

Forgetting breaking changes

# Renamed API endpoint but README examples still use old path

# Add migration notes EVERYWHERE affected

General → Specific order

# BAD: Update BRIEF first, then API.md

# GOOD: Update API.md first (precise), then BRIEF (summary)

Bloated CLAUDE.md with duplicate content

# BAD: 40k+ character CLAUDE.md with detailed implementation guides

# GOOD: 6k character CLAUDE.md hub linking to docs/coding/UI_DEVELOPMENT_GUIDE.md

# Result: 84% reduction in AI context usage, easier maintenance

Quick Reference

Update Order:

API/DB Specs → Architecture → CLAUDE → README → BRIEF

Consistency Checks:

Terminology, Versions, Paths, Names, Features

Time Budget:

Small change: 5-10 min
Medium change: 15-30 min
Major refactor: 45-60 min

Summary

Process: Understand → Map → Read → Update → Verify → Review

Key Rules:

  1. Update specific docs first, general last
  2. Read all affected files before editing
  3. Keep terminology consistent
  4. Mark breaking changes everywhere
  5. Test examples before committing
  6. One reality, multiple perspectives

Remember: Documentation debt compounds fast. Update immediately when making changes.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.53%
按下载量换算38

Claude

29.77%
按下载量换算31

Cursor

18.15%
按下载量换算19

Gemini CLI

9.93%
按下载量换算10

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills