Agent SkillsAgent Skills
joelklabo

nostrstack-api

@joelklabo/nostrstack-api
joelklabo
0
0 forks
Updated 3/31/2026
View on GitHub

Nostrstack API development (Fastify + Prisma) including routing patterns, services, tenancy resolution, LightningProvider integration, and Nostr endpoints. Use when editing apps/api (routes, services, providers, Prisma schema, OpenAPI) or adding API features/tests.

Installation

$npx agent-skills-cli install @joelklabo/nostrstack-api
Claude Code
Cursor
Copilot
Codex
Antigravity

Details

Pathcodex/skills/nostrstack-api/SKILL.md
Branchmain
Scoped Name@joelklabo/nostrstack-api

Usage

After installing, this skill will be available to your AI coding assistant.

Verify installation:

npx agent-skills-cli list

Skill Instructions


name: nostrstack-api description: Nostrstack API development (Fastify + Prisma) including routing patterns, services, tenancy resolution, LightningProvider integration, and Nostr endpoints. Use when editing apps/api (routes, services, providers, Prisma schema, OpenAPI) or adding API features/tests.

Nostrstack API

Use this skill when working inside apps/api.

Workflow

  • Read references/architecture.md for system context and data flow.
  • Consult references/api-structure.md for code layout and key files.
  • For Nostr endpoints or ID parsing, also read references/nostr.md.
  • Update or add tests per references/testing.md.

Guardrails

  • Keep tenant resolution consistent (tenant-resolver.ts and host/domain rules).
  • Lightning provider changes must preserve webhook/payment flow and retry behavior.
  • Ensure Prisma migrations and seeds stay aligned with schema changes.

When to add docs

  • If routes or response shapes change, update apps/api/openapi.json and relevant docs.