redis-best-practices
Redis development best practices for caching, data structures, and high-performance key-value operations
Redis development best practices for caching, data structures, and high-performance key-value operations
Expert Redis development guide covering data structures (strings, hashes, lists, sets, sorted sets, streams, JSON), caching patterns (cache-aside, write-through, write-behind), pub/sub, Lua scripting, transactions (MULTI/EXEC), pipelining, Redis Stack (Search, JSON, TimeSeries, Bloom), key naming, TTL strategies, memory management, eviction policies, Redis Cluster, Sentinel, client libraries (ioredis, redis-py), and rate limiting.
Implement HTTP caching with Cache-Control, ETags, conditional requests, CDN invalidation, Vary headers, and application-level caching with Redis. Use when optimizing API response times, reducing server load, or designing cache invalidation strategies.
Expert MongoDB development guide covering schema design (embedding vs referencing), index strategies (compound, multikey, text, TTL, partial), aggregation pipeline, transactions, change streams, Node.js driver, Mongoose ODM, Atlas features (search, vector search, triggers), sharding, read/write concerns, connection pooling, GridFS, and security (RBAC, field-level encryption).
Guide Redis integration into existing projects by discovering the current stack, locating cache, session, queue, and rate-limit seams, choosing a compatible Redis client or framework adapter, and planning safe verification. Use when Codex must add Redis to an established codebase, replace fragile in-memory state, or wire Redis-backed infrastructure without bypassing the repository's existing architecture.
MongoDB Setup. Reference when using this Prisma feature.
Use Redis effectively for caching, pub/sub messaging, rate limiting, distributed locks, and session storage. Covers data structure selection, expiration strategies, and cluster patterns. Triggers on Redis usage, caching architecture, or pub/sub messaging requests.
AshPostgres data layer guidelines for PostgreSQL with Ash Framework. Use when configuring postgres blocks, foreign key references, check constraints, custom indexes, migrations, or multitenancy. The default choice for Ash data layers. Supports PostgreSQL 13+.
Create and manage database backups across environments
Docker container management for Qdrant and MeiliSearch services. Use when user mentions starting services, stopping services, checking container status, viewing logs, restarting containers, or resetting database services.
Elasticsearch and full-text search implementation. Use when implementing search functionality, autocomplete, faceted search, relevance tuning, or working with search indexes. Keywords: elasticsearch, search, full-text, indexing, relevance, facets, autocomplete, analyzers, synonyms, aggregations.
Qdrant collection management for semantic search. Use when user mentions managing collections, creating collection, listing collections, verifying collection integrity, exporting or importing collections, or viewing indexed items in Qdrant.
Dual-index corpus management for combined semantic and full-text search. Use when user mentions corpus, dual indexing, syncing content to both Qdrant and MeiliSearch, checking parity between systems, deleting corpora, or managing content that needs both search types.
Initialize a PostgreSQL database and user on any configured host
Creates database migrations with proper schema changes, data migrations, and rollback support for various ORMs (Prisma, TypeORM, Alembic, etc.). Use when managing database schema changes.
データベースバックアップ戦略、RPO/RTO設計、復旧ランブック作成、検証運用を体系化するスキル。 多層防御と復旧演習を通じて、復旧準備の抜け漏れを防ぐ。 Anchors: • Database Reliability Engineering / 適用: 信頼性設計 / 目的: 失敗前提の運用整理 • Backup & Recovery (W. Curtis Preston) / 適用: バックアップ戦略 / 目的: 復旧可能性の担保 • Site Reliability Engineering / 適用: RTO/RPO設計 / 目的: 目標と検証の整合 Trigger: Use when designing backup strategies, defining RPO/RTO, drafting recovery runbooks, planning DR drills, or verifying backup readiness. backup strategy, rpo rto, recovery runbook, disaster recovery, backup validation
Create robust, error-proof Prisma seed scripts with comprehensive error handling and validation.
Initialize database infrastructure for new projects
Deploy database migrations safely across environments
Safe database schema changes for Fluxby's custom migration system. Handles OPFS, Tauri, and Node.js SQLite backends with verification and repair capabilities.
List all keys in a keyvalue namespace. Requires authentication. Use for Agentuity cloud platform operations
Get statistics for vector storage. Requires authentication. Use for Agentuity cloud platform operations