Skip to content
Back to skills

Aiwf Data Storage

ASecurity

Use for SQLite, Android Room, Postgres, pgvector, Chroma, Qdrant, Milvus, database schemas, migrations, transactions, backups, concurrency, vector collections, retention, and data-integrity work in local AI and embedded applications.

  • 30 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 8, 2026
ai-agentssqlrailsgitdatabasebackenddocumentation

Works with

  • cli

Security analysis

A100/100

Scanned November 8, 2026

npx -y skills add majiayu000/claude-skill-registry-data --skill aiwf-data-storage --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Aiwf Data Storage?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Aiwf Data Storage
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-aiwf-data-storage/badge)](https://www.skillsdirectory.com/skills/majiayu000-aiwf-data-storage)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: aiwf-data-storage
description: Use for SQLite, Android Room, Postgres, pgvector, Chroma, Qdrant, Milvus, database schemas, migrations, transactions, backups, concurrency, vector collections, retention, and data-integrity work in local AI and embedded applications.
---

# AIWF Data Storage

## Core Rule

Identify the authoritative store, schema version, migration mechanism, transaction boundary, backup path, concurrency model, and recovery plan before changing persisted data. Treat vector dimensions, metrics, embedding identity, and payload schema as database contracts.

## Workflow

1. Inspect schema definitions, migrations, ORM or client versions, connection settings, indexes, constraints, tests, backups, and data volume.
2. Classify the change: additive schema, backfill, destructive migration, query/index tuning, backend switch, retention cleanup, vector-space migration, or corruption recovery.
3. Define forward migration, rollback or restore path, compatibility window, and validation query before editing.
4. Test against a copy, fixture, or disposable database. Keep production or user data untouched unless Shawn explicitly authorizes the operation.
5. Verify row or point counts, constraints, representative queries, transaction behavior, and application compatibility.

## Guardrails

- Do not drop, truncate, rewrite, vacuum, compact, or bulk-delete user data without explicit approval and a verified backup or reversible plan.
- Do not hand-edit generated Room schema files or migration history.
- Keep migrations idempotent where the framework expects it and safe under interrupted execution.
- Use transactions for multi-step invariants; do not assume a sequence of successful calls is atomic.
- Do not change vector dimension, distance metric, embedding model, normalization, or index type in place unless the backend explicitly supports a safe migration.
- Distinguish exact search from approximate search and measure recall before changing ANN settings.
- Keep credentials out of connection strings committed to source or logs.
- Add `aiwf-rag-retrieval` when the user-visible issue is retrieval quality rather than storage correctness.

## Validation

Prefer project migration and integrity checks. Verify schema version, backup readability, representative reads and writes, rollback or restore behavior, and concurrent access where relevant. Record the exact database copy or environment used.

## Primary Sources

- SQLite transactions: https://www.sqlite.org/lang_transaction.html
- Android Room: https://developer.android.com/training/data-storage/room
- pgvector: https://github.com/pgvector/pgvector
- Qdrant collections: https://qdrant.tech/documentation/manage-data/collections/

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.