nostr-client-patterns
CommunityMaster Nostr clients with robust relay patterns.
Software Engineering#authentication#deduplication#nostr#subscription#reconnect#relay-pool#optimistic-publish
Authoraccolver
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill provides a complete blueprint and implementation patterns for building a robust Nostr client, including relay pool management, subscription lifecycles, event deduplication, optimistic publishing, and resilient reconnection.
Core Features & Use Cases
- Relay pool management across multiple relays with per-relay state tracking, backoff and jitter, and per-connection lifecycle.
- Multi-relay subscription lifecycle with per-relay EOSE coordination, replacement of subscriptions, and reconnect-aware resubscription using a since timestamp.
- Deduplication and replacement handling for regular and replaceable events to ensure consistent UI state.
- Optimistic publishing with per-relay OK handling, retry strategies, and timeout fallbacks, plus local cache for fast loads.
- Reconnection handling that preserves state and ensures gap-free event delivery across relaunches.
- Optional local caching strategies to speed up initial loads and reduce network usage.
Quick Start
Ask your agent to implement a Nostr client using the nostr-client-patterns blueprint, wiring in relay management, subscription lifecycles, and optimistic publishing.
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferencesassets
💻 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: nostr-client-patterns Download link: https://github.com/accolver/skill-maker/archive/main.zip#nostr-client-patterns Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.