Перейти к содержанию
Skillpedia
Код в целом5.7k · #14746

workflow

Что он делает

Этот скилл учит агента пошагово выполнять командный рабочий процесс прямо из сессии программирования. Он следует командам, которые печатает TeamAI, и держит человека в курсе, пока запуск продолжается.

Когда использовать

  • ✓Когда сгенерированный скилл рабочего процесса направляет агента на запуск командного рабочего процесса.
  • ✓Когда человек просит запустить командный рабочий процесс из этой сессии.
  • ✓Когда запуск рабочего процесса спрашивает у человека один вопрос, который нужен для продолжения.

Ссылка на скилл

https://github.com/Tencent/teamai-cli/blob/main/skill-data/workflow/SKILL.md

Скопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.

Как использовать

Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.

Готовое сообщение для вставки

Используй этот скилл, чтобы помочь мне: https://github.com/Tencent/teamai-cli/blob/main/skill-data/workflow/SKILL.md Прочитай файл SKILL.md по этой ссылке и следуй его инструкциям в моей задаче.
Хотите, чтобы ваш ИИ сам находил такие скиллы?Установите бесплатный MCP Skillpedia: одна строка, и перед каждой задачей он ищет среди 15 000+ скиллов.Установить за 1 минуту →

Пример запроса к вашему ИИ

“Запусти командный рабочий процесс, который мне передали, из этой сессии, и держи меня в курсе каждого шага.”

5 новых скиллов в неделю. 1 минута чтения.

Как это работает

Агент запускает рабочий процесс в режиме описания, передаёт вопросы, на которые человек должен ответить, а затем выполняет напечатанные команды по порядку. Отдельные исполнители и дочерние агенты выполняют рабочие шаги.

Технический текст (оригинальный 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 person ask.say when the reply has it, then run ask.start. In an unattended run (CI, a cloud agent) describe never asks the person; when ask.inputs is listed, fill {inputs} in ask.start with 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 them ask.question.text as it is, each entry of ask.question.inputs, and the label of each option as their choices. An entry with a value is a proposal: show it with its why, 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 the start of 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 person ask.reason and give them ask.start for their own terminal. It is theirs to run.
  • denied: tell the person ask.reason. Nothing is left to run here.
  • tool: this session names no tool, and the run needs one. In ask.describe, replace {tool} with the entry of ask.tools for 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 person ask.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.

  1. Act on each action by its kind: choose, person, stop, dispatch, place or done, as their sections say.
  2. Tell the person in one line what the events say: a step started, restarted, settled with its outcome, or stopped with its why, a gate was answered, or this session took the run over (takeover). Tell them waiting.reason when it changes. For judging, judged and judging-off, follow references/judging.md.
  3. Run then.run of 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.
  4. 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. Follow reference: 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
Лицензия
—
Обновлён
02.11.2026

Полезен ли этот скилл?

0

Войдите , чтобы голосовать.

Комментарии

  • …

Другие скиллы из этого репозитория

core

5.7k

Помогает агенту синхронизировать общие ИИ-скиллы и правила команды командами pull и push, проверять их статус, запускать проверку работоспособности и переходить к другим рабочим процессам TeamAI.

ПрограммированиеКод в целом

setup

5.7k

Помогает агенту настроить TeamAI для команды: создать новый репозиторий команды как администратор или присоединиться к существующему, а также управлять участниками, ролями и удалением.

ПрограммированиеКод в целом

share

5.7k

Помогает агенту превратить то, что сессия программирования показала, в короткий командный урок и опубликовать его в общей базе знаний команды командой teamai contribute.

ПродуктивностьПочта и сообщения

wiki

5.7k

Помогает агенту превратить большую кодовую базу из многих репозиториев в структурированную базу знаний, где каждый вывод ведёт к строке кода, из которой он взят.

Тексты и документыДокументация

Похожие скиллы