ワンクリックで
sentry-integration
Add Sentry error tracking to Supabase Edge Functions. Use when creating functions that need error monitoring.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Add Sentry error tracking to Supabase Edge Functions. Use when creating functions that need error monitoring.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Upgrade a project that is based on the agentic-mobile-blueprint template. Use when the user asks to check for template updates, upgrade to a newer version, or apply template changes.
Cut a new template version — bump TEMPLATE_VERSION, write upgrade notes, tag and publish a GitHub release. Use when releasing a new version of the agentic-mobile-blueprint template.
Set up Apple Developer account, App Store Connect app listing, and EAS credentials for iOS builds and TestFlight distribution. Use when creating a new iOS app, configuring Apple certificates/provisioning, or troubleshooting App Store Connect submission issues.
Explains how EAS Build and Submit work together for App Store and Google Play deployment. Use when configuring eas.json, troubleshooting mobile builds/submissions, or understanding version management, submit profiles, and the build-then-submit pipeline.
Supabase Edge Function development patterns with Deno runtime. Use when creating, modifying, or debugging edge functions. For Langfuse tracing see the langfuse-tracing skill. For Sentry error handling see the sentry-integration skill.
Next.js frontend app development patterns with App Router, Tailwind CSS v4, Zustand, and TanStack Query. Use when creating pages, components, or API routes in the frontend app.
| name | sentry-integration |
| description | Add Sentry error tracking to Supabase Edge Functions. Use when creating functions that need error monitoring. |
Module _shared/sentry.ts provides:
initSentry() - Initialize (call once)handleError() - Capture errors automaticallysetSentryUser() - Track user (optional)addBreadcrumb() - Track flow (optional)import { initSentry, handleError } from '../_shared/sentry.ts';
initSentry();
Deno.serve(async (req: Request) => {
if (req.method === 'OPTIONS') {
return new Response('ok', { headers: corsHeaders });
}
try {
const result = await processData();
return new Response(JSON.stringify({ success: true }));
} catch (error) {
return handleError(error, { functionName: 'my-function', corsHeaders });
}
});
import { initSentry, setSentryUser, handleError } from '../_shared/sentry.ts';
import { authenticate } from '../_shared/auth.ts';
initSentry();
Deno.serve(async (req: Request) => {
try {
const { user } = await authenticate(req);
setSentryUser(user.id, user.email);
// Your logic
return new Response(JSON.stringify({ success: true }));
} catch (error) {
return handleError(error, { functionName: 'auth-function', corsHeaders });
}
});
import { initSentry, addBreadcrumb, handleError } from '../_shared/sentry.ts';
initSentry();
try {
addBreadcrumb('Started processing');
const result = await process();
addBreadcrumb('Completed', { count: result.length });
} catch (error) {
return handleError(error, { functionName: 'processor', corsHeaders });
}
Set SENTRY_DSN in .env.local:
SENTRY_DSN=https://your-sentry-dsn@sentry.io/123456
Module exists at supabase/functions/_shared/sentry.ts (already created)
✅ Error message and stack trace
✅ Function name (tagged)
✅ Request details
✅ User context (if set)
✅ Breadcrumbs (if added)
❌ Authorization headers (auto-removed)
throw new Error('Test error for Sentry');
Check Sentry dashboard for the error with full context.