nip19-routing
Installation
SKILL.md
NIP-19 Identifier Routing
NIP-19 defines the bech32-encoded identifiers used throughout Nostr (npub1..., note1..., naddr1..., etc.). This project routes all of them through a single root-level page at /:nip19, implemented by src/pages/NIP19Page.tsx.
Use this skill when the user wants to populate the NIP19Page sections with real views, add a new identifier type, or build links that point into the Nostr routing system.
Identifier Reference
| Prefix | Payload | Use when… |
|---|---|---|
npub1 |
32-byte public key | Simple user reference |
nprofile1 |
Public key + optional relay hints + petname | User reference with relay context |
note1 |
32-byte event ID (kind:1 text notes only, per NIP-10) | Referencing a short text note/thread |
nevent1 |
Event ID + optional relay hints + author pubkey + kind | Any event kind, or notes where you need relay/author context |
naddr1 |
kind + pubkey + identifier (d tag) + optional relay hints |
Addressable events (kind 30000-39999): articles, products |
nsec1 |
Private key | Never display or route — treat as a 404 |
nrelay1 |
Relay URL | Deprecated |