Chuyển đến nội dung
Skillpedia
Tài liệu kỹ thuật40k · #7481

workshop-create

Skill này làm gì

Công cụ này giúp sắp xếp công việc của bạn bằng cách tạo một thư mục chính gọi là “workshop”. Bạn có thể dùng một thư mục đã có trên máy tính hoặc tạo một thư mục riêng tư mới trên GitHub.

Khi nào nên dùng

  • ✓Khi bạn muốn bắt đầu sắp xếp một dự án hoặc một loạt tác vụ mới.
  • ✓Khi bạn có một thư mục chứa tệp và muốn dùng làm nền cho dự án mới.
  • ✓Khi bạn muốn một nơi an toàn trên GitHub để lưu mã dự án.

Liên kết skill

https://github.com/github/awesome-copilot/blob/main/skills/workshop-create/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/github/awesome-copilot/blob/main/skills/workshop-create/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tạo một workshop tên “my-project” trong một thư mục GitHub mới.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Công cụ kiểm tra xem bạn muốn dùng thư mục hiện có hay tạo mới trên GitHub. Nếu là thư mục hiện có, nó thêm một số thư mục và tệp tổ chức. Nếu là trên GitHub, nó tạo một thư mục riêng tư và thêm các tệp này.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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.

  1. Confirm the path exists. If not, ask the operator for a valid path.
  2. Detect existing workshop markers. Look for desks/ or classroom/ folders, a workshop.md, CAIRN.md, or hands-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.
  3. Scaffold the workshop structure (only what's missing):
    <path>/
      desks/           # where desks live
      bench/            # shared workspace
      CAIRN.md          # operating disposition
      README.md         # workshop map
    
  4. 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.
  5. 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.

  1. Get the workshop name. Short, no spaces, kebab-case preferred.
  2. Pick and validate a clone parent. gh repo create --clone clones 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:
    git -C <parent-dir> rev-parse --is-inside-work-tree
    
    If that prints true, pick a different parent — otherwise the new repo nests inside the existing one. Create the parent if needed.
  3. Create and clone the repo from that parent:
    cd <parent-dir>
    gh repo create <owner>/<name> --private --clone
    
    Use the operator's signed-in GitHub account as <owner>.
  4. 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
    
  5. Commit and push the scaffold, including the .gitkeep placeholders.

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.

…

Câu hỏi thường gặp

“Desks” và “bench” là gì?

“Desks” là nơi thực hiện từng tác vụ riêng lẻ, còn “bench” là không gian chung để bạn để công việc cho người khác xem.

“CAIRN.md” là gì?

Đây là tệp giải thích cách mọi người làm việc cùng nhau trong workshop, quy định các quy tắc giao tiếp và cộng tác.

Tôi có thể tạo một workshop bên trong một workshop khác không?

Không, công cụ không bao giờ tạo thư mục workshop bên trong một workshop khác để tránh nhầm lẫn.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
40k
Vị trí xếp hạng
#7481
Giấy phép
MIT
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự