360 Secure SkillHub
360 安全技能中心

rea-database-storage-recovery

在已授权前提下,使用 REA MCP 工具检查 SQLite、Plist、KeyedArchive、Realm、LevelDB 等本地存储与归档格式,剖析自定义二进制结构,并生成完整 ORM Schema 及双向序列化解析代码和往返验证测试。

分类:开发
smartworldarafath
热度 0.00
最近更新 2026-11-15 11:17:44

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add smartworldarafath/rea_skill/rea-database-storage-recovery
兼容性
通用兼容
联网要求
联网要求未确认
数据出网
数据出网未确认
Metadata
name
rea-database-storage-recovery
description
Authorized database schema, SQLite, Realm, LevelDB, Apple KeyedArchive/Plist, and custom binary file format reverse engineering and migration/parser generation using REA MCP.

REA Database Schema & Binary Storage Format Recovery Skill

Scope & Authorization

Covers all first-party database recovery, local storage inspection, binary archive unpacking, and custom serialization format documentation (including Category 7 of the 500+ REA Prompt Vault and any custom data format task).

Execution Pipeline

  1. Database & Archive Inspection:
    • Use REA MCP tools: inspect_sqlite_database, inspect_plist, inspect_keyed_archive, inspect_asset_catalog, inspect_binary_layout, search_bytes, and read_bytes.
    • Extract full DDL (CREATE TABLE, CREATE INDEX, triggers, views, foreign keys) and inspect WAL/journal pages from SQLite databases.
    • Decode Apple NSKeyedArchiver graphs, binary property lists (bplist00), CoreData .momd models, Realm schemas, and LevelDB/IndexedDB records.
  2. Custom Binary Format Dissection:
    • Reverse engineer proprietary binary file headers, chunk tables, offset directories, compression blocks (zlib/LZ4/Zstd), and struct layouts from the reading/writing functions in the binary.
  3. ORM Schema & Parser Generation:
    • Generate 100% complete, zero-skeleton ORM schemas (Prisma, Drizzle, SQLAlchemy, TypeORM, Room, SQLDelight) and standalone bidirectional serializer/deserializer libraries with round-trip verification tests.