workflow-creator
できること
プロジェクトのワークフロー用フォルダに、再利用できるワークフローのファイルを作成または編集し、それぞれにスラッシュコマンドを割り当てます。同じ複数手順の作業を繰り返す人が、それを保存しておくためのものです。
使う場面
- ✓複数手順のエージェントの作業を、再利用できるように保存したいとき。
- ✓保存済みのワークフローを編集したいとき。
- ✓プロジェクトにワークフローを作成または保存するよう依頼するとき。
スキルのリンク
https://github.com/QwenLM/qwen-code/blob/main/packages/core/src/skills/bundled/workflow-creator/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“毎週のリリース確認リストを再利用できるワークフローとして保存して、1つのスラッシュコマンドで実行できるようにしてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、プロジェクトのワークフロー用フォルダに小さなワークフロースクリプトを書き、手順が正しいか読み返して確認します。ファイルのパスとスラッシュコマンドを報告します。依頼がなければ、ワークフローは実行しません。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Workflow Creator
Create and maintain saved Dynamic Workflows for the current workspace.
Boundary
- This skill manages
.qwen/workflows/<name>.jsfiles used by theworkflowtool 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/workflowsdirectories 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/workflowsonly when the user explicitly asks for a workflow shared across projects.
Workflow
- 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.
- Choose a lower-case name containing only letters, digits, and hyphens. It must start with a letter and be at most 41 characters.
- Create the smallest script that captures the requested phases, dependencies, and final result. Do not add speculative branches, retries, or agents.
- 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.
- 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, andbudget. Theworkflow-authoringskill 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 toparallel. - Keep dependent work sequential and pass prior results explicitly.
- Put variable user input in
argsinstead of hard-coding one-off values. - End every successful path with an explicit
returnof the final result. A trailing expression is not a return value. - Do not use
node --checkfor validation: valid workflow scripts may contain top-levelawaitandreturnbecause 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.
よくある質問
ワークフローはどこに保存されますか?
標準ではプロジェクトのワークフロー用フォルダに保存されます。共有のフォルダを希望した場合だけ、ホームフォルダに保存されます。
保存後にワークフローを実行しますか?
いいえ。別途依頼があった場合にだけ実行します。
ワークフローにはどんな名前を付けられますか?
小文字、数字、ハイフンを使い、文字で始めて、41文字までにします。
詳細
作者による元の説明
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
人気
- GitHubのスター
- 29k
- ランキング
- #9789
- ライセンス
- Apache-2.0
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
codegraph
29kエージェントが、索引化されたコードベースを、呼び出しグラフ、依存関係、デッドコード、ホットスポット、意味検索を通じて分析できるよう支援します。
qwen-code-claw
29kエージェントが、コードベースの理解、バグ修正、リファクタリング、新しいプロジェクトの生成などのコーディング作業を、Qwen Codeに任せられるよう支援します。
structured-debugging
29kエージェントに、難しいバグを段階的に調べる方法を教えます。仮説を立て、的を絞った確認を行い、検証して、修正の前に本当の原因を見つけます。
tmux-real-user-testing
29kエージェントが、tmux内でターミナルアプリを実際のユーザーのように試せるよう支援します。各操作の画面のスナップショットを付けた、読みやすい手順のログを保存します。