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
Details
Usage
After installing, this skill will be available to your AI coding assistant.
Verify installation:
npx agent-skills-cli listSkill 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.mdfor system context and data flow. - Consult
references/api-structure.mdfor 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.tsand 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.jsonand relevant docs.
More by joelklabo
View allRelease readiness and monitoring workflow for Sketch Magic. Use when preparing launch checklists, verifying telemetry, or validating health endpoints before a public release.
Enforce Sketch Magic dev-readiness gates. Use when asked “are you done?”, when dev server errors appear, when proof video is required, or when verifying compile/lint/test/dev-smoke status.
Use this when running or adding tests (compile/lint/unit/E2E), updating test utilities, or working with Playwright/visual testing in markdowntown.
Lightning/LNbits integration for nostrstack, including regtest flows, staging/prod config, observability, and payment/zap behavior. Use when editing payment flows, Lightning provider code, or running LNbits-related tests.
