본문으로 건너뛰기
Skillpedia
일반 코딩5.7k · #14746

workflow

하는 일

이 스킬은 코딩 세션 안에서 팀 워크플로를 단계별로 진행하는 방법을 에이전트에게 가르칩니다. TeamAI가 출력하는 명령을 따르고, 실행이 계속되는 동안 사람에게 상황을 알려 줍니다.

사용하는 경우

  • ✓생성된 워크플로 스킬이 에이전트에게 팀 워크플로 실행을 지시할 때.
  • ✓사람이 이 세션에서 팀 워크플로를 실행해 달라고 요청할 때.
  • ✓워크플로 실행이 계속하려면 사람에게 질문 하나를 해야 할 때.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/Tencent/teamai-cli/blob/main/skill-data/workflow/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“저에게 주어진 팀 워크플로를 이 세션에서 실행하고 각 단계마다 진행 상황을 알려 주세요.”

매주 새 스킬 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
라이선스
—
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬