Skip to content

Add AI Quickstart prompts - #625

Draft
bean1352 wants to merge 2 commits into
mainfrom
docs/ai-quickstart-prompts
Draft

Add AI Quickstart prompts#625
bean1352 wants to merge 2 commits into
mainfrom
docs/ai-quickstart-prompts

Conversation

@bean1352

@bean1352 bean1352 commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Adds an AI Quickstart section to all 10 client SDK references, plus a discovery version on the docs home page for projects that haven't picked an SDK yet. Without these, agents tend to invent their own approach instead of following what our docs and Agent Skills recommend.

Each prompt tells the agent to install the Agent Skills (npx skills add powersync-ja/agent-skills), points it at that SDK's .md reference, and makes it ask about the source database, PowerSync Service instance, table and row scoping, and auth before writing any code.

The prompt body is one snippet (snippets/ai-quickstart.mdx) with sdk, slug and question props, so the four shared questions are edited in one place. Also adds a pointer from the AI Tools page and fixes a typo in the home page card (Convex, should be Codex).

Testing

Pasted the JavaScript Web prompt into a blank Vite + React + Supabase app. The agent installed the skills, asked all five questions before writing code, used Sync Streams rather than legacy Sync Rules, and produced a schema, Supabase connector and multi-tab setup that built cleanly.

AI note

I used Claude Opus 5 to draft the prompts and run the eval above in a throwaway app.

image

@mintlify

mintlify Bot commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
powersync 🟢 Ready View Preview Sep 7, 2026, 9:14 AM

💡 Tip: Enable Automations to automatically generate PRs for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant