بنقرة واحدة
integration-sveltekit
PostHog integration for SvelteKit applications
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
PostHog integration for SvelteKit applications
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Scaffold and implement authentication in TypeScript/JavaScript apps using Better Auth. Detect frameworks, configure database adapters, set up route handlers, add OAuth providers, and create auth UI pages. Use when users want to add login, sign-up, or authentication to a new or existing project with Better Auth.
Manages shadcn-svelte components and projects — adding, updating, fixing, debugging, styling, and composing UI. Provides project context, component docs, and usage examples. Applies when working with shadcn-svelte, the CLI, design-system presets, or any project with a components.json file. Also triggers for "shadcn-svelte init", "add component", or registry URLs.
Generate AP practice multiple-choice questions by subject and unit via the Free AP Practice API.
Discover supported AP subjects and practice landing pages on Free AP Practice.
Configure rate limiting, manage auth secrets, set up CSRF protection, define trusted origins, secure sessions and cookies, encrypt OAuth tokens, track IP addresses, and implement audit logging for Better Auth. Use when users need to secure their auth setup, prevent brute force attacks, or harden a Better Auth deployment.
| name | integration-sveltekit |
| description | PostHog integration for SvelteKit applications |
| metadata | {"author":"PostHog","version":"1.24.0"} |
This skill helps you add PostHog analytics to SvelteKit applications.
Follow these steps in order to complete the integration:
references/1-begin.md - PostHog Setup - Begin ← Start herereferences/2-edit.md - PostHog Setup - Editreferences/3-revise.md - PostHog Setup - Revisereferences/4-conclude.md - PostHog Setup - Conclusionreferences/EXAMPLE.md - SvelteKit example project codereferences/1-begin.md - Start the event tracking setup process by analyzing the project and creating an event tracking planreferences/2-edit.md - Implement PostHog event tracking in the identified files, following best practices and the example projectreferences/3-revise.md - Review and fix any errors in the PostHog integration implementationreferences/4-conclude.md - Review and fix any errors in the PostHog integration implementationreferences/svelte.md - Svelte - docsreferences/identify-users.md - Identify users - docsThe example project shows the target implementation pattern. Consult the documentation for API details.
Identify users during login and signup events. Refer to the example code and documentation for the correct identify pattern for this framework. If both frontend and backend code exist, pass the client-side session and distinct ID using X-POSTHOG-DISTINCT-ID and X-POSTHOG-SESSION-ID headers to maintain correlation.
Add PostHog error tracking to relevant files, particularly around critical user flows and API boundaries.