workshop-create
它能做什么
这个工具可以帮你整理工作,它会创建一个名为“workshop”的主文件夹。你既可以使用电脑上已有的文件夹,也可以在 GitHub 上新建一个私有文件夹。
适用场景
- ✓当你想为新项目或一组任务开始整理时。
- ✓当你有一个包含文件的文件夹,想把它作为新项目的基础时。
- ✓当你想在 GitHub 上找一个安全的地方存放项目代码时。
技能链接
https://github.com/github/awesome-copilot/blob/main/skills/workshop-create/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“在 GitHub 上新建一个名为 'my-project' 的 workshop。”
每周 5 个新技能,1 分钟读完。
工作原理
工具会先确认你想使用已有文件夹还是在 GitHub 上新建。如果是已有文件夹,它会添加一些用于整理的子文件夹和文件。如果是在 GitHub 上,它会创建一个私有文件夹并添加这些文件。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Create a Workshop
Set up a new workshop — the root directory where desks live.
When to use
- The operator says "create a workshop" or "start a new workshop"
- The operator wants to organize work under a shared root
- The operator has an existing directory they want to use as a workshop
Two paths
Path A: Use an existing directory
The operator already has a folder they want to use. Maybe it's a repo they cloned, maybe it's a local project folder.
- Confirm the path exists. If not, ask the operator for a valid path.
- Detect existing workshop markers. Look for
desks/orclassroom/folders, aworkshop.md,CAIRN.md, orhands-up.md. Finding any of these tells you this is an existing workshop — but this is detection only, not a stopping point. Continue to the next step and add whatever is missing; never overwrite what is already there. - Scaffold the workshop structure (only what's missing):
<path>/ desks/ # where desks live bench/ # shared workspace CAIRN.md # operating disposition README.md # workshop map - Do NOT run
git init. The directory may already be a git repo, or the operator may not want one yet. Leave git state alone. - Do NOT create a GitHub repo. This path is local-only.
Path B: Create a new private GitHub repo
The operator wants a fresh workshop backed by a GitHub repo.
- Get the workshop name. Short, no spaces, kebab-case preferred.
- Pick and validate a clone parent.
gh repo create --cloneclones into the current working directory, so choose an explicit parent directory first (ask the operator, or use their configured workshops directory) and confirm it is not already inside a git repo:
If that printsgit -C <parent-dir> rev-parse --is-inside-work-treetrue, pick a different parent — otherwise the new repo nests inside the existing one. Create the parent if needed. - Create and clone the repo from that parent:
Use the operator's signed-in GitHub account ascd <parent-dir> gh repo create <owner>/<name> --private --clone<owner>. - Scaffold the workshop structure inside the cloned repo. Git does
not track empty directories, so add a placeholder in each otherwise
empty folder or the scaffold will not survive the next clone:
<name>/ desks/.gitkeep bench/.gitkeep CAIRN.md README.md - Commit and push the scaffold, including the
.gitkeepplaceholders.
Critical: Never nest repos
Never run git init inside a directory that is already inside a git
repository. Before initializing, check:
git -C <parent-dir> rev-parse --is-inside-work-tree
If that returns true, the parent is already a git repo. Do NOT create
another repo inside it. Either:
- Use Path A (just scaffold, no git)
- Or clone to a different location that isn't inside a repo
CAIRN.md content
The operating disposition every desk reads:
# cairn
the trail markers that say: someone was here, and they were honest.
## how a desk stands
- **stop is a valid finish.** don't force a result when the evidence
says stop. "this doesn't work" is a finding, not a failure.
- **"done" means it holds.** if you'd bet your desk on it, ship it.
if not, say what's uncertain and why.
- **hold scope.** touch only what the task needs. if you find something
outside scope, note it and move on — don't chase it.
- **never go silent, never bluff.** partial + honest > complete + wrong.
if you're stuck, say so. if you're unsure, say that too.
- **equal standing.** you can say "that's the wrong question." you can
disagree with another desk. you answer to evidence, not hierarchy.
## the bench
the shared workspace. leave your work where others can find it.
label it. if it supersedes earlier work, say so.
## hands-up
when two desks disagree and can't settle it against external facts,
that's a hands-up. it goes to the operator. this is the system
working, not failing.
After creation
Tell the operator:
- Where the workshop lives (full path)
- That they can now open desks in it with
desk-open - That Cairn will show signals once desks start emitting them
Principles
- A workshop is a place, not a product. Keep it simple.
- The operator decides where things go. Don't assume.
…
常见问题
什么是 'desks' 和 'bench'?
“desks”是各个具体任务的工作区,“bench”是一个共享空间,你可以把成果放在这里供他人查看。
'CAIRN.md' 是什么?
这是一个说明文件,规定了人们在 workshop 中应如何协作,包括沟通和合作的规则。
可以在一个 workshop 里面再创建 workshop 吗?
不可以。工具绝不会在 workshop 文件夹内再创建 workshop 文件夹,以免造成混乱。
详情
作者的原始描述
Create a new workshop or use an existing directory as one. Handles two paths: (A) use an existing local directory the operator points at, or (B) create a new private GitHub repo in the signed-in account. Never creates a repo inside another repo.
repo: github/awesome-copilot
热度
- GitHub 星标
- 40k
- 排名
- #7481
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
acquire-codebase-knowledge
40k帮你的智能体理解并编写现有代码项目的文档。它有助于新成员快速上手,或者快速了解项目架构。
acreadiness-assess
40k让你的智能体评估一个项目对 AI 的准备程度,并生成报告。它有助于了解项目在使用 AI 工具方面的准备情况。
acreadiness-generate-instructions
40k帮你的智能体根据评估结果编写 AI 工具的指令文件。它有助于改善 AI 与代码的交互方式,并弥补已发现的不足。
acreadiness-policy
40k让你的智能体协助制定或应用 AI 项目评估的政策。它有助于规范项目的评估方式,并确保合规。