workflow-local
ما الذي تفعله
تعلّم هذه المهارة الوكيل كيفية تشغيل سير عمل فريق TeamAI من أوله إلى آخره دون أن يجيب شخص عن الأسئلة. وهي موجهة للمهام الآلية ولاستكمال التشغيل على هذا الكمبيوتر.
متى تستخدمها
- ✓عندما تحتاج مهمة CI أو وكيل سحابي إلى تشغيل سير عمل فريق دون حضور أحد.
- ✓عندما يتوقف تشغيل سير عمل ويجب استكماله على هذا الجهاز.
- ✓عندما يقول رد بدء سير العمل إن التشغيل يجب أن يستخدم المشغّل المحلي.
رابط المهارة
https://github.com/Tencent/teamai-cli/blob/main/skill-data/workflow-local/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“شغّل سير عمل فريقنا دون مراقبة لمهمة الليل، وأخبرني بالنتيجة عند الانتهاء.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يبدأ وكيلك سير العمل بالمشغّل المحلي، ويمرر المدخلات ككائن JSON واحد. وعند انتهاء التشغيل يذكر الأمر النجاح أو الفشل، ويسمي أي خطوة فاشلة مع أمر إعادة المحاولة.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Run a team workflow unattended
The local driver runs a whole run in one process on this machine: each command step as a process, each prompt step through a headless tool. Nobody is asked anything while it runs, so every answer the run needs is decided before it starts.
When
- A CI job or a cloud agent runs the workflow.
teamai workflow start --describe <name> --driver skillansweredask.kind: local: a coding session cannot run some step, andask.reasonsays which.- A run continues on this machine without a coding session: after a retry, an answer, a stopped driver, or a session that handed it over.
Run it
- Run
teamai workflow start <name> --describeand read the inputs it lists. - Start the run:
teamai workflow start <name> --driver local, with the inputs as one JSON object in--inputs.teamai workflow start --helplists the other options, such as answering optional approvals and picking the prompt tool. - To continue a run that stopped, run
teamai workflow resume <run>.
The command exits when the run ends: 0 when it succeeded, 1 when it failed or was cancelled. A failed run names each failed step, its message and its teamai workflow retry command on stderr. Done when it has exited and the outcome, the failing step's message and the pull requests the run opened are reported where the person reads them: the job log, or your reply.
Approvals
Without a terminal, nobody answers a gate during the run:
- A required approval fails its step
hitl_required, and so does the run. - With
--auto-approve, or the member'sworkflows.auto_approve, an optional approval is answered yes and a choice takes its default. - Without either, an optional approval is skipped, and a choice fails
hitl_required.
From an agent session
A coding agent's session may start or continue only a workflow whose invoke allows it, with start or resume. invoke: allow goes on. invoke: ask goes on once the person agreed, with --confirmed, and never in an unattended run (CI or a cloud agent), where it answers unattended_denied. invoke: deny, the default, answers invoke_denied. Tell the person the message, which names the command for their own terminal.
Inside a workflow step, every teamai workflow command that changes a run answers nested_workflow. Do the step's own work there instead.
Env and secrets
A step gets the team env keys its requires.env lists, and no other team key. A key with no value on this machine fails the step missing_env before it runs, and the message names the fix: teamai env set KEY for a key the team declares; for one it does not, the environment, or teamai env add KEY --secret followed by teamai env set KEY. The person runs env set in their own terminal. A CI job exports each secret under its key name instead. TeamAI masks the value of every key in env/secrets.yaml in run files and output.
CI
When you set up a CI job that starts a run, or one that takes the runs members offer, read references/ci.md.
الأسئلة الشائعة
هل يسألني التشغيل أسئلة أثناء العمل؟
لا. تنص المهارة على أن أحداً لا يُسأل شيئاً أثناء التشغيل، فتُحدد كل الإجابات قبل بدئه.
كيف أكمل تشغيلاً متوقفاً؟
استخدم أمر teamai workflow resume مع اسم التشغيل.
ماذا يحدث إذا فشلت خطوة؟
يذكر التشغيل كل خطوة فاشلة ورسالتها وأمر إعادة المحاولة.
التفاصيل
الوصف الأصلي من المؤلف
Run a team workflow unattended with the local driver. Use in CI or a cloud agent, when a describe reply routed the run to the local driver, or to continue a run on this machine without a coding session.
repo: Tencent/teamai-cli
الشعبية
- نجوم GitHub
- 5.7k
- الترتيب
- #14745
- الترخيص
- —
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
core
5.7kيساعد وكيلك على مزامنة المهارات والقواعد المشتركة لفريقك الخاصة بالذكاء الاصطناعي بالسحب والدفع، وفحص حالتها، وإجراء فحص السلامة، والوصول إلى مسارات TeamAI الأخرى.
setup
5.7kيساعد وكيلك على إعداد TeamAI لفريق، إما بإنشاء مستودع فريق جديد كمسؤول أو بالانضمام إلى مستودع موجود، وإدارة الأعضاء والأدوار والإزالة.
share
5.7kيساعد وكيلك على تحويل ما تعلمته جلسة برمجية إلى درس قصير للفريق، ونشره في قاعدة المعرفة المشتركة بأمر teamai contribute.
wiki
5.7kيساعد وكيلك على تحويل قاعدة كود كبيرة متعددة المستودعات إلى قاعدة معرفة منظمة، تربط كل استنتاج بسطر الكود الذي جاء منه.
مهارات مشابهة
diffs
394kيتيح لوكيلك إنتاج فرق تعديلات حقيقي يمكن مشاركته، كرابط عرض أو ملف صورة، بدلاً من ملخص مكتوب يدوياً.
coding-agent
394kيساعد وكيلك على تسليم مهمة برمجة كبيرة إلى Codex أو Claude Code أو OpenCode كعامل في الخلفية، ثم متابعة تقدمها.
gh-issues
394kيساعد وكيلك على إيجاد مشكلات GitHub واختيار ما ستعمل عليه، وفتح طلبات سحب بالإصلاحات، ومتابعة تعليقات المراجعة.