workflow-creator
Skill này làm gì
Skill này tạo hoặc chỉnh sửa các file workflow có thể tái sử dụng trong thư mục workflow của dự án và gán cho mỗi file một lệnh slash. Dành cho người lặp lại cùng một công việc nhiều bước của agent và muốn lưu lại.
Khi nào nên dùng
- ✓Khi bạn muốn lưu một công việc agent nhiều bước để tái sử dụng.
- ✓Khi bạn muốn chỉnh sửa một workflow đã lưu.
- ✓Khi bạn yêu cầu tạo hoặc lưu một workflow trong dự án.
Liên kết skill
https://github.com/QwenLM/qwen-code/blob/main/packages/core/src/skills/bundled/workflow-creator/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Lưu một workflow có thể tái sử dụng cho danh sách kiểm tra phát hành hàng tuần của tôi, để tôi chạy nó bằng một lệnh slash.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent viết một script workflow nhỏ vào thư mục workflow của dự án, đọc lại để kiểm tra các bước, rồi báo cáo đường dẫn file và lệnh slash. Nó không chạy workflow trừ khi bạn yêu cầu.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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.
Câu hỏi thường gặp
Các workflow được lưu ở đâu?
Mặc định chúng nằm trong thư mục workflow của dự án, và chỉ chuyển sang thư mục home nếu bạn yêu cầu một thư mục dùng chung.
Nó có chạy workflow sau khi lưu không?
Không. Nó chỉ chạy workflow nếu bạn cũng yêu cầu như vậy.
Tôi có thể đặt tên workflow như thế nào?
Chữ thường, chữ số và dấu gạch ngang, bắt đầu bằng một chữ cái và tối đa 41 ký tự.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 29k
- Vị trí xếp hạng
- #9789
- Giấy phép
- Apache-2.0
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
codegraph
29kGiúp agent của bạn phân tích một codebase đã lập chỉ mục qua đồ thị gọi, phụ thuộc, mã chết, điểm nóng và tìm kiếm theo ngữ nghĩa.
qwen-code-claw
29kGiúp agent của bạn giao các tác vụ lập trình cho Qwen Code, như tìm hiểu codebase, sửa lỗi, tái cấu trúc mã hoặc tạo một dự án mới.
structured-debugging
29kDạy agent của bạn cách gỡ lỗi khó theo từng bước: đặt giả thuyết, thêm kiểm tra có mục tiêu, kiểm thử và tìm nguyên nhân thật trước khi sửa.
tmux-real-user-testing
29kGiúp agent của bạn kiểm thử một ứng dụng terminal như người dùng thật trong tmux, lưu nhật ký từng bước dễ đọc kèm ảnh chụp màn hình của mỗi hành động.
Skill tương tự
knowledge-automation
394kGiúp agent của bạn thiết lập tác vụ định kỳ đưa nội dung mới vào kho Knowledge theo lịch, rồi kiểm tra tác vụ có chạy không.
knowledge-source-ingest
394kGiúp agent của bạn cập nhật Knowledge vault với các mục mới từ kênh chat, nguồn tin hoặc hộp thư, mà không thêm lại những gì đã có.
benchmark
280kGiúp agent của bạn đo tốc độ và hiệu suất của code, hữu ích để đảm bảo mọi thứ nhanh và tìm ra những chỗ chậm.