share
できること
このスキルは、コーディングのセッションで解決したことや学んだことを要約する方法をエージェントに教えます。その要約を、他の人が見つけられるように、チームの共有の知識ベースに保存します。
使う場面
- ✓コーディングのセッションで学んだことを、チーム全体と共有したいとき。
- ✓セッションで見つけた回避策や修正を、他のチームメンバーも知るべきとき。
- ✓セッションが終わった後に、TeamAIが学んだことを共有するよう促したとき。
スキルのリンク
https://github.com/Tencent/teamai-cli/blob/main/skill-data/share/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“このセッションで私が分かったことを要約して、チームの知識ベースに共有してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントはセッションを確認し、タイトルと名前空間を付けた短い学習の文書を書きます。利用者が承認した後、teamai contributeコマンドで公開します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
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.
よくある質問
セッションは自動で共有されますか?
いいえ。学習の内容は、利用者が承認した後にだけ共有されると、スキルは説明しています。
要約は自分で書く必要がありますか?
いいえ。エージェントがセッションから下書きし、利用者が何を共有するかを確認します。
一つのセッションから複数の学習が得られますか?
はい。一つのセッションで複数のことを学べるので、それぞれに文書が作られると説明されています。
詳細
作者による元の説明
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
人気
- GitHubのスター
- 5.7k
- ランキング
- #14743
- ライセンス
- —
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
core
5.7kエージェントが、チームの共有のAIスキルとルールを、pullとpushで同期し、その状態を確認し、健全性チェックを実行して、他のTeamAIのワークフローにつなげられるよう支援します。
setup
5.7kエージェントが、管理者として新しいチームのリポジトリを作るか、既存のものに参加して、TeamAIを設定できるよう支援します。メンバー、役割、削除も管理します。
wiki
5.7kエージェントが、複数のリポジトリからなる大規模なコードベースを、各結論が元のコードの行に結びつく、構造化された知識ベースに変えられるよう支援します。
workflow-local
5.7kエージェントが、CIのジョブやクラウドのエージェントのために、このマシン上でチームのワークフローを無人で実行できるよう支援します。すべての回答は実行の前に決まっています。
似ているスキル
discord-user-post
394kエージェントが、承認済みのお知らせをDiscordのデスクトップアプリからあなたとして投稿できるよう支援します。投稿前に正確なチャンネルを確認します。
configure-channel
394kTelegramなどのチャットアプリをOpenClawに接続し、ボットトークンを安全に保存して、メッセージが流れることを確認するようエージェントに教えます。
discord
394kOpenClawを通じてDiscordのメッセージを読み、送信し、編集し、リアクションするようエージェントを支援します。変更の前に正確なメッセージを確認します。