What problem does it solve?
NIP-85 is an evolving spec, so developers working with trust-provider lists, contact cards, and event assertions in the Amethyst/Quartz codebase lack a stable reference for the exact kind numbers, d-tag conventions, tag vocabulary, and authorization rules. This Skill documents the operative model so events are built and consumed correctly.
Core Features & Use Cases
- Kind map and addressing: Defines kinds 10040 (trust provider lists), 30382 (contact cards/user assertions), 30383 (event assertions), 30384 (addressable assertions), and 30385 (external-id assertions), including d-tag semantics and latest-wins supersession.
- Typed tag vocabulary: Documents RankTag, HopsTag, FollowerCountTag, ServiceProviderTag/ServiceType, and the full metric tag set with parse/assemble semantics (missing tag means unknown, never zero).
- Authorization model: Explains that a 30382 is meaningful only when its author is listed in the observer's 10040 for a matching service type, with relay-hint-based fetching.
- Use Case: When wiring a consumer that resolves a 10040 provider entry to the 30382 cards it signs, or when publishing GrapeRank contact cards, use this Skill to get the exact event construction and parsing patterns.
Quick Start
Ask the assistant to build a kind 30382 contact card event with rank, followers, and hops tags signed by a trust provider using the Quartz typed helpers.