Agent skill
nostrstack-api
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.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/nostrstack-api
SKILL.md
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.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?