workflow
यह क्या करती है
यह स्किल एजेंट को सिखाती है कि कोडिंग सेशन के भीतर से टीम वर्कफ़्लो चरण-दर-चरण कैसे चलाएँ। यह वे कमांड मानता है जो TeamAI प्रिंट करता है, और रन जारी रहते हुए व्यक्ति को अपडेट रखता है।
कब इस्तेमाल करें
- ✓जब कोई जनरेट की गई वर्कफ़्लो स्किल एजेंट को टीम वर्कफ़्लो चलाने के लिए भेजती है।
- ✓जब कोई व्यक्ति इस सेशन से टीम वर्कफ़्लो चलाने को कहता है।
- ✓जब वर्कफ़्लो रन जारी रखने के लिए व्यक्ति से एक ज़रूरी सवाल पूछता है।
Skill का लिंक
https://github.com/Tencent/teamai-cli/blob/main/skill-data/workflow/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मुझे दिया गया टीम वर्कफ़्लो इस सेशन से चलाइए, और हर चरण की जानकारी मुझे देते रहिए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट वर्कफ़्लो को describe मोड में शुरू करता है, व्यक्ति को जो सवाल जवाब देने हैं वे साझा करता है, फिर प्रिंट हुए कमांड क्रम से चलाता है। डिटैच्ड रनर और चाइल्ड एजेंट काम के चरण पूरे करते हैं।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Drive a team workflow
Your role
You orchestrate. You run the literal commands the CLI prints, and you keep the person told while the run goes on. Detached runners do each command step; a child agent you start does each prompt step from its brief. Step work belongs to them, and yours is the literals and the person. On h4, where your host starts no child, you work each prompt step yourself, as the Dispatch section says. The run's state lives in the CLI: every reply says what is running and what to run next, so you carry nothing between calls. Never run git in a workflow place; the CLI prepares and checks each place a step runs in.
Start
Run teamai workflow start --describe <name> --driver skill with the workflow name from the skill that sent you. Where this machine runs teamai through npx teamai-cli, use that in its place; every literal the CLI prints after this already does.
Act on data.describe.ask.kind:
start: tell the personask.saywhen the reply has it, then runask.start. In an unattended run (CI, a cloud agent) describe never asks the person; whenask.inputsis listed, fill{inputs}inask.startwith their values from your task, as one JSON object. The slot sits inside single quotes, so write each'in that JSON as'\''.ask: the question is the person's to answer, once, so the run goes on without them after. In one message, give themask.question.textas it is, each entry ofask.question.inputs, and thelabelof each option as their choices. An entry with avalueis a proposal: show it with itswhy, and say they may keep, change or empty it. An entry without one is theirs to fill in. Wait for their pick, also when an option is marked recommended. In thestartof the option they pick, replace{inputs}with their answers as one JSON object, each'in it written as'\'', and run it. Those options are the whole choice: when the person wants a start none of them offers, show them the options again.local: tell the personask.reasonand give themask.startfor their own terminal. It is theirs to run.denied: tell the personask.reason. Nothing is left to run here.tool: this session names no tool, and the run needs one. Inask.describe, replace{tool}with the entry ofask.toolsfor the tool you work in, run it, and act on its reply instead. When none of them is the tool you work in, tell the personask.reason.
Done when a reply carries data.turn with a run id, or the person has ask.reason.
The loop
A turn lists the actions that wait for you, the running attempts, the events since your last call, and then. When nothing runs, waiting.reason says why.
- Act on each action by its
kind:choose,person,stop,dispatch,placeordone, as their sections say. - Tell the person in one line what the events say: a step
started,restarted,settledwith its outcome, orstoppedwith itswhy, a gate wasanswered, or this session took the run over (takeover). Tell themwaiting.reasonwhen it changes. Forjudging,judgedandjudging-off, followreferences/judging.md. - Run
then.runof the newest turn you have:poll: in the background when your host can, so you stay free to talk with the person; otherwise in the foreground. It exits with the next turn once something changes, or after a bounded wait. Keep one poll of the run going at a time.wake: in the foreground. Work waits for you, and the turn it returns carries it.
- Repeat with that turn.
Done when a turn has no then.
In an unattended run nobody reads you: step 2 is for your own log, and you ask nothing. Keep running then until a turn has none, also after done while it carries judging, so the judge's label lands before your session ends.
Run teamai score --drain before your session ends.
An unattended session that reaches a handoff reports that the run waits for a person, and stops.
When you have lost the last turn, after a compaction or in a new session, run teamai workflow next <run> --driver skill once for the current one.
A report you run answers with data.runner, not a turn. After one, go on with then of your newest turn.
Choose
A choose action asks for one answer, and about says what it is for:
host: comes once per run that has prompt steps, or that you judge. Followreference: it says which option fits your host and how to run it.gate: an optional approval or
अक्सर पूछे जाने वाले सवाल
क्या मुझे git कमांड चलाने होंगे?
नहीं। स्किल कहती है कि CLI हर चरण के चलने की जगह तैयार और जाँचती है, इसलिए वर्कफ़्लो चरणों में git नहीं चलता।
क्या एजेंट संदेशों के बीच रन याद रखता है?
नहीं। स्किल कहती है कि रन की स्थिति CLI में रहती है, और हर उत्तर बताता है कि आगे क्या चलाना है।
अगर होस्ट चाइल्ड एजेंट शुरू न कर सके तो?
स्किल कहती है कि तब एजेंट हर प्रॉम्प्ट चरण खुद पूरा करता है।
जानकारी
लेखक का मूल विवरण
Drive a team workflow from this coding session. Use when a generated workflow skill (workflow-<alias or name>, or a teamai default such as teamai-share-learnings) sent you here, or the person asks to run a team workflow.
repo: Tencent/teamai-cli
लोकप्रियता
- GitHub स्टार
- 5.7k
- रैंकिंग में स्थान
- #14746
- लाइसेंस
- —
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
core
5.7kआपके एजेंट को टीम के साझा AI स्किल्स और नियमों को pull और push से सिंक करने, उनकी स्थिति जाँचने, स्वास्थ्य जाँच चलाने और दूसरे TeamAI वर्कफ़्लो तक पहुँचने देती है।
setup
5.7kआपके एजेंट को टीम के लिए TeamAI सेट अप करने में मदद करती है, एडमिन के रूप में नई टीम रिपॉज़िटरी बनाकर या मौजूदा से जुड़कर, और सदस्यों, भूमिकाओं व हटाने का प्रबंधन करके।
share
5.7kआपके एजेंट को कोडिंग सेशन से मिली बातों को छोटे टीम लर्निंग में बदलने और teamai contribute कमांड से टीम के ज्ञान-आधार पर प्रकाशित करने देती है।
wiki
5.7kआपके एजेंट को बड़े, कई रिपॉज़िटरी वाले कोडबेस को संरचित ज्ञान-आधार में बदलने देती है, जहाँ हर निष्कर्ष उस कोड की पंक्ति से जुड़ता है जहाँ से वह आया।
मिलती-जुलती skills
diffs
394kयह आपके एजेंट को बदलावों का असली diff बनाने देती है, जिसे व्यूअर लिंक या इमेज फ़ाइल के रूप में साझा किया जा सकता है, हाथ से लिखे सारांश के बजाय।
coding-agent
394kयह आपके एजेंट को बड़े कोडिंग काम Codex, Claude Code या OpenCode को बैकग्राउंड वर्कर के रूप में सौंपने, फिर उसकी प्रगति जांचने में मदद करती है।
gh-issues
394kयह आपके एजेंट को GitHub issues खोजने, उनमें से काम करने लायक चुनने, और सुधार के साथ pull requests खोलने में मदद करती है, जिसमें समीक्षा टिप्पणियों का फ़ॉलो-अप भी शामिल है।