huangjinlian615-star/hiclaw-test/task-delegation
Claude Code and agent skill by huangjinlian615-star/hiclaw-test
- community
Checking that the SKILL.md file is still in the repository.
Use only after Project Work mode is selected, when a TeamHarness Leader delegates ready project nodes, writes task specs, checks Worker results, and routes completion or blocker messages.
Install
npx vskill@latest install huangjinlian615-star/hiclaw-test/task-delegationSKILL.md
The same SKILL.md was published earlier as huangjinlian615-star/hiclaw-test/task-delegation.
Task Delegation
Use this skill when acting as Leader to create and delegate task specs.
Each delegated task should have a task id, owner, scope, expected deliverables, acceptance criteria, and blocker reporting path. Write task instructions to the shared task directory before asking the owner to execute.
A submitted result is only a candidate result until accepted by the Leader. Do not use this skill to turn ordinary conversation into tasks.
Scope
Use this skill for:
taskflowcalls as Leader- converting a ready project node into a Worker task spec
- checking a submitted Worker result
- routing task assignment and completion messages
Use teamharness-project-management to create projects, plan DAG or Loop work, resolve ready nodes, record Loop iteration decisions, and accept results into project progress.
Delegate Only Ready Nodes
Within Project Work, do not create bare tasks directly from a user request. First create or update a project DAG, then delegate a ready project node returned by projectflow readyNodes, or create/update a Loop and delegate a ready project node returned by readyLoopNodes.
For a single-task Project Work item, projectflow create_quick_project may be used instead. It already writes shared/tasks/{task-id}/meta.json, shared/tasks/{task-id}/spec.md, and marks the task assigned; do not call delegate_task again for that task. After it returns ok: true, send the same assignment message you would send after delegate_task.
Before delegation:
- Read
TEAMS.mdfor the Worker Matrix ID and Team Room ID. - Confirm the node came from
readyNodesorreadyLoopNodes. - Write a bounded task spec through
taskflow. The spec must include the
completion report instruction below.
- Mention the assigned Worker in the assignment room only after
delegate_task succeeds. Use the Team Room for Matrix DM-originated work, or the assignment room returned by roomflow for external requester channels. For external channels, roomflow must receive the stable sourceRoomId from the current channel metadata so repeated tasks from that source room reuse one Matrix assignment room.
- Do not create task-specific or worker-specific
sourceRoomIdvalues. Reuse
the exact external sourceRoomId from the current requester room. Before sending the assignment message, call roomflow with that same sourceRoomId and include the assigned Worker in invite; include any other Workers who need to observe or work in the same assignment room.
Delegate Task
Call taskflow with role: "leader" and pass payload as an object:
delegate_task writes:
It also changes the project node status to assigned.
Task Spec Completion Report
Every delegated task spec must include this final instruction, with the task id and result path adjusted for the actual task:
If the project node already contains a custom completion line, preserve it and still make the Leader mention requirement explicit.
Assignment Message
After delegate_task returns ok: true, use teamharness-communication to mention the Worker in the assignment room:
Do not ask the Worker to edit project files. Do not ask several Workers to own the same task directory.
Check Submitted Task
When a Worker reports completion or blocker status, call:
If effective is false, do not accept the task. Tell the Worker what is missing and wait for a corrected result.
If effective is true, return to teamharness-project-management and decide whether to accept the result into project progress.
Result Contract
Worker results should contain:
Accepted statuses are:
SUCCESSSUCCESS_WITH_NOTESREVISION_NEEDEDBLOCKED
Submitting a result ends that Worker task. If more work is needed, create a new project node and delegate a new task.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/teamharness/skills/team/task-delegation/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/huangjinlian615-star/hiclaw-test/task-delegation)