mongodb

Configure MongoDB document stores for Sorcha ledger data with .NET extensions.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/StuartF303/Sorcha --skill mongodb-stuartf303
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mongodb
Source: https://github.com/StuartF303/Sorcha/tree/main/.claude/skills/mongodb
Command: npx skills add https://github.com/StuartF303/Sorcha --skill mongodb-stuartf303

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill configures MongoDB as the warm-tiers' mutable document store for Sorcha, enabling robust storage and efficient querying for registers, blueprints, and related ledger data.

Core Features & Use Cases

  • Mutable document storage: Provides IDocumentStore implementations for registers, blueprints, and metadata used by Sorcha services.
  • Two-tier storage guidance: Describes integration with warm-tier (mutable documents) and cold-tier (immutable ledger data) storage patterns for transactions and dockets.
  • DI and configuration patterns: Demonstrates wiring MongoDB clients, databases, and extension methods in a .NET application to support consistent data access.

Quick Start

Set up a MongoDB client and database, register the document stores via the provided extensions, and enable startup index creation.

Frequently Asked Questions about mongodb

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

FAQPage Schema
How do I set up MongoDB as a document store for Sorcha ledger data?

MongoDB storage for Sorcha requires configuring a MongoDB client and database, then registering document stores via AddMongoClient, AddMongoDatabase, and AddMongoDocumentStore extensions. Enable startup index creation to support efficient queries on registers, blueprints, and ledger data.

Can I use MongoDB for both mutable and immutable ledger storage in Sorcha?

MongoDB serves as the warm-tier mutable document store for registers and blueprints. Sorcha uses a two-tier pattern where MongoDB handles mutable documents while cold-tier storage preserves immutable ledger data, enabling efficient transactions and dockets.

What indexing and query optimization does MongoDB provide for Sorcha?

MongoDB indexing in Sorcha requires proper ID extraction expressions and startup index configuration to optimize query performance. The Skill establishes indexes during initialization to support efficient retrieval of mutable ledger data across registers and blueprints.

How do I configure MongoDB dependency injection in a .NET application for Sorcha?

Wire MongoDB clients and databases using the provided extension methods in your .NET DI configuration. Register the AddMongoClient, AddMongoDatabase, and AddMongoDocumentStore extensions to establish consistent data access for Sorcha services.

Does MongoDB work with Sorcha's register and blueprint data models?

Yes. MongoDB document store implementations support Sorcha's registers, blueprints, and metadata through IDocumentStore abstractions. Configuration requires ID extraction expressions and startup indexes tailored to your schema.