init-ai-md
init-ai-md 技能说明
本技能用于在项目中快速初始化和增量更新 AI 记忆文件。通过交互式选择和差异对比补全,帮助用户精确管理 AI 记忆文件内容。
核心功能
- 初始化 CLAUDE.md:检查并创建项目的 AI 记忆文件
- 交互式选择:扫描现有内容和可用模板,让用户选择需要的记忆项
- 差异对比补全:深度对比文本差异,仅补全缺失内容而非全量替换
- 多文件同步:支持同步更新 AGENTS.md 和 GEMINI.md
- 技能表管理:扫描项目中
.claude/skills/目录下的现有技能,在 CLAUDE.md 中创建并维护「本项目的技能表」章节 - 内置技能初始化:支持将
record-bug-fix-memory等内置技能模板部署到项目的.claude/skills/目录中
执行流程
步骤 1:检查 CLAUDE.md 文件
More from ruan-cat/monorepo
git-commit
创建高质量的 git 提交:审查/暂存预期的变更,拆分为逻辑提交,并编写清晰的提交信息(遵循 Conventional Commits 规范,支持 Emoji)。当用户要求提交代码、编写提交信息、暂存变更或将工作拆分为多个提交时使用此技能。当用户提及【破坏性变更】关键词时,必须按照本技能的 BREAKING CHANGE 规范使用感叹号格式编写提交信息。优先针对 git 暂存区(staged)中的文件进行提交,只有当暂存区为空时才考虑整个工作树。当用户提及【分门别类】关键词时,必须按照本技能的多提交拆分规范,从文件类型、业务模块、修改类型、修改范围四个维度认真拆分多个提交。
27openspec
|
20openspec-sync-specs
Sync delta specs from a change to main specs. Use when the user wants to update main specs with changes from a delta spec, without archiving the change.
13openspec-ff-change
Fast-forward through OpenSpec artifact creation. Use when the user wants to quickly create all artifacts needed for implementation without stepping through each one individually.
13openspec-new-change
Start a new OpenSpec change using the experimental artifact workflow. Use when the user wants to create a new feature, fix, or modification with a structured step-by-step approach.
13openspec-apply-change
Implement tasks from an OpenSpec change. Use when the user wants to start implementing, continue implementation, or work through tasks.
13