From init-skills
Incrementally updates before-modify and project-structure skills after project changes like new directories, frameworks, or refactors, preserving user custom rules.
How this skill is triggered — by the user, by Claude, or both
Slash command
/init-skills:updateThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
当项目结构发生变化后,更新已有的 `.claude/skills/` 中的 skills。
当项目结构发生变化后,更新已有的 .claude/skills/ 中的 skills。
项目必须已经存在 .claude/skills/before-modify/SKILL.md 和 .claude/skills/project-structure/SKILL.md。
如果不存在,请先运行 /init-skills:init 初始化。
读取项目中已有的 skills:
.claude/skills/before-modify/SKILL.md.claude/skills/project-structure/SKILL.md执行与 /init-skills:init 相同的探测流程:
将新探测结果与现有 skills 对比,识别变化:
## 发现以下变化
**新增**:
- 新增目录: src/utils/
- 新增框架: Redis 缓存
**移除**:
- 移除目录: lib/ (已重命名为 src/)
**修改**:
- API 路由路径: api/ → src/api/
是否更新这些变化?
用户可以选择:
根据用户选择,更新对应的 skill 文件:
已更新项目级 skills:
更新内容:
- [before-modify] 更新了 API 路由路径
- [project-structure] 新增了 utils 目录索引
保留内容:
- [before-modify] 自定义的检查规则
- [project-structure] 手动添加的约定说明
以下内容视为用户自定义,更新时保留:
## 自定义规则 章节下的内容npx claudepluginhub yhy0/init-skills --plugin init-skillsScans project's tech stack, directory structure, and code conventions to generate before-modify (pre-change checklist) and project-structure (index) skills for consistent style and avoiding duplicates.
Audits a project's recurring workflows from past sessions and memory, then recommends high-value skills to add or update.
Applies targeted improvements to an existing pm-skills skill based on feedback, validation reports, or convention changes. Reads current files, previews proposed changes, writes on confirmation, and suggests a version bump.