docs-workflow by jezweb/claude-skills
npx skills add https://github.com/jezweb/claude-skills --skill docs-workflow最后更新 : 2026-01-11 目的 : 管理项目在整个生命周期中的文档
此技能帮助您:
| 命令 | 用途 |
|---|---|
/docs | 主入口 - 显示可用的子命令 |
/docs-init | 创建 CLAUDE.md + README.md + docs/ 结构 |
/docs-update | 审计和维护所有文档 |
/docs-claude |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 仅智能维护 CLAUDE.md |
# 在新项目目录中
/docs-init
这将:
# 审计所有文档
/docs-update
# 或仅维护 CLAUDE.md
/docs-claude
为 Claude Code 提供的项目特定上下文,包括:
可用模板:
CLAUDE-cloudflare.md - Cloudflare Workers + Vite + D1 项目CLAUDE-nextjs.md - Next.js App Router 项目CLAUDE-generic.md - 任何其他项目类型标准 README,包含:
搭建的文档结构:
docs/ARCHITECTURE.md - 系统架构docs/API.md - API 文档docs/DATABASE.md - 数据库模式CLAUDE.md 维护命令检查:
完整的文档审计,包括:
此技能通过查找以下内容自动检测项目类型:
| 指示器 | 项目类型 |
|---|---|
wrangler.jsonc 或 wrangler.toml | Cloudflare Workers |
next.config.js 或 next.config.ts | Next.js |
| 两者皆无 | 通用类型 |
其他指示器会影响模板内容:
package.json 依赖项(React、Vite 等)/plan-project 之后使用 /docs-init 来添加文档IMPLEMENTATION_PHASES.md 在 CLAUDE.md 中被引用| 情况 | 命令 |
|---|---|
| 新项目 | /docs-init |
| 重大变更后 | /docs-claude |
| 发布前 | /docs-update |
| 月度维护 | /docs-update |
模板位于此技能的 templates/ 目录中:
templates/
├── CLAUDE-cloudflare.md # Cloudflare Workers 项目
├── CLAUDE-nextjs.md # Next.js 项目
├── CLAUDE-generic.md # 通用项目
└── README-template.md # 标准 README
模板使用占位符:
{{PROJECT_NAME}} - 从 package.json 或文件夹名检测{{DATE}} - 当前日期{{TECH_STACK}} - 检测到的技术每周安装次数
364
仓库
GitHub 星标数
643
首次出现
2026 年 1 月 20 日
安全审计
安装于
claude-code297
opencode242
gemini-cli241
cursor226
codex216
antigravity213
Last Updated : 2026-01-11 Purpose : Manage project documentation throughout its lifecycle
This skill helps you:
| Command | Purpose |
|---|---|
/docs | Main entry - shows available subcommands |
/docs-init | Create CLAUDE.md + README.md + docs/ structure |
/docs-update | Audit and maintain all documentation |
/docs-claude | Smart CLAUDE.md maintenance only |
# In a new project directory
/docs-init
This will:
# Audit all documentation
/docs-update
# Or just maintain CLAUDE.md
/docs-claude
Project-specific context for Claude Code, including:
Templates available:
CLAUDE-cloudflare.md - Cloudflare Workers + Vite + D1 projectsCLAUDE-nextjs.md - Next.js App Router projectsCLAUDE-generic.md - Any other project typeStandard README with:
Scaffolded documentation structure:
docs/ARCHITECTURE.md - System architecturedocs/API.md - API documentationdocs/DATABASE.md - Database schemaThe CLAUDE.md maintenance command checks:
Tech Stack Match
Referenced Files
Section Freshness
Critical Rules
Full documentation audit including:
Date Freshness
Version References
Broken Links
Redundancy
Orphaned Files
The skill auto-detects project type by looking for:
| Indicator | Project Type |
|---|---|
wrangler.jsonc or wrangler.toml | Cloudflare Workers |
next.config.js or next.config.ts | Next.js |
| Neither | Generic |
Additional indicators influence template content:
package.json dependencies (React, Vite, etc.)/docs-init after /plan-project to add documentationIMPLEMENTATION_PHASES.md referenced in CLAUDE.md| Situation | Command |
|---|---|
| New project | /docs-init |
| After major changes | /docs-claude |
| Before release | /docs-update |
| Monthly maintenance | /docs-update |
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 technologiesWeekly Installs
364
Repository
GitHub Stars
643
First Seen
Jan 20, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
claude-code297
opencode242
gemini-cli241
cursor226
codex216
antigravity213
通过 LiteLLM 代理让 Claude Code 对接 GitHub Copilot 运行 | 高级变通方案指南
22,200 周安装