Pular para o conteúdo
Skillpedia
Automações29 mil · #9789

workflow-creator

O que ela faz

Ela cria ou edita arquivos de fluxo de trabalho reutilizáveis na pasta de fluxos do projeto e dá a cada um um comando de barra. É para quem repete a mesma tarefa de agente em várias etapas e quer salvá-la.

Quando usar

  • ✓Quando você quer salvar uma tarefa de agente em várias etapas para reutilizar.
  • ✓Quando você quer editar um fluxo salvo que já existe.
  • ✓Quando você pede para criar ou salvar um fluxo no seu projeto.

Link da skill

https://github.com/QwenLM/qwen-code/blob/main/packages/core/src/skills/bundled/workflow-creator/SKILL.md

Copie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.

Como usar

O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.

Mensagem pronta para colar

Use esta skill para me ajudar: https://github.com/QwenLM/qwen-code/blob/main/packages/core/src/skills/bundled/workflow-creator/SKILL.md Leia o arquivo SKILL.md desse link e siga as instruções dele na minha tarefa.
Quer que a sua IA encontre skills como esta sozinha?Instale o MCP grátis do Skillpedia: uma linha, e ela pesquisa entre 15.000+ skills antes de cada tarefa.Instalar em 1 minuto →

Exemplo do que pedir para a IA

“Salve um fluxo reutilizável para a minha lista semanal de checagem de lançamento, para eu conseguir executá-lo com um único comando de barra.”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

O agente escreve um pequeno script de fluxo na pasta de fluxos do projeto, relê o arquivo para conferir as etapas e informa o caminho do arquivo e o comando de barra. Ele não executa o fluxo, a menos que você peça.

Conteúdo técnico (SKILL.md original)

Texto original do autor, em inglês, direto do GitHub.

Workflow Creator

Create and maintain saved Dynamic Workflows for the current workspace.

Boundary

  • This skill manages .qwen/workflows/<name>.js files used by the workflow tool and exposed as /<name> slash commands.
  • Do not create or edit qwen-workflow-design/*.yaml; those Task Flow definitions are a different feature.
  • Local hosts may also discover trusted ancestor .qwen/workflows directories up to the nearest Git root, with the nearest definition first. Discovery does not change the project save destination: use the current session target.
  • Use project scope by default. Write to ~/.qwen/workflows only when the user explicitly asks for a workflow shared across projects.

Workflow

  1. Inspect the current task and any existing workflow with the requested name. Ask a question only when the goal, ordering, or write scope is materially ambiguous.
  2. Choose a lower-case name containing only letters, digits, and hyphens. It must start with a letter and be at most 41 characters.
  3. Create the smallest script that captures the requested phases, dependencies, and final result. Do not add speculative branches, retries, or agents.
  4. Read the saved file back and verify its name, metadata, phase order, dependency flow, and final return value. Do not execute it unless the user also asks to run it.
  5. Report the saved path and slash command. In the interactive TUI's ink renderer, the slash command runs in the foreground: progress stays in the tool card, and completion displays the result and notifies the model. The OpenTUI renderer does not yet run client-scheduled tools; there, ask the model to call Workflow({ name: '<name>' }) instead. /workflows <runId> shows the run after it settles. In Web Shell, tell the user to return to Workflows and refresh the Saved tab if it is already open.

Script contract

  • Start with a literal metadata declaration:
export const meta = {
  name: 'Release readiness',
  description: 'Inspect, validate, and summarize a release candidate',
};
  • Use the sandbox globals phase(title), log(message), agent(prompt, options?), parallel(thunks), pipeline(items, ...stages), workflow(nameOrRef, args?), args, and budget. The workflow-authoring skill is the full reference for them — load it before writing anything beyond a trivial script.
  • Scripts cannot import modules or access the filesystem, shell, environment, or network directly. Put required reads and actions in explicit agent prompts.
  • Give every agent a complete, scoped prompt and a concise label. State whether it may edit files.
  • Express real concurrency as parallel([() => agent(...), () => agent(...)]). Do not pass already-started promises to parallel.
  • Keep dependent work sequential and pass prior results explicitly.
  • Put variable user input in args instead of hard-coding one-off values.
  • End every successful path with an explicit return of the final result. A trailing expression is not a return value.
  • Do not use node --check for validation: valid workflow scripts may contain top-level await and return because the runtime wraps them in an async function.

Updates

  • Preserve unrelated behavior and metadata when editing an existing workflow.
  • Do not overwrite an existing workflow with a different design unless the user requested that update.
  • Do not delete or rename a workflow unless the user explicitly asks.
Perguntas frequentes

Onde os fluxos são salvos?

Por padrão, na pasta de fluxos do projeto, e só vão para a pasta pessoal se você pedir uma pasta compartilhada.

Ele executa o fluxo depois de salvar?

Não. Ele só executa o fluxo se você também pedir.

Que nome posso dar a um fluxo?

Letras minúsculas, dígitos e hífens, começando com letra e com até 41 caracteres.

Detalhes

Descrição original do autor

Create or update reusable Dynamic Workflow JavaScript files under .qwen/workflows. Use when the user asks to create, save, edit, or reuse a Dynamic Workflow, including requests started from the Web Shell Workflows page.

repo: QwenLM/qwen-code

Popularidade

Estrelas no GitHub
29 mil
Posição no ranking
#9789
Licença
Apache-2.0
Atualizada em
02/11/2026

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Mais skills deste repositório

Skills parecidas