setup
Skill này làm gì
Skill này dạy agent cách thiết lập hệ thống TeamAI cho nhóm. Nó bao quát việc tạo repository nhóm mới với tư cách admin, tham gia với tư cách thành viên, và quản lý vai trò, cài đặt cũng như gỡ bỏ.
Khi nào nên dùng
- ✓Khi một người muốn thiết lập TeamAI cho nhóm từ đầu.
- ✓Khi một thành viên nhóm có liên kết repository và cần tham gia TeamAI của nhóm.
- ✓Khi admin cần mời thành viên, thay đổi vai trò hoặc gỡ TeamAI khỏi máy tính.
Liên kết skill
https://github.com/Tencent/teamai-cli/blob/main/skill-data/setup/SKILL.mdSao 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
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Hãy giúp tôi tham gia TeamAI của nhóm. Quản lý của tôi đã gửi liên kết repository.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent kiểm tra phiên bản Node cần thiết đã được cài, rồi đi theo đường thiết lập dành cho admin, thành viên hoặc gỡ bỏ. Agent tự chạy các lệnh và chỉ hỏi lựa chọn khi cần.
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.
teamai — setup and lifecycle
You run the commands; the user only makes choices when you ask. They may not know Git — never explain branches, commits or clones.
Before anything
node --version # must be >= 20
teamai --version # install once with: npm install -g teamai-cli
Then pick the flow. A user setting up a new team becomes its admin and creates
the repo; a user joining an existing team needs a repo URL from their admin. A
would-be member without a URL is still the join flow — join-member.md tells
them how to ask for it. Do not send them to the create-repo flow because the URL
is missing.
| The user wants to… | Load this |
|---|---|
| Set up TeamAI for a team from scratch (create the repo) | {SKILL_DIR}/references/setup-admin.md |
| Join their team, with or without a repo URL | {SKILL_DIR}/references/join-member.md |
| Publish or update skills, rules, MCP, env; invite members; manage roles | {SKILL_DIR}/references/manage-admin.md |
| Remove TeamAI from this machine | {SKILL_DIR}/references/uninstall.md |
| Publish one skill or contribute a doc | "$(teamai skill path core)/references/contribute-member.md" |
| Anything that breaks along the way | "$(teamai skill path core)/references/troubleshooting.md" |
Supported Git providers are Tencent TGit, GitHub, GitLab and CNB;
{SKILL_DIR}/references/setup-admin.md carries the detection probe, the sign-in
and create-repo URLs, and the per-provider caveats, and points at
{SKILL_DIR}/references/provider-tgit.md for everything TGit-specific.
Rules for these flows
- Always use a full URL for the team repo (e.g.
https://github.com/your-org/your-repo). Never theowner/reposhort form. - Don't limit which AI tools get set up — cover all of them by default.
Unless the user names specific tools, do not pass
--agentto restrict the install. Letteamai initset up every AI tool already installed (omitting--agentgives an interactive picker; select all detected tools). After init, report which agents were set up — in the user's language, which tools now auto-start TeamAI, which detected tools were skipped and why (e.g. CodeBuddy design), and any installed hooks that still need trust (e.g. Codex with automatic trust disabled or unavailable). Verify the real per-tool result withteamai doctorandteamai hooks list. teamai initdoes not pull. It saves the config and installs hooks. It does not copy team skills, rules or MCP. In workspace scope it creates a tool directory only for a tool named with--agent, or picked when a person runs it in a terminal. Those resources arrive on that tool's next session start, or when you runteamai pull. Run from an agent shell (no terminal), a workspace-scope init without--agentcreates no tool directory: the directory appears when the user opens that tool in the project, and that session start pulls.- Finish with
teamai doctor. Every setup or onboarding flow ends by running it and resolving what it reports before you call the job done.
Every public command and every flag, including the flags --help hides, is listed in
teamai skill get core --full under references/commands.md. Do not guess a flag:
there is no member-invite flag, for instance — inviting happens on the Git
platform's website, as manage-admin.md describes.
References
In the files below, {SKILL_DIR} is the directory teamai skill path setup prints; a reference file you open on its own writes that directory as SKILL_DIR in braces.
| File | When to load it |
|---|---|
{SKILL_DIR}/references/setup-admin.md |
Creating a team repo: provider detection, auth, repo creation, first push. |
{SKILL_DIR}/references/join-member.md |
Joining an existing team from a repo URL. |
{SKILL_DIR}/references/manage-admin.md |
Day-to-day admin: publishing resources, roles, projects, MCP, env, members. |
{SKILL_DIR}/references/uninstall.md |
Removing TeamAI from a machine or from one agent. |
| `{SKILL_DIR}/r |
Câu hỏi thường gặp
Tôi cần chuẩn bị gì trước khi thiết lập?
Skill nói phải cài Node.js phiên bản 20 trở lên, cùng lệnh teamai.
Nếu tôi chưa có liên kết repository nhóm thì sao?
Skill nói người muốn tham gia nhưng không có liên kết vẫn đi theo luồng tham gia, luồng này giải thích cách xin liên kết.
Tôi có thể gỡ TeamAI sau này không?
Có. Skill có một hướng dẫn gỡ bỏ riêng.
Chi tiết
Mô tả gốc của tác giả
TeamAI day 0 and repo lifecycle: create a team repo as admin, join an existing team as a member, manage members, roles, MCP and env, and uninstall. Loaded on demand by the teamai discovery stub.
repo: Tencent/teamai-cli
Độ phổ biến
- Sao GitHub
- 5.7k
- Vị trí xếp hạng
- #14742
- Giấy phép
- —
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
core
5.7kGiúp agent đồng bộ skill AI và quy tắc chung của nhóm bằng pull và push, kiểm tra trạng thái, chạy kiểm tra sức khỏe và các quy trình TeamAI.
share
5.7kGiúp agent biến điều một phiên lập trình đã dạy thành bài học ngắn của nhóm và đăng lên kho kiến thức chung bằng lệnh teamai contribute.
wiki
5.7kGiúp agent biến một codebase lớn gồm nhiều repository thành kho kiến thức có cấu trúc, trong đó mỗi kết luận liên kết tới dòng code mà nó đến từ.
workflow-local
5.7kGiúp agent chạy quy trình nhóm không cần người trên máy này, cho job CI hoặc agent đám mây, mọi câu trả lời đã được quyết định trước khi chạy.
Skill tương tự
diffs
394kGiúp agent của bạn tạo một diff có thể chia sẻ về các chỉnh sửa, dưới dạng liên kết xem hoặc file ảnh, thay vì một bản tóm tắt viết tay.
coding-agent
394kGiúp agent của bạn giao một việc lập trình lớn cho Codex, Claude Code hoặc OpenCode chạy nền, rồi theo dõi tiến độ của nó.
gh-issues
394kGiúp agent của bạn tìm issue trên GitHub, chọn những issue cần xử lý và mở pull request với bản sửa, kể cả theo dõi nhận xét đánh giá.