使用方法
- 复制安装命令,在自己的智能体环境安装前先检查源码包。
- 从原始文档核对所需工具、凭据和支持的宿主。
- 说明输入材料与期望交付物,并对照来源检查输出。
npx skills add https://github.com/smartworldarafath/rea_skill --skill rea-database-storage-recovery开始前需了解
- 安装不包含模型订阅、API 额度或访问文件的权限。
- 仓库星数和安装量反映活跃情况,不等于独立质量或安全测试。
按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。
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
- Database & Archive Inspection:
- Use REA MCP tools:
inspect_sqlite_database,inspect_plist,inspect_keyed_archive,inspect_asset_catalog,inspect_binary_layout,search_bytes, andread_bytes. - Extract full DDL (
CREATE TABLE,CREATE INDEX, triggers, views, foreign keys) and inspect WAL/journal pages from SQLite databases. - Decode Apple
NSKeyedArchivergraphs, binary property lists (bplist00), CoreData.momdmodels, Realm schemas, and LevelDB/IndexedDB records.
- 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.
- 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.