Token导航 LogoToken导航TokenDH.com
开发只读github未标认证来源可访问许可证需确认审计通过

doc-project文档项目

Agent Skill

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

总安装

695

周安装

34

GitHub Stars

公开资料未说明

下载量

280
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/molechowski/claude-skills --skill doc-project

简介

同步更新项目核心文档如 CLAUDE.md、README、CHANGELOG。

  • 分析代码库类型与插件配置以适配文档风格。
  • 批量处理多文件更新,减少重复操作成本。
  • 优先反映最近变更,保持文档时效性。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。
  • doc-project 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Project Documentation Sync

Update all project documentation files in one pass by delegating to specialized skills.

Workflow

1. Analyze codebase → 2. CLAUDE.md + AGENTS.md → 3. README.md → 4. SKILLS.md → 5. CHANGELOG.md → 6. Summary

1. Analyze Codebase

Before updating any docs, gather project state:

# Project type signals
ls package.json go.mod pyproject.toml Cargo.toml Dockerfile *.tf 2>/dev/null

# Current doc state
ls CLAUDE.md AGENTS.md README.md SKILLS.md 2>/dev/null

# Recent changes since docs were last updated
git log --oneline -20

# Plugin/skill count if marketplace repo
ls plugins/ 2>/dev/null | wc -l

2. CLAUDE.md + AGENTS.md

CRITICAL: Never manually edit the AGENTS.md directory tree. It uses non-breaking spaces (\xa0) from the tree command that the Edit tool cannot match. Always use the script — it regenerates the tree from scratch.

Run validate_docs.py --fix from the doc-claude-md skill:

python3 ~/.claude/skills/doc-claude-md/scripts/validate_docs.py --path <project> --fix

This handles:

  • Regenerating the directory tree (from tree command)
  • Validating CLAUDE.md (pointer file)
  • Checking AGENTS.md structure and codebase consistency
  • Updating last_validated timestamp

After the script runs, manually update any non-tree content in AGENTS.md (e.g., skill counts in prose, new naming conventions).

3. README.md

Delegate to doc-readme skill:

Skill(skill="doc-readme")

This handles:

  • Creating or updating README.md
  • Syncing with current codebase state (features, structure, install steps)

4. SKILLS.md

Delegate to doc-skills-md skill:

Skill(skill="doc-skills-md")

This handles:

  • Analyzing project to recommend relevant marketplace plugins
  • Creating or updating Required/Recommended tables
  • Updating plugin counts

Skip this step if the project does not use a plugin marketplace.

5. CHANGELOG.md

Delegate to doc-changelog skill:

Skill(skill="doc-changelog")

This handles:

  • Generating changelog entries from git history since last release/tag
  • Classifying commits by type (Added, Changed, Fixed, Removed)
  • Enriching entries with PR references
  • Updating the Unreleased section

Skip this step if the project does not maintain a CHANGELOG.md.

6. Summary

After all updates, report what changed:

## Documentation Updated

| File | Action | Changes |
|------|--------|---------|
| CLAUDE.md | Updated/Created/No change | ... |
| AGENTS.md | Updated/Created/No change | ... |
| README.md | Updated/Created/No change | ... |
| SKILLS.md | Updated/Created/Skipped | ... |
| CHANGELOG.md | Updated/Created/Skipped | ... |

Modes

Full Sync (default)

Update all five files. Use for initial setup or after major changes.

"Update all project docs"

Selective

Update only specified files. Name them explicitly.

"Update AGENTS.md and README.md"

Validate Only

Check docs without modifying. Report what's stale.

"Check if project docs are up to date"

For validate-only, read each file and compare against codebase state. Report discrepancies without editing.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

36.45%
按下载量换算102

Claude

28.11%
按下载量换算79

Cursor

16.29%
按下载量换算46

Gemini CLI

9.63%
按下载量换算27

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

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

来源信息

继续浏览同类 Skills