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

docs-workflow文档工作流程

Agent Skill

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

总安装

9,210

周安装

369

GitHub Stars

750

下载量

2,982
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/jezweb/claude-skills --skill docs-workflow

简介

四个斜杠命令,用于使用智能模板创建、维护和审核项目文档。

  • 提供 /docs-init
  • 为新项目搭建 CLAUDE.md、README.md 和文档/结构,并自动检测项目类型(Cloudflare Workers、Next.js 或通用)
  • 包括 /docs-update
  • 进行完整的文档审核,涵盖日期新鲜度、版本准确性、损坏的链接、冗余和孤立文件
  • 优惠 /docs-claude
  • 用于集中 CLAUDE.md 维护、检查技术堆栈对齐、文件引用、部分新鲜度和关键规则
  • 从 wrangler.jsonc、next.config.js、package.json 依赖项和数据库/身份验证配置中自动检测项目类型以选择适当的模板

SKILL.md

docs-workflow

Last Updated: 2026-01-11 Purpose: Manage project documentation throughout its lifecycle


Overview

This skill helps you:

  • Initialize documentation for new projects (CLAUDE.md, README.md, docs/)
  • Maintain CLAUDE.md to match actual project state
  • Audit all docs for staleness, broken links, outdated versions

Commands

CommandPurpose
/docsMain entry - shows available subcommands
/docs-initCreate CLAUDE.md + README.md + docs/ structure
/docs-updateAudit and maintain all documentation
/docs-claudeSmart CLAUDE.md maintenance only

Quick Start

New Project

# In a new project directory
/docs-init

This will:

  1. Detect project type (Cloudflare Workers, Next.js, generic)
  2. Create CLAUDE.md from appropriate template
  3. Create README.md if missing
  4. Optionally scaffold docs/ directory

Existing Project

# Audit all documentation
/docs-update

# Or just maintain CLAUDE.md
/docs-claude

What Gets Created

CLAUDE.md

Project-specific context for Claude Code, including:

  • Project overview and tech stack
  • Development setup commands
  • Architecture overview
  • Key file locations
  • Common tasks and workflows

Templates available:

  • CLAUDE-cloudflare.md - Cloudflare Workers + Vite + D1 projects
  • CLAUDE-nextjs.md - Next.js App Router projects
  • CLAUDE-generic.md - Any other project type

README.md

Standard README with:

  • Project name and description
  • Installation/setup instructions
  • Usage examples
  • Configuration
  • Contributing guidelines

docs/ Directory (Optional)

Scaffolded documentation structure:

  • docs/ARCHITECTURE.md - System architecture
  • docs/API.md - API documentation
  • docs/DATABASE.md - Database schema

Smart Maintenance

/docs-claude Features

The CLAUDE.md maintenance command checks:

  1. Tech Stack Match

- Does CLAUDE.md list technologies that match package.json? - Are versions mentioned still accurate?

  1. Referenced Files

- Do paths mentioned in CLAUDE.md still exist? - Are there new important files not mentioned?

  1. Section Freshness

- Is "Last Updated" date recent? - Are there outdated patterns or commands?

  1. Critical Rules

- For detected tech stack, are important rules present? - E.g., Cloudflare project should mention wrangler.jsonc patterns

/docs-update Features

Full documentation audit including:

  1. Date Freshness

- Compare doc dates against git history - Flag docs not updated in >30 days

  1. Version References

- Check npm package versions mentioned - Suggest updates for outdated versions

  1. Broken Links

- Verify internal markdown links - Check that referenced files exist

  1. Redundancy

- Identify duplicate content across files - Suggest consolidation

  1. Orphaned Files

- Find docs not referenced anywhere - Suggest archiving or deletion


Project Type Detection

The skill auto-detects project type by looking for:

IndicatorProject Type
wrangler.jsonc or wrangler.tomlCloudflare Workers
next.config.js or next.config.tsNext.js
NeitherGeneric

Additional indicators influence template content:

  • package.json dependencies (React, Vite, etc.)
  • Database config files (drizzle.config.ts, prisma/schema.prisma)
  • Auth config (clerk, better-auth)

Integration with Other Skills

  • project-workflow: Use /docs-init after /plan-project to add documentation
  • project-planning: Generated IMPLEMENTATION_PHASES.md referenced in CLAUDE.md
  • cloudflare-worker-base: Cloudflare template includes Workers-specific patterns

Best Practices

When to Run Each Command

SituationCommand
New project/docs-init
After major changes/docs-claude
Before release/docs-update
Monthly maintenance/docs-update

CLAUDE.md Guidelines

  1. Keep it current - Update "Last Updated" when making changes
  2. Focus on project-specific - Don't duplicate generic tech docs
  3. Include common tasks - Commands you run frequently
  4. Reference, don't duplicate - Link to docs/ for detailed content

Templates

Templates are located in templates/ within this skill:

templates/
├── CLAUDE-cloudflare.md    # Cloudflare Workers projects
├── CLAUDE-nextjs.md        # Next.js projects
├── CLAUDE-generic.md       # Generic projects
└── README-template.md      # Standard README

Templates use placeholders:

  • {{PROJECT_NAME}} - Detected from package.json or folder name
  • {{DATE}} - Current date
  • {{TECH_STACK}} - Detected technologies

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

能力 5

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

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

平台分布

Claude Code

29.29%
按下载量换算873

Cursor

24.56%
按下载量换算732

Gemini CLI

18.69%
按下载量换算557

Antigravity

13.62%
按下载量换算406

OpenCode

8.98%
按下载量换算268

Codex

3.42%
按下载量换算102

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills