setup-project
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseSetup project
项目搭建
Drives the setup flows in flows user.mmd: workflow setup first, tech stack second.
Setup skills are just-in-time: , then READ the installed SKILL.md and follow it directly (the session's skill list only loads at startup — no reload exists), then . This applies to EVERY skill named below — never invoke a copy installed elsewhere on the machine. Setup skills live in NO synced bundle: they would sit unused and pollute the context window.
npx github:timschoch/skilly add <skill>npx github:timschoch/skilly remove <skill>驱动flows user.mmd中的搭建流程:先进行工作流搭建,再进行技术栈搭建。
搭建技能是即时使用的:执行 ,然后阅读已安装的SKILL.md并直接按照说明操作(会话的技能列表仅在启动时加载——不存在重新加载机制),之后执行 。这适用于下面提到的所有技能——切勿调用机器上其他位置安装的副本。搭建技能不包含在任何同步技能包中:否则它们会闲置不用,还会污染上下文窗口。
npx github:timschoch/skilly add <skill>npx github:timschoch/skilly remove <skill>Workflow setup
工作流搭建
Ask which parts apply, then run the chosen skills in this order, finishing one before the next:
- Husky + lint-staged + Prettier pre-commit? → ; the repo's own stack → skip (nothing automated for it yet — add a sibling skill when one earns its place).
setup-pre-commit - GitHub scaffolding (conventional commits/branches)? → — GitHub settings, commit/branch rules wired into the hooks just chosen,
setup-reposcaffold.CLAUDE.md - Release automation? → — plus merge settings.
setup-release-please - Wayfinder? → — issue tracker, triage labels, domain-doc layout.
setup-matt-pocock-skills
Remove the used setup skills, commit conventionally, push, and make sure a PR exists.
询问用户哪些部分适用,然后按以下顺序运行所选技能,完成一个再进行下一个:
- 是否需要Husky + lint-staged + Prettier pre-commit?→ 使用 ;若仓库已有自身的配置栈→跳过(目前暂无自动化支持——等有成熟方案时再添加同级技能)。
setup-pre-commit - 是否需要GitHub脚手架(约定式提交/分支规范)?→ 使用 ——配置GitHub设置,将提交/分支规则接入刚才选择的钩子,生成
setup-repo脚手架。CLAUDE.md - 是否需要发布自动化?→ 使用 ——同时配置合并设置。
setup-release-please - 是否需要Wayfinder?→ 使用 ——配置议题追踪器、分诊标签、领域文档布局。
setup-matt-pocock-skills
移除已使用的搭建技能,按约定式提交规范提交代码,推送,并确保存在一个PR。
Tech stack
技术栈
- Propose Bundles from the catalog, let the user confirm:
- every repo:
workflow - a bundle when one exists (it already includes its tech bundles)
project-<x> - otherwise the bundles matching the stack (check
tech-*/ lockfiles)package.json - only where the repo produces marketing content
marketing
- every repo:
- — installs, rules, commit, PR.
npx github:timschoch/skilly add <bundle...> - Stack setup skills where the stack needs them (e.g. ): add, follow, remove.
trigger-setup - — ends with its own commit.
npx github:timschoch/skilly update - Read in full and follow it: the rules, hooks and gates just installed get checked against what the repo and the user's global files already say. Show the report path, stop; fix only what the user picks.
.agents/skills/audit-skilly-workflow/SKILL.md
- 从目录中推荐技能包,让用户确认:
- 每个仓库都包含:
workflow - 若存在 技能包则使用(它已包含对应的技术技能包)
project-<x> - 否则使用与技术栈匹配的 技能包(检查
tech-*/ lockfiles)package.json - 仅当仓库用于生成营销内容时使用 技能包
marketing
- 每个仓库都包含:
- 执行 ——完成安装、规则配置、提交和PR创建。
npx github:timschoch/skilly add <bundle...> - 若技术栈需要对应的搭建技能(例如 ):添加、按说明操作、移除。
trigger-setup - 执行 ——执行完成后会自动生成提交。
npx github:timschoch/skilly update - 完整阅读 并按照说明操作:将刚安装的规则、钩子和门禁与仓库及用户全局文件中已有的配置进行比对。展示报告路径后停止;仅修复用户指定的问题。
.agents/skills/audit-skilly-workflow/SKILL.md
Validate
验证
After the PR merges: , then until green. Local auth tests on this Mac lie (the machine SSH key bypasses isolation).
gh workflow run skilly-sync.ymlgh run watch$HOMEPR合并后:执行 ,然后运行 直到状态为绿色。在这台Mac上的本地认证测试结果不可靠(机器的SSH密钥会绕过 隔离机制)。
gh workflow run skilly-sync.ymlgh run watch$HOME