Add relay-management skill for NIP-65 relay list UI

Moves src/components/RelayListManager.tsx into a new
relay-management skill at .agents/skills/relay-management/, with a
SKILL.md covering installation, NIP-65 background, and how the
component hooks into the existing AppContext / NostrSync / kind
10002 publishing already present in the core template.

AGENTS.md's 'Relay Management' section keeps the NIP-65 sync
description but drops the RelayListManager usage example, pointing
at the new skill instead.
This commit is contained in:
Alex Gleason committed 2026-04-26 18:00:11 -05:00
1 parent bc97f82d3e
commit 353551342b
3 files changed
+86 -15

No files matched your search

+1 -15
View File
@@ -890,24 +890,10 @@ The app uses NIP-65 compatible relay management with automatic sync when users l
The project includes a complete NIP-65 relay management system:
- **RelayListManager**: Component for managing multiple relays with read/write permissions
- **NostrSync**: Automatically syncs user's NIP-65 relay list when they log in
- **Automatic Publishing**: Changes to relay configuration are automatically published as NIP-65 events when the user is logged in
Use the `RelayListManager` component to provide relay management interfaces:
```tsx
import { RelayListManager } from '@/components/RelayListManager';
function SettingsPage() {
return (
<div>
<h2>Relay Settings</h2>
<RelayListManager />
</div>
);
}
```
A drop-in settings UI for editing the relay list (`RelayListManager`) is available as the `relay-management` skill.
## Routing