skills/project-wiki/SKILL.md
根据现有代码仓库,递归分析项目结构和代码内容,生成 DeepWiki 风格的完整项目文档。支持三种模式:新项目规划、完整生成、同步/刷新。
npx skillsauth add chaitin/monkeycodeofficialplugins project-wikiInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
根据现有代码仓库,递归分析,尽可能细致地理解其项目结构、代码结构、代码内容,帮助用户生成 DeepWiki 风格的完整项目文档。
自动检测运行模式,按以下顺序判断:
检查 Git Submodules
.gitmodules 文件是否存在git submodule update --init --recursive --depth 1新项目规划模式
同步/刷新模式
{{workspace}}/.monkeycode/docs/ARCHITECTURE.md完整生成模式(默认)
1. 检测运行模式
├── 检查 .gitmodules → 拉取 submodules
├── 项目为空? → 新项目规划模式
├── 存在 ARCHITECTURE.md? → 同步模式
└── 否则 → 完整生成模式
2. 执行对应工作流
├── 新项目规划:交互式问答收集需求 → 生成文档
├── 完整生成:分析仓库 → 创建文档结构 → 填充内容
└── 同步/刷新:检测变更 → 增量更新
3. 提交文档
├── git commit
├── git push
└── 向用户确认并收集反馈
生成的文档结构:
{{workspace}}/.monkeycode/docs/
├── INDEX.md # 文档索引
├── ARCHITECTURE.md # 系统架构文档
├── INTERFACES.md # 接口文档
├── DEVELOPER_GUIDE.md # 开发者指南
├── 专有概念/ # 核心概念页面
│ ├── [Concept1].md
│ └── [Concept2].md
└── 模块/ # 模块 README
├── [Module1].md
└── [Module2].md
源代码只读:
{{workspace}}/.monkeycode/docs/(如果存在现有约定则遵循)禁止臆造:
禁止泄露密钥:
<API_KEY>文档模板参考 templates.md
{{workspace}}/.monkeycode/docs/ 而不是子项目目录tools
Tailwind CSS 工具类参考和文档助手。提供 Tailwind CSS 文档的快速访问,用于查找工具类、理解 CSS 属性和查找代码示例。当 Claude 需要使用 Tailwind CSS 时使用此技能:(1)查找特定的工具类及其效果(2)理解如何在 Tailwind 中实现特定的 CSS 属性(3)查找布局、排版、颜色、间距等方面的代码示例和最佳实践(4)学习响应式设计模式、深色模式、悬停状态和其他变体
development
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes
development
Use when executing implementation plans with independent tasks in the current session
tools
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.