explicit-identity

Enforce explicit UUID passing across asynchronous and process boundaries.

3.9k|296|Updated Dec 23, 2025
One-click install
npx skills add https://github.com/parcadei/Continuous-Claude-v3 --skill explicit-identity-parcadei
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: explicit-identity
Source: https://github.com/parcadei/Continuous-Claude-v3/tree/main/.claude/skills/explicit-identity
Command: npx skills add https://github.com/parcadei/Continuous-Claude-v3 --skill explicit-identity-parcadei

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill prevents data corruption and misattribution caused by relying on implicit "latest" or "current" states when data crosses asynchronous or process boundaries.

Core Features & Use Cases

  • Explicit ID Passing: Enforces passing unique identifiers (like session IDs, trace IDs) explicitly through function calls and process spawns.
  • Race Condition Prevention: Eliminates bugs where the "current" context changes between the time a task is initiated and when it's executed.
  • Use Case: When spawning a new analysis process, explicitly pass the current session ID to ensure the analysis is correctly associated with the intended conversation, preventing it from being linked to a different, more recent session.

Quick Start

Pass the explicit session ID when spawning a new process.

Frequently Asked Questions about explicit-identity

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent race conditions when passing state across process boundaries?

To prevent race conditions across process boundaries, you must enforce explicit passing of unique identifiers, such as full UUIDs, through function calls and process spawns. This ensures correct data correlation instead of relying on implicit current state.

Why does my asynchronous task get attributed to the wrong session ID?

Asynchronous tasks get misattributed to the wrong session ID when relying on implicit latest states. If the current context changes between task initiation and execution, explicitly passing the original session ID maintains correct association.

How do I manage trace IDs and session IDs in a distributed system?

Manage trace IDs and session IDs in distributed systems by maintaining distinct ID types for different concepts like root span and turn span. Strictly pass these full UUIDs explicitly across all asynchronous boundaries to ensure robust state management.

When do I need explicit identity passing for state management?

You need explicit identity passing for state management whenever data crosses asynchronous or multi-process boundaries. It is required to prevent data corruption and misattribution caused by the current context changing during execution.

What are the limitations of relying on implicit current context in multi-process environments?

Relying on implicit current context in multi-process environments limits you to non-concurrent operations. If a new process starts before an older one finishes, the latest context overwrites the previous state, causing data corruption and lost trace correlation.