powersync▌
powersync-ja/agent-skills · updated Apr 8, 2026
Use this skill to onboard a project onto PowerSync without trial-and-error. Treat this as a guided workflow first and a reference library second.
PowerSync Skills
Use this skill to onboard a project onto PowerSync without trial-and-error. Treat this as a guided workflow first and a reference library second.
Agents: Follow AGENTS.md in full — including Agent compliance (ask Cloud vs self-hosted, ask backend if unspecified, CLI-first, no silent shortcuts). powersync login is PowerSync Cloud only (PAT); self-hosted does not use it.
Quick Rules
- CLI-first. Use the PowerSync CLI for all operations. Do not hand-write config files. See
references/powersync-cli.md. - Ask, don't assume. Ask Cloud vs self-hosted. Ask which backend (Supabase, Postgres, MongoDB, MySQL, MSSQL). Do not default to Supabase.
- Backend before frontend. Deploy sync config and verify the service before writing app code.
- Sync Streams for new projects. Sync Rules are legacy.
- Persist credentials immediately. Write all URLs and keys to
.envas soon as they are available.
What to Load for Your Task
| Task | Start with | Load on demand |
|---|---|---|
| Supabase + PowerSync | references/onboarding-supabase.md |
references/supabase-auth.md, references/sync-config.md, SDK files |
| Custom backend (non-Supabase) | references/onboarding-custom.md |
references/custom-backend.md, references/sync-config.md, SDK files |
| New project setup | references/powersync-cli.md + references/powersync-service.md |
references/sync-config.md, SDK files |
| Self-hosting / service config | references/powersync-service.md + references/powersync-cli.md |
references/sync-config.md |
| Writing sync config | references/sync-config.md |
— |
| Debugging sync issues | references/powersync-debug.md |
— |
| Attachments | references/attachments.md |
— |
| Architecture overview | references/powersync-overview.md |
— |
SDK Reference Files
JavaScript / TypeScript
Always load references/sdks/powersync-js.md for any JS/TS project, then load the applicable framework file.
| Framework | File | Load early if… |
|---|---|---|
| React / Next.js | references/sdks/powersync-js-react.md |
Vite + React project — contains the required vite.config.ts setup (optimizeDeps.exclude, worker.format: 'es') needed before installing packages |
| React Native / Expo | references/sdks/powersync-js-react-native.md |
|
| Vue / Nuxt | references/sdks/powersync-js-vue.md |
|
| Node.js / Electron | references/sdks/powersync-js-node.md |
|
| TanStack | references/sdks/powersync-js-tanstack.md |
Other SDKs
| Platform | File |
|---|---|
| Dart / Flutter | references/sdks/powersync-dart.md |
| .NET | references/sdks/powersync-dotnet.md |
| Kotlin | references/sdks/powersync-kotlin.md |
| Swift | references/sdks/powersync-swift.md |
Key Rules to Apply Without Being Asked
- Never define the
idcolumn in a PowerSync table schema; it is created automatically. - Use
column.integerfor booleans andcolumn.textfor ISO date strings. connect()is fire-and-forget. UsewaitForFirstSync()if you need readiness.transaction.complete()is mandatory or the upload queue stalls permanently.disconnectAndClear()is required on logout or user switch when local data must be wiped.- A 4xx response from
uploadDatablocks the upload queue permanently; return 2xx for validation errors.
Discussion
Product Hunt–style comments (not star reviews)- No comments yet — start the thread.
Ratings
4.4★★★★★47 reviews- ★★★★★Noah Agarwal· Dec 28, 2024
Registry listing for powersync matched our evaluation — installs cleanly and behaves as described in the markdown.
- ★★★★★Ganesh Mohane· Dec 20, 2024
Keeps context tight: powersync is the kind of skill you can hand to a new teammate without a long onboarding doc.
- ★★★★★Liam Diallo· Dec 16, 2024
powersync is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
- ★★★★★Liam Liu· Dec 12, 2024
powersync reduced setup friction for our internal harness; good balance of opinion and flexibility.
- ★★★★★Carlos Desai· Nov 19, 2024
Keeps context tight: powersync is the kind of skill you can hand to a new teammate without a long onboarding doc.
- ★★★★★Carlos Shah· Nov 15, 2024
I recommend powersync for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
- ★★★★★Rahul Santra· Nov 11, 2024
Registry listing for powersync matched our evaluation — installs cleanly and behaves as described in the markdown.
- ★★★★★Liam Zhang· Nov 7, 2024
powersync reduced setup friction for our internal harness; good balance of opinion and flexibility.
- ★★★★★Liam Abebe· Nov 3, 2024
powersync is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
- ★★★★★Chen Mensah· Oct 26, 2024
Registry listing for powersync matched our evaluation — installs cleanly and behaves as described in the markdown.
showing 1-10 of 47