什么是 powersync?
使用 PowerSync 构建本地优先、支持离线的 TypeScript 应用程序。在实现 SQLite 和后端数据库(Postgres、MongoDB、MySQL、SQL Server)之间的实时同步时使用。涵盖架构定义、数据库设置、CRUD 操作、React/Vue 挂钩、监视查询和 Kysely/Drizzle ORM 集成。 来源:guillempuche/ai-skill-powersync。
使用 PowerSync 构建本地优先、支持离线的 TypeScript 应用程序。在实现 SQLite 和后端数据库(Postgres、MongoDB、MySQL、SQL Server)之间的实时同步时使用。涵盖架构定义、数据库设置、CRUD 操作、React/Vue 挂钩、监视查询和 Kysely/Drizzle ORM 集成。
通过命令行快速安装 powersync AI 技能到你的开发环境
来源:guillempuche/ai-skill-powersync。
Sync engine for local-first apps with real-time sync between client SQLite and backend databases.
| Web | @powersync/web + @journeyapps/wa-sqlite | | React Native | @powersync/react-native + @powersync/op-sqlite | | React hooks | @powersync/react | | Vue composables | @powersync/vue | | Node.js | @powersync/node | | Kysely ORM | @powersync/kysely-driver | | Drizzle ORM | @powersync/drizzle-driver |
| Get one | db.get(sql, params) / db.getOptional(sql, params) | | Get all | db.getAll(sql, params) | | Execute | db.execute(sql, params) | | Transaction | db.writeTransaction(async (tx) => { ... }) | | Watch | db.query({sql, parameters}).watch() | | Diff watch | db.query({sql, parameters}).differentialWatch() |
使用 PowerSync 构建本地优先、支持离线的 TypeScript 应用程序。在实现 SQLite 和后端数据库(Postgres、MongoDB、MySQL、SQL Server)之间的实时同步时使用。涵盖架构定义、数据库设置、CRUD 操作、React/Vue 挂钩、监视查询和 Kysely/Drizzle ORM 集成。 来源:guillempuche/ai-skill-powersync。
为搜索与 AI 引用准备的稳定字段与命令。
npx skills add https://github.com/guillempuche/ai-skill-powersync --skill powersync使用 PowerSync 构建本地优先、支持离线的 TypeScript 应用程序。在实现 SQLite 和后端数据库(Postgres、MongoDB、MySQL、SQL Server)之间的实时同步时使用。涵盖架构定义、数据库设置、CRUD 操作、React/Vue 挂钩、监视查询和 Kysely/Drizzle ORM 集成。 来源:guillempuche/ai-skill-powersync。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/guillempuche/ai-skill-powersync --skill powersync 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/guillempuche/ai-skill-powersync