clone-ruancat-repo
Clone ruan-cat Repo
将维护者约定的 GitHub 仓库克隆到本地,目录名已在命令中写死(如 01s-11comm、monorepo)。
首要原则
- 命令来源:只使用
[references/clone-commands.md](references/clone-commands.md)中的git clone行,禁止凭记忆改写 URL、depth 或目录名。 - 工作目录:在用户期望存放多个仓库的父目录中执行;先
cd到该父目录再运行命令。 - 幂等与冲突:若目标目录已存在,
git clone会失败。应先与用户确认是否跳过、换父目录,或删除/改名旧目录后再执行。
工作流程
- 确认父路径(例如
~/code或用户指定的盘符路径)。 - 读取
references/clone-commands.md,按文件中的顺序执行每一条git clone。 - 若用户只要子集:仅执行与仓库名或本地目录名匹配的命令行,并说明省略了哪些条目。
- 网络或权限失败:记录失败仓库与报错;其余仓库可继续执行(与用户确认是否重试)。
浅克隆与多分支
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