Chuyển đến nội dung
Skillpedia
Agent5.4k · #14959

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.md

Sao 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

Hãy dùng skill này để giúp tôi: https://github.com/Waishnav/devspace/blob/main/skills/workflows/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

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

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự