Skip to content
AI & Agents
Command

/update-docs

从唯一数据源同步文档:

BOOST
From plugin
ai-max
33610 skills9 agents10 commands
Install
$ npx -y skills add zhukunpenglinyutong/ai-max --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/update-docs

Context preview

What this command does when you run it.

从唯一数据源同步文档:

Command definition

update-docs.md

更新文档

从唯一数据源同步文档:

1. 读取 package.json 的 scripts 部分

  • 生成脚本参考表
  • 包含注释中的描述

2. 读取 .env.example

  • 提取所有环境变量
  • 记录用途和格式

3. 生成 docs/CONTRIB.md,包含:

  • 开发工作流程
  • 可用脚本
  • 环境设置
  • 测试流程

4. 生成 docs/RUNBOOK.md,包含:

  • 部署流程
  • 监控和告警
  • 常见问题及修复方法
  • 回滚流程

5. 识别过时文档:

  • 查找超过 90 天未修改的文档
  • 列出供人工审查

6. 显示差异摘要

唯一数据源:package.json 和 .env.example

Ships withai-max

这是基于 everything-claude-code 进行二次开发,提供npm一键安装方式,协议沿用MIT Claude Code 增强配置,开箱即用。 本仓库包含生产级 agents(代理)、skills(技能)、hooks(钩子)、commands(命令)、rules(规则)和 MCP 配置,帮助你快速提升 Claude Code 的使用体验。

Get the whole plugin

Other commands on ai-max.