share
Skill này làm gì
Skill này dạy agent cách tóm tắt điều một phiên lập trình đã giải quyết hoặc học được. Sau đó nó lưu bản tóm tắt vào kho kiến thức chung của nhóm, để người khác tìm thấy.
Khi nào nên dùng
- ✓Khi người dùng muốn chia sẻ điều một phiên lập trình đã dạy cho cả nhóm.
- ✓Khi một phiên tìm ra cách khắc phục tạm hoặc bản sửa mà cả nhóm nên biết.
- ✓Khi TeamAI hiện lời nhắc chia sẻ bài học từ một phiên vừa kết thúc.
Liên kết skill
https://github.com/Tencent/teamai-cli/blob/main/skill-data/share/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 tóm tắt những gì tôi tìm ra trong phiên này và chia sẻ với kho kiến thức chung của nhóm.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent xem lại phiên và viết một tài liệu học ngắn với tiêu đề và namespace. Nó đăng tài liệu bằng lệnh teamai contribute sau khi bạn phê duyệt.
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.
Contribute — share what a session taught you with the team
Summarize what this AI coding session taught you and push it to the team knowledge base.
Who sent you here
- The
learningstep of ateamai-share-learningsrun (its brief names this skill): work steps 1–3 of How It Works with the person, in this session rather than a sub-agent. The session may have taught more than one thing: write each learning the person wants to share to its own document outside the repository, and return them as the list the brief asks for, each with its path, title and learnings namespace; return an empty list when nothing is worth sharing. Do not runteamai contribute: the run'scontributestep runs it for each one after its approval. - The friction reminder (its
[teamai]text namesteamai skill get share): teamai already found thatteamai-share-learningscannot run here. Follow How It Works to the end. - The person asked to share what this session taught, or to close it: start the
teamai-share-learningsworkflow (to only publish or score it,teamai-share-session). Runteamai workflow start --describe teamai-share-learnings --driver skill, give the person each proposed input with itswhy, and start it with those values once they confirm or change them (teamai skill get workflowcovers the run). Itslearningstep brings you back here. When describe refuses it (invoke_denied,unattended_denied,nested_workflow), tell the person why and follow How It Works to the end. - Anything else in When to Use: follow How It Works to the end.
Write the document in Simplified Chinese, as earlier releases required. Commands, flags, URLs, paths and code identifiers stay as they are.
When to Use
- When teamai suggests this session has valuable content worth sharing
- When you've solved a tricky problem and want to document the solution
- When you've discovered a useful workflow or pattern
- After a long session with diverse tool usage
- When
teamai scoreprinted a label that did not pass: read the reasoning file it names (<dataHome>/scores/reasoning/<labelVersion>.md) and turn what went wrong into a learning, contributed with the--session-idthat line gives, if any. Summarize it; do not paste the file
How It Works
- Summarize: review the tools used, the problems solved and the patterns found in this session
- Write the document: a Markdown document (language as above) covering:
- What the task or problem was
- The key decisions and why they were made
- The solution, workaround or pattern discovered
- Which tools or skills proved especially useful
- Pitfalls and things to watch out for
- Save it: write the document to a temporary file
- Push it to the team: run
teamai contribute --file <path> --title "<title>"
Document Template
Copy the template, the frontmatter field table and the tag taxonomy from
{SKILL_DIR}/references/doc-template.md. The frontmatter is required: it is what
makes the document searchable.
Example
# After writing the summary to /tmp/session-summary.md
teamai contribute --file /tmp/session-summary.md --title "Debugging K8s pod startup timeouts"
Important
- Outside a
teamai-share-learningsrun, run this as a sub-agent (Agent tool) to avoid polluting the main session's context - The document is pushed to the team repo's
teamai-learningsbranch, underlearnings/, with no pull request - Team members will see it on their next
teamai pull - Keep summaries concise and actionable — this is a knowledge base, not a diary
Publishing a reusable skill instead
A member asking to publish a skill ("share this xxx skill with my team") is a
different flow, and it does not need recall: it lives in the core skill, at
"$(teamai skill path core)/references/contribute-member.md". This file
is for turning a session into a learning.
References
In the files below, {SKILL_DIR} is the directory teamai skill path share 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/doc-template.md |
Writing the learning document: template, frontmatter fields, tag taxonomy. |
teamai skill get share --full prints this skill with its reference appended.
Câu hỏi thường gặp
Phiên của tôi có tự động được chia sẻ không?
Không. Skill nói bài học chỉ được chia sẻ sau khi bạn phê duyệt.
Tôi có phải tự viết bản tóm tắt không?
Không. Agent soạn bản nháp từ phiên, và bạn xác nhận những gì sẽ chia sẻ.
Một phiên có thể tạo nhiều bài học không?
Có. Skill nói một phiên có thể dạy nhiều điều, và mỗi điều có tài liệu riêng.
Chi tiết
Mô tả gốc của tác giả
Turn a session into a team learning: summarize what was solved, discovered or worked around, and publish it to the team knowledge base with `teamai contribute`. Loaded on demand by the teamai discovery stub, by the learning step of the teamai-share-learnings workflow, and by the friction reminder where teamai-share-learnings is not offered.
repo: Tencent/teamai-cli
Độ phổ biến
- Sao GitHub
- 5.7k
- Vị trí xếp hạng
- #14743
- 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.
setup
5.7kGiúp agent thiết lập TeamAI cho nhóm, tạo repository mới với vai trò admin hoặc tham gia repository có sẵn, và quản lý thành viên và vai trò.
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ự
discord-user-post
394kCho phép agent của bạn đăng tin nhắn đã duyệt lên Discord dưới tên bạn qua app Discord trên máy tính, sau khi xác nhận đúng kênh.
configure-channel
394kHướng dẫn agent của bạn kết nối một ứng dụng chat như Telegram với OpenClaw, lưu token bot an toàn và kiểm tra tin nhắn có đi qua được không.
discord
394kGiúp agent của bạn đọc, gửi, sửa và thả biểu cảm cho tin nhắn Discord qua OpenClaw, và kiểm tra đúng tin nhắn trước khi thay đổi.