KS
Killer-Skills

crdt — Categories.community

v1.0.0
GitHub

About this Skill

Perfect for State Management Agents needing conflict-free distributed data types with draft-style mutations. The most comprehensive Claude Code skills registry | Web Search: https://skills-registry-web.vercel.app

majiayu000 majiayu000
[0]
[0]
Updated: 2/20/2026

Quality Score

Top 5%
45
Excellent
Based on code quality & docs
Installation
SYS Universal Install (Auto-Detect)
Cursor IDE Windsurf IDE VS Code IDE
> npx killer-skills add majiayu000/claude-skill-registry/crdt

Agent Capability Analysis

The crdt MCP Server by majiayu000 is an open-source Categories.community integration for Claude and other AI agents, enabling seamless task automation and capability expansion.

Ideal Agent Persona

Perfect for State Management Agents needing conflict-free distributed data types with draft-style mutations.

Core Value

Empowers agents to manage state with CRDT guidelines, utilizing draft-style mutations and crypto.randomUUID() for ID generation, while enforcing soft deletes and importing types from schema.ts.

Capabilities Granted for crdt MCP Server

Implementing conflict-free distributed counters
Managing state with draft-style mutations
Enforcing soft deletes for data recovery

! Prerequisites & Limits

  • Requires adherence to draft-style mutation guidelines
  • Soft deletes must be implemented using deletedAt timestamp
Project
SKILL.md
1.0 KB
.cursorrules
1.2 KB
package.json
240 B
Ready
UTF-8

# Tags

[No tags]
SKILL.md
Readonly

CRDT Guidelines

Critical: Draft-Style Mutations Only

typescript
1// CORRECT - mutate in place 2setState((state) => { 3 state.transactions[id] = transaction; 4}); 5 6// WRONG - returning new objects breaks change tracking 7setState((state) => ({ 8 ...state, 9 transactions: { ...state.transactions, [id]: transaction }, 10}));

Rules

  • Import types from schema.ts, don't redeclare
  • Soft deletes: Set deletedAt timestamp, never remove from document
  • Use crypto.randomUUID() for IDs, Date.now() for timestamps

Schema Pattern

typescript
1export const entitySchema = schema.LoroMap({ 2 id: schema.String({ required: true }), 3 // ... fields 4 deletedAt: schema.Number(), // 0 = not deleted, >0 = timestamp 5});

React Hooks

  • useActiveTransactions() - excludes soft-deleted
  • useTransactions() - includes soft-deleted
  • useVaultAction() - for mutations

Sync

  • Updates encrypted before leaving client
  • Loro handles versioning via version vectors
  • Conflicts: last-write-wins per field

Related Skills

Looking for an alternative to crdt or building a Categories.community AI Agent? Explore these related open-source MCP Servers.

View All

widget-generator

Logo of f
f

widget-generator is an open-source AI agent skill for creating widget plugins that are injected into prompt feeds on prompts.chat. It supports two rendering modes: standard prompt widgets using default PromptCard styling and custom render widgets built as full React components.

149.6k
0
Design

chat-sdk

Logo of lobehub
lobehub

chat-sdk is a unified TypeScript SDK for building chat bots across multiple platforms, providing a single interface for deploying bot logic.

73.0k
0
Communication

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
Communication

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
Communication