task-locking

Community

Prevent race conditions in multi-agent workflows.

Authordtannen
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill prevents data corruption and ensures smooth operation in multi-agent systems by implementing atomic task locking, guaranteeing that only one agent can modify a task at a time.

Core Features & Use Cases

  • Atomic Locking: Ensures that task lock acquisition and updates are performed as a single, indivisible operation, preventing race conditions.
  • Automatic & Manual Locking: Supports both simple, automatic locking via update_task_status and explicit manual control with acquire_task_lock and release_task_lock for complex scenarios.
  • Use Case: When multiple AI agents are assigned to update the status of the same task simultaneously, this skill ensures that only one agent successfully acquires the lock, updates the task, and prevents others from causing conflicts or data loss.

Quick Start

Use the task-locking skill to acquire a lock for task ID '42' on behalf of 'claude'.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: task-locking
Download link: https://github.com/dtannen/pm/archive/main.zip#task-locking

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.