workflows
Skill này làm gì
Skill này tạo và chạy các script workflow DevSpace kết hợp nhiều lệnh gọi subagent theo từng giai đoạn, song song hoặc theo chuỗi. Nó dành cho các nhóm lặp lại cùng một kế hoạch nhiều agent.
Khi nào nên dùng
- ✓Khi một tác vụ có kế hoạch lặp lại với nhiều agent làm việc theo từng giai đoạn.
- ✓Khi bạn muốn một kế hoạch lặp cho đến khi các bài kiểm thử đạt hoặc việc xem xét được duyệt.
- ✓Khi bạn cần chạy cùng một đợt xem xét đa agent trên nhiều mục.
Liên kết skill
https://github.com/Waishnav/devspace/blob/main/skills/workflows/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
“Bạn có thể viết một workflow DevSpace lên kế hoạch cho một thay đổi, để một người phê bình xem xét, và lặp lại cho đến khi việc xem xét được duyệt không?”
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 dùng các nguyên thủy được phép, rồi chạy và đợi kết quả. Workflow mặc định chỉ đọc, nên cần bật chế độ ghi để thay đổi dự án.
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.
DevSpace workflows
Use a workflow when a task has a repeatable multi-agent plan. Keep one-off delegation on the subagents commands.
Named workflows live in the current project's .devspace/workflows/ directory.
Write a workflow
Before writing or editing a workflow script, read reference.md next to this file. It defines the only syntax and primitives the sandbox accepts (agent, phase, parallel, pipeline, workflow, log, args), the meta rules, agent options, structured output schemas, and limits. Do not guess the API.
Then read patterns.md for proven engineering loops to adapt: plan with a critic, implement-review-fix until approved, a QA gate that loops until tests pass, explore-then-synthesize, multi-lens review with verified findings, bake-offs between agents, mapping one change over many units, debugging with competing hypotheses, and composing them.
Run a workflow
Run a named workflow or a specific file:
devspace workflow run --name <name> [--args '<json>']
devspace workflow run --file <path> [--args-file <path>]
The command returns a compact <workflow id="..." status="..."/> receipt. Keep the ID. Workflow code is read-only by default; add --write-mode allowed only when the workflow must modify the project.
Wait up to 60 seconds at a time. Repeat wait if the returned status is still running; do not poll status in a loop.
devspace workflow wait <id> --timeout 60
Inspect current state, calls, or one full call when needed:
devspace workflow status <id>
devspace workflow calls <id>
devspace workflow call <id> <index>
devspace workflow events <id> --after <last-sequence>
devspace workflow ls
events returns at most 100 persisted log and phase entries. Keep the highest sequence and pass it with --after for the next page.
Cancel only when the parent task no longer needs the run:
devspace workflow cancel <id>
Resume an interrupted or failed run from its durable call history. Resume reuses the original arguments and write mode:
devspace workflow run --resume <id>
Use --json only for scripts that need structured output.
Câu hỏi thường gặp
Workflow có thể thay đổi dự án của tôi không?
Chỉ khi bạn cho phép. Skill ghi rằng code workflow mặc định chỉ đọc và cần cờ chế độ ghi để sửa dự án.
Workflow được lưu ở đâu?
Các workflow đã đặt tên được lưu trong thư mục workflows của dự án.
Có mẫu để bắt đầu không?
Có. Skill có các mẫu đã được kiểm chứng như lập kế hoạch với người phê bình và vòng lặp triển khai, xem xét, sửa.
Chi tiết
Mô tả gốc của tác giả
Write, run, and inspect persisted multi-agent DevSpace workflows, JavaScript scripts that compose subagent calls with agent, phase, parallel, and pipeline.
repo: Waishnav/devspace
Độ phổ biến
- Sao GitHub
- 5.4k
- Vị trí xếp hạng
- #14959
- Giấy phép
- MIT
- Cập nhật
- 1/11/2026
Bình luận
- …
Thêm skill từ kho mã này
Skill tương tự
add-model-provider
394kGiúp agent của bạn kết nối nhà cung cấp mô hình AI mới với OpenClaw bằng lệnh an toàn, giữ API key khỏi văn bản thuần và chạy thử.
acp-router
394kGiúp agent của bạn gửi một tác vụ đến trợ lý lập trình như Claude Code hoặc Cursor qua OpenClaw, để công việc chạy ngay trong công cụ đó.
browser-automation
394kHướng dẫn agent của bạn điều khiển trang web từng bước, gồm đăng nhập, tab và cách khôi phục khi trang ngừng phản hồi.