skills/check-claude-md/SKILL.md
检查本次对话的改动是否需要更新项目 CLAUDE.md。分析代码变更,识别新模式和约定,建议更新内容。
npx skillsauth add howell5/willhong-skills check-claude-mdInstall 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.
检查本次对话中的代码改动,判断是否需要更新项目的 CLAUDE.md。
这个 skill 帮助你在完成一次开发任务后,检查是否有值得记录到 CLAUDE.md 的新模式、约定或项目知识。
/check-claude-md
在完成一个功能开发、bug 修复或重构后调用。
检查以下几类值得记录的内容:
输出格式:
## 本次改动摘要
- [改动 1]
- [改动 2]
- ...
## 建议更新 CLAUDE.md
### 需要新增的内容
#### [章节名称]
[具体内容]
### 需要修改的内容
[原内容] → [新内容]
## 不需要更新的原因(如适用)
[说明为什么本次改动不需要记录]
值得记录的:
不值得记录的:
场景:用户完成了一个 API 错误处理的重构
## 本次改动摘要
- 重构了 API 错误处理,统一使用 `AppError` 类
- 新增了 `src/errors/index.ts` 错误定义文件
- 所有 API 路由统一返回 `{ error: string, code: string }` 格式
## 建议更新 CLAUDE.md
### 需要新增的内容
#### 错误处理
- 所有 API 错误使用 `AppError` 类(位于 `src/errors/index.ts`)
- 错误响应格式:`{ error: string, code: string }`
- 不要在路由中直接 throw Error,使用 `throw new AppError()`
---
是否要将以上内容添加到 CLAUDE.md?
/check-claude-md → commitdevelopment
Generate VitePress documentation sites for source code learning and analysis. Use when creating tutorials that explain how a codebase is implemented internally.
testing
从核心观点生成优质社媒长文。运用 4D 框架深度分析选题,去除 AI 味,6 维度评审确保质量。
development
Use when exploring unfamiliar codebases, before searching for code, or after editing files. Builds a structural AST index (classes, functions, imports, call graph) from 12 languages via tree-sitter. Trigger: /graphify
development
End-to-end i18n orchestration for frontend repositories. Use when a user wants to internationalize React/Vue/Next/Nuxt/Vite projects with minimal questions: auto-detect stack and current i18n state, ask only unresolved business decisions, migrate hardcoded strings to locale keys, localize formatting and routing/SEO, and enforce CI quality gates.