Logo Run Work

Run Work

Tổ chứcPhổ biến
hashgraph-online
run-work

Thực hiện trọn vẹn một đơn vị công việc: sắp xếp thứ tự tác vụ theo các phần phụ thuộc, triển khai, kiểm thử giữa các tác vụ, commit và theo dõi tiến độ. Dùng để hoàn thành một tính năng trong một phiên. Gọi bằng /agiflow:run-work <work-unit>. Sử dụng get_work_unit, list_tasks, update_task, get_work_unit_progress.

Add to TypingMind

Tổng quan

Nhà phát hànhhashgraph-online
Kho mãawesome-codex-plugins
Tên kỹ năngrun-work
Sao
1.3K
Bản fork
360
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépApache-2.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được hashgraph-online công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Run Work trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/hashgraph-online/awesome-codex-plugins/tree/main/plugins/AgiFlow/ai-plugin/skills/run-work
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/hashgraph-online/awesome-codex-plugins.git /tmp/awesome-codex-plugins
mkdir -p .claude/skills
cp -r /tmp/awesome-codex-plugins/plugins/AgiFlow/ai-plugin/skills/run-work .claude/skills/run-work
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Run Work trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Run Work ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Run Work với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Invoked as /agiflow:run-work. In hosts without slash-prompts, this skill is triggered by matching intent and drives AgiFlow via its MCP tools.

Usage:

  • /agiflow:run-work <work-unit-slug-or-id> - Execute specific work unit
  • /agiflow:run-work - List and select from available work units

Examples:

  • /agiflow:run-work DXX-WU-1 (using slug)
  • /agiflow:run-work 01K8FABMNEJG1XTA9JGHSNFV40 (using ID)
  • /agiflow:run-work (interactive selection)

Guardrails

  • Favor straightforward, minimal implementations first and add complexity only when it is requested or clearly required.
  • Keep changes tightly scoped to the requested outcome within the work unit scope.
  • A work unit represents a cohesive feature/epic that can be completed in one Claude Code session.

If a work unit slug/id is provided, load it with get_work_unit; otherwise list available work units with list_work_units for selection.


AgiFlow Project Management Guidelines

Follow the shared AgiFlow project-management guidelines in references/agiflow-agents.md — agent assignment, the task status workflow and transitions, work-unit best practices, and the tags strategy apply to this workflow.


Task Status Workflow (per task) Each task moves individually through: Todo → In Progress → Testing → Review The work unit stays in_progress until all tasks reach Review or Done. If any task hits Blocked, consider setting the work unit to blocked too.

IMPORTANT: Planning Status Guard This skill ONLY executes tasks in "Todo" or later status. Tasks in "Planning" have NOT been groomed and are NOT ready for execution. Use backlog-grooming to promote Planning tasks to Todo first.

Steps Track these steps as TODOs and complete them one by one.

1. Work Unit Selection & Loading

If work unit slug/id NOT provided:

  1. Use list_work_units MCP tool to show available work units:
    • Filter by status: "in_progress" for active work, or work units with tasks in "Todo"
    • Do NOT pick up work units where all tasks are still in "Planning" status
    • Display: slug, title, type, priority, task count, status
  2. Ask user to select which work unit to work on.
  3. Once user selects, proceed with the selected work unit slug/id.

If work unit slug/id IS provided: 4. Use get_work_unit MCP tool with the provided slug/id to retrieve:

  • Work unit: title, description, goals, type, priority, status, dates, devInfo
  • Tasks: All tasks associated with this work unit (already included in response)
  • Note: get_work_unit returns tasks automatically - no separate list_tasks call needed
  1. Review the work unit and all its tasks to understand:
    • Complete feature scope and deliverables
    • Task dependencies and execution order
    • Acceptance criteria across all tasks

5b. PLANNING STATUS GUARD (MANDATORY):

  • Check all tasks in the work unit
  • If ANY task has status "Planning": REFUSE to execute
  • Report: "Cannot execute: N task(s) are still in Planning status. Use backlog-grooming to promote them to Todo first."
  • List the Planning tasks by title
  • STOP execution — do not proceed

2. Start Work Unit Execution

  1. If work unit status is "planning":
    • First verify ALL tasks are in "Todo" or later status (not "Planning")
    • If verified, use update_work_unit MCP tool to set status to "in_progress"
    • If any tasks are in "Planning", REFUSE and suggest backlog-grooming
  2. Create a TODO list of all tasks in execution order (use TodoWrite tool).
  3. Document execution plan in work unit via update_work_unit devInfo:
    typescript
    devInfo: {
      executionPlan: "Backend API → Frontend UI → Tests → Documentation",
      sessionId: "<current-session-id>",
      startedAt: "<timestamp>"
    }

3. Execute Tasks Sequentially

  1. For each task in the work unit (in dependency order from the tasks array):

    • Review task details: title, description, acceptance criteria, assignee
    • Use update_task MCP tool to set status to "In Progress"
    • BEFORE editing any code: Use architect MCP get_file_design_pattern (MANDATORY)
    • Implement the task following acceptance criteria
    • AFTER editing code: Use architect MCP review_code_change (MANDATORY)
    • Update task devInfo with implementation notes:
      typescript
      devInfo: {
        filesChanged: ["path/to/file.ts:42"],
        testResults: { passed: true, coverage: "85%" },
        notes: "Implementation notes here"
      }
    • Mark acceptance criteria as checked via update_task

    Testing phase for each task:

    • Use update_task to move status to "Testing"

    • Run unit tests, integration tests, type check and lint for affected code

    • If tests PASS: proceed to move task to "Review"

    • If tests FAIL:

      • Increment retryCount in devInfo
      • If retryCount >= maxRetries (default: 2): move task to "Blocked", set work unit to "blocked", stop
      • If retryCount < maxRetries: move task back to "Todo", document failure, continue to next task or stop session
    • Use update_task to set status to "Review" when tests pass

    • Update your TODO list (mark task as completed)

  2. Between tasks:

    • Commit changes with meaningful commit messages
    • Run tests to ensure no regressions
    • Update work unit progress in devInfo

4. Work Unit Progress Tracking

  1. The work unit tasks array automatically updates as tasks are completed.

    • Use get_work_unit to check current state and task statuses
    • Track: How many tasks in Review or Done vs. total?
    • Monitor: Are we on track for target date?
    • Work unit stays in_progress until all tasks reach Review or Done
  2. Update work unit devInfo as you progress via update_work_unit:

    typescript
    devInfo: {
      executionPlan: "...",
      sessionId: "<session-id>",
      startedAt: "<timestamp>",
      progress: {
        completedTasks: 3,
        totalTasks: 8,
        lastTaskCompleted: "Implement cart API",
        currentTask: "Add cart UI component"
      },
      testResults: {
        unitTests: "passing",
        integrationTests: "passing",
        coverage: "85%"
      },
      blockers: [] // or list any blockers encountered
    }

5. Work Unit Completion

  1. When ALL tasks in work unit are in "Review" or "Done":

    • Verify all tasks have status "Review" or "Done"
    • Verify all acceptance criteria across all tasks are met
    • Run full test suite for the feature
    • Review all files changed (use git diff)
  2. Draft a PR description for the work unit (DO NOT create the PR yet - just draft the text):

    • Title format: [WORK-UNIT-SLUG] Work unit title (e.g., [DXX-WU-1] Shopping cart feature)
    • Body should include:
      • Work unit reference and summary
      • List of tasks completed
      • Summary of all changes across tasks
      • Files modified (use file.ts:42 format)
      • Test results
  3. Use update_work_unit to set status to "completed" and save draft PR text and commit message:

    typescript
    {
      status: "completed",
      completedAt: new Date(),
      devInfo: {
        ...existing,
        draftCommitMessage: "feat(cart): implement shopping cart feature\n\n- Add cart API endpoints\n- Add cart UI components\n- Add integration tests\n\nCloses: DXX-WU-1",
        draftPr: {
          title: "[DXX-WU-1] Shopping cart feature",
          body: "## Summary\n\nImplemented shopping cart feature.\n\n## Tasks Completed\n\n- [DXX-1] Add cart API\n- [DXX-2] Add cart UI\n- [DXX-3] Add cart tests\n\n## Changes\n\n- Added cart endpoints\n- Added cart components\n- Added integration tests\n\n## Files Modified\n\n- src/api/cart.ts:42\n- src/components/Cart.tsx:15\n- tests/cart.test.ts:1\n\n## Test Results\n\nAll tests passing. Coverage: 85%"
        },
        finalNotes: "All tasks completed. Files changed: [...]. Tests passing.",
        completedBy: "<member-id>",
        totalDuration: "3.5 hours"
      }
    }

    Note on draftCommitMessage: Write a conventional commit message that will be used for the final git commit. Format: type(scope): description with optional body listing changes.

  4. Create final summary comment documenting:

    • Work unit scope and goals achieved
    • All files created/modified (use file.ts:42 format)
    • Test coverage and results
    • Any follow-up work needed
    • Performance or architectural notes

6. Handle Blockers or Scope Changes

  1. If blocked on a task:

    • Use update_task to set task status to "Blocked"
    • Use update_work_unit to set status to "blocked"
    • Document blocker in work unit devInfo
    • Use create_task_comment on blocked task with details explaining what human intervention is needed
    • Consider creating follow-up tasks for blockers
  2. If scope changes during execution:

    • Use create_task to add new tasks to work unit
    • Update work unit description/goals if needed
    • Communicate scope change in work unit comments

Common Mistakes to Avoid

  • ❌ Starting without reviewing all tasks in work unit (lack of context)
  • ❌ Working on tasks in wrong order (missing dependencies)
  • ❌ Skipping vibe-lint MCP validation (MANDATORY for every file)
  • ❌ Not tracking work unit-level progress in devInfo
  • ❌ Completing tasks in isolation without considering work unit goals
  • ❌ Not running integration tests between tasks
  • ❌ Moving task to "Review" without first going through "Testing"
  • ❌ Marking work unit complete when tasks are still in "In Progress" or "Testing"
  • ❌ Not documenting scope changes or blockers
  • ❌ Forgetting to commit between tasks (losing incremental progress)
  • ❌ Not updating work unit status when blocked
  • ❌ Setting work unit to "completed" before all tasks reach "Review" or "Done"
  • ❌ Executing tasks that are still in "Planning" status (must be promoted to "Todo" via backlog-grooming first)

Câu hỏi thường gặp

Kỹ năng AI Run Work làm được gì?

Thực hiện trọn vẹn một đơn vị công việc: sắp xếp thứ tự tác vụ theo các phần phụ thuộc, triển khai, kiểm thử giữa các tác vụ, commit và theo dõi tiến độ. Dùng để hoàn thành một tính năng trong một phiên. Gọi bằng /agiflow:run-work <work-unit>. Sử dụng get_work_unit, list_tasks, update_task, get_work_unit_progress.

Vì sao nên dùng Run Work trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Run Work là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Run Work trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/hashgraph-online/awesome-codex-plugins/tree/main/plugins/AgiFlow/ai-plugin/skills/run-work. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Run Work?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Run Work với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Run Work với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Run Work có miễn phí không?

Có. Kỹ năng này được hashgraph-online phát hành trên GitHub theo giấy phép Apache-2.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇