add-ravendb-identity-store

Implement RavenDB-backed ASP.NET Identity user and refresh token storage.

Updated Nov 23, 2025
One-click install
npx skills add https://github.com/Tassadar2499/NovaTune --skill add-ravendb-identity-store
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-ravendb-identity-store
Source: https://github.com/Tassadar2499/NovaTune/tree/main/.claude/skills/add-ravendb-identity-store
Command: npx skills add https://github.com/Tassadar2499/NovaTune --skill add-ravendb-identity-store

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides a RavenDB-backed implementation of ASP.NET Identity stores, enabling durable user accounts and refresh token management for NovaTune's API service.

Core Features & Use Cases

  • Identity models (ApplicationUser, RefreshToken) stored in RavenDB with Ulid user IDs and token hashes.
  • ASP.NET Identity integration via a custom RavenDbUserStore supporting user creation, lookup, password, roles, and email.
  • Refresh token lifecycle management with creation, revocation, and active-token counting, backed by RavenDB indexes.

Quick Start

Configure RavenDB connection in appsettings.json, register RavenDB session and identity stores in Program.cs, then run the NovaTune API project.

Frequently Asked Questions about add-ravendb-identity-store

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I use RavenDB as an ASP.NET Core Identity user store?

RavenDB can serve as an ASP.NET Core Identity user store by implementing a custom RavenDbUserStore that handles user creation, lookup, password validation, roles, and email operations. This skill provides that store for durable identity data.

What is the best way to manage refresh tokens in a RavenDB-backed API?

Refresh token management in a RavenDB-backed API uses a RefreshTokenRepository and RavenDB indexes to handle token creation, revocation, and active-token counting. This approach supports efficient token rotation and lifecycle tracking.

Does ASP.NET Core Identity support RavenDB for persistent token storage?

ASP.NET Core Identity supports RavenDB for persistent token storage through custom store implementations. This skill provides ApplicationUser and RefreshToken models with Ulid user IDs and token hashes for durable authentication data.

Can I use RavenDB indexes for efficient user and refresh token queries?

RavenDB indexes support efficient queries for user and refresh token operations. This skill implements indexes that enable active-token counting and lookup operations required for role-based access and token rotation across clients.

How do I configure RavenDB connection and identity stores in an ASP.NET Core API?

Configuring RavenDB identity stores requires setting up the connection in appsettings.json, then registering the RavenDB session and custom identity stores in Program.cs to enable persistent user accounts and refresh token management.