Storage Architecture

Audit scenario storage resources and enforce isolated database configurations.

54|7|Updated Sep 19, 2021
One-click install
npx skills add https://github.com/Vrooli/Vrooli --skill storage-architecture
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Storage Architecture
Source: https://github.com/Vrooli/Vrooli/tree/main/scenarios/prompt-manager/store/skills/packs/core/storage-steer
Command: npx skills add https://github.com/Vrooli/Vrooli --skill storage-architecture

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Storage Architecture hardens scenario storage layers so persistent data remains isolated, configurable by environment, and free from cross-scenario collisions or stale runtime files.

Core Features & Use Cases

  • Resource configuration audits ensure each scenario declares its own postgres, redis, qdrant, and optional minio resources along with schema initialization files so databases stay isolated whenever a new scenario boots.
  • Connection and schema safety enforces environment-driven credentials, retry/pooling patterns, idempotent schema SQL, and repository/service abstractions so business logic never hard-codes storage details.
  • Runtime storage governance namespaces Redis and Qdrant artifacts, routes mutable files through api-core/storage, and documents findings in STORAGE_AUDIT.md so deploy directories stay disposable while runtime data remains durable.

Quick Start

Ask the skill to audit and enforce the scenario's storage resource declarations, schema initialization, and repository abstractions.

Frequently Asked Questions about Storage Architecture

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

FAQPage Schema
How do I isolate Postgres and Redis databases when booting a new scenario?

To isolate Postgres and Redis databases, your scenario should declare dedicated resources in service.json and use environment variables for credentials. This ensures each scenario boots with its own isolated persistent storage layer.

What is the repository pattern for environment-driven storage configuration?

The repository pattern for environment-driven storage abstracts database details behind services, ensuring business logic never hard-codes connections. It enforces environment variable usage and connection pooling to maintain configurable storage layers.

Why do I need idempotent schema initialization files for my database setup?

Idempotent schema initialization files are needed to safely initialize database schemas without causing conflicts on reboots. They ensure schema SQL executes cleanly, keeping databases isolated and free from stale data whenever scenarios restart.

How do I namespace Redis and Qdrant keys to prevent cross-scenario collisions?

To namespace Redis and Qdrant keys, apply runtime storage governance that prefixes artifacts per scenario. This prevents cross-scenario collisions and keeps persistent data isolated, with findings documented in STORAGE_AUDIT.md.

Does this storage architecture approach support connection retries and pooling?

Yes, this storage architecture approach supports connection retries and pooling. It enforces these patterns alongside environment-driven credentials to ensure robust database connectivity and schema safety within isolated scenario environments.