david-li0406/meta-skill-evloving/worker-workflow

Claude Code and agent skill by david-li0406/meta-skill-evloving

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Core task execution workflow for teamwork workers (Phase 1-5). Ensures workers properly claim, execute, and update task status.

Install

npx vskill@latest install david-li0406/meta-skill-evloving/worker-workflow

SKILL.md

The same SKILL.md was published earlier as david-li0406/meta-skill-evloving/worker-workflow.

Task Execution Workflow

This skill provides the complete workflow for executing teamwork tasks. Follow these phases in order.

Input Format

Your prompt includes:

TEAMWORK_DIR: {path to teamwork directory}
PROJECT: {project name}
SUB_TEAM: {sub-team name}
SCRIPTS_PATH: {path to scripts directory}
Options:
- role_filter: {role} (optional)
- strict_mode: true|false

<WARNING> SCRIPTS_PATH is NOT a shell environment variable.

The value SCRIPTS_PATH: /path/to/scripts in your prompt is text. When writing bash commands:

WRONG (will fail):

bash
bun "$SCRIPTS_PATH/task-list.js" # Shell cannot expand $SCRIPTS_PATH

CORRECT (substitute the actual value):

bash
bun "/path/to/scripts/task-list.js" # Use the value from your prompt directly

Always extract the path from your prompt and use it literally in commands. </WARNING>


Phase 1: Find Task

List available tasks (open, unblocked, unclaimed):

bash
bun "$SCRIPTS_PATH/task-list.js" --project {PROJECT} --team {SUB_TEAM} --available --format json

Or filter by your role:

bash
bun "$SCRIPTS_PATH/task-list.js" --project {PROJECT} --team {SUB_TEAM} --available --role {role_filter}

If no task found: Report "No available tasks" and exit.

Phase 2: Claim Task

Atomically claim the task before starting work:

bash
bun "$SCRIPTS_PATH/task-claim.js" --project {PROJECT} --team {SUB_TEAM} --id {TASK_ID} --owner ${CLAUDE_SESSION_ID}

If claim fails (conflict): Another worker took it. Find a different task.

Phase 3: Implement

Execute the task using your specialization:

  1. Read the task description carefully
  2. Use tools (Read, Write, Edit, Bash)
  3. Follow existing patterns in the codebase
  4. Keep changes focused on the task scope

Phase 4: Verify & Collect Evidence

For each deliverable, collect concrete evidence:

Bad EvidenceGood Evidence
"Tests pass""npm test: 15/15 passed, exit code 0"
"API works""curl /api/users: 200 OK, 5 users returned, exit 0"
"File created""Created src/auth.ts (127 lines)"

Exit code requirement: All command evidence MUST include exit code.

Phase 5: Update Task Status (CRITICAL)

This phase is MANDATORY. Never skip it.

On Success

Mark task as resolved with evidence:

bash
bun "$SCRIPTS_PATH/task-update.js" --project {PROJECT} --team {SUB_TEAM} --id {TASK_ID} \
--status resolved \
--add-evidence "Created src/models/User.ts (85 lines)" \
--add-evidence "npm test: 12/12 passed, exit code 0" \
--owner ${CLAUDE_SESSION_ID}
On Failure

Add failure evidence and release the task for another worker:

bash
# Add evidence of what went wrong
bun "$SCRIPTS_PATH/task-update.js" --project {PROJECT} --team {SUB_TEAM} --id {TASK_ID} \
--add-evidence "FAILED: npm test exited with code 1 - TypeError in auth.ts:42" \
--owner ${CLAUDE_SESSION_ID}
# Release task for retry by another worker
bun "$SCRIPTS_PATH/task-update.js" --project {PROJECT} --team {SUB_TEAM} --id {TASK_ID} \
--release --owner ${CLAUDE_SESSION_ID}

Do NOT mark as resolved if failed - release for retry.


Phase 6: Commit Changes

After task is marked resolved, commit ONLY the files you modified:

⚠️ CRITICAL: Selective File Staging

bash
# ❌ FORBIDDEN - NEVER use these:
git add -A # Stages ALL files
git add . # Stages ALL files
git add --all # Stages ALL files
git add * # Glob expansion - dangerous
# ✅ REQUIRED - Only add files YOU modified during this task:
git add path/to/file1.ts path/to/file2.ts && git commit -m "$(cat <<'EOF'
<type>(<scope>): <short description>
[teamwork] Project: {PROJECT} | Team: {SUB_TEAM} | Task: {TASK_ID}
{TASK_TITLE}
Evidence:
- {evidence 1}
- {evidence 2}
Files changed:
- path/to/file1.ts
- path/to/file2.ts
EOF
)"

Why selective staging?

  • Other workers may have uncommitted changes in the repo
  • Only YOUR task changes should be in this commit
  • Enables clean rollback per task if needed

Angular Commit Message Types:

TypeWhen to Use
featNew feature or functionality
fixBug fix
refactorCode refactoring without behavior change
testAdding or modifying tests
docsDocumentation changes
styleCode style changes (formatting, etc.)
choreBuild, config, or maintenance tasks

Skip commit if:

  • No files changed (git status --porcelain is empty)
  • Task not resolved (failed/released)

Summary Checklist

Before ending your work, verify:

  • [ ] Phase 1: Found an available task
  • [ ] Phase 2: Successfully claimed it
  • [ ] Phase 3: Implemented the solution
  • [ ] Phase 4: Collected concrete evidence with exit codes
  • [ ] Phase 5: Called task-update.js with --status resolved OR --release
  • [ ] Phase 6: Committed ONLY your modified files (if task resolved)

If you skip Phase 5, the task will remain stuck in `in_progress` status forever. If you skip Phase 6, your changes may be lost or mixed with other workers' changes.

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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/david-li0406/meta-skill-evloving/worker-workflow/badge)](https://verified-skill.com/skills/david-li0406/meta-skill-evloving/worker-workflow)

Something wrong with this skill or its page? Tell us.