本文へ移動
cccskills
無料GitHub で公開

ns-analytics

Integrate or audit privacy-safe PostHog analytics across NowStack Mobile Expo and TanStack web surfaces. Use for event design, consent, identity, dev/prod separation, funnels, feature flags, or analytics verification.

インストール方法を見る

含まれるファイル(3)

  • SKILL.md2.3 KB
  • agents/openai.yaml358 B
  • assets/codex-icon.svg430 B

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Analytics - NowStack Mobile

<objective> Produce a small, stable, privacy-safe event model shared by mobile and web, then prove events in the intended PostHog project without leaking sensitive data. </objective>

<required_reads> Read mobile-app/lib/posthog.ts, mobile root providers, web root/router providers, site-config.ts, onboarding/auth/payment owners, and the privacy/legal copy before editing. Use current official PostHog Expo and web docs when SDK behavior is uncertain. </required_reads>

<invariants> - Public project keys may live in platform public env; personal API keys never do. - Development, preview, and production are visibly separated by project or mandatory environment property. - Never capture raw email, OTP, token, free text, user content, payment data, file names, or secrets. - Identify only after authentication with a stable opaque product id; reset on sign-out/account switch. - Consent and opt-out behavior match the product's jurisdictions and privacy copy. - Autocapture/session replay are off until explicitly justified and scrubbed on both surfaces. </invariants> <workflow> 1. Define an event dictionary from product questions, not screens: `onboarding_started`, `onboarding_completed`, `sign_in_succeeded`, `paywall_viewed`, `purchase_succeeded`, and domain activation events. Define allowed properties and owner for each. 2. Reuse `mobile-app/lib/posthog.ts`; add a parallel web helper only if absent. Do not call SDKs directly from random components. 3. Gate initialization/capture on configured key and consent. Keep missing analytics non-fatal. 4. Wire identify/reset and page/screen context consistently across Expo Router and TanStack Router. 5. Verify one anonymous, one authenticated, one conversion, one opt-out, and one sign-out/reset path in the provider live debugger. Inspect payloads for forbidden PII and correct environment. 6. Update privacy/store declarations if collection materially changes. </workflow> <report> Return the event dictionary, changed owners, consent behavior, provider read-back, rejected PII fields, and any production state that is `NOT VERIFIABLE`. </report>

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Complete guide for building beautiful apps with Expo Router. Covers fundamentals, styling, components, navigation, animations, patterns, and native tabs.

日本語の概要は準備中です。原文の説明を表示しています。

Melvynx/saveit.now322026年10月10日 更新

convex

無料

Routes general Convex requests to the right project skill. Use when the user asks which Convex skill to use or gives an underspecified Convex app task.

日本語の概要は準備中です。原文の説明を表示しています。

Melvynx/saveit.now322026年10月10日 更新

Use when optimizing Convex database read bandwidth, documents-read cost, query indexes, full-table scans, function-level usage dashboard findings, or code that uses .filter(), unbounded .collect(), N+1 reads, or expensive reactive Convex queries.

日本語の概要は準備中です。原文の説明を表示しています。

Melvynx/saveit.now322026年10月10日 更新

Build reusable Convex components with isolated tables and app-facing wrappers. Use for defineComponent, app.use, ComponentApi, or shared backend modules.

日本語の概要は準備中です。原文の説明を表示しています。

Melvynx/saveit.now322026年10月10日 更新

Plan safe Convex schema and data migrations. Use for widen-migrate-narrow rollouts, backfills, breaking field changes, table splits, or failed schema deploys.

日本語の概要は準備中です。原文の説明を表示しています。

Melvynx/saveit.now322026年10月10日 更新

Audit Convex performance for hot reads, write contention, subscriptions, function limits, OCC conflicts, latency, read amplification, and expensive reactive queries.

日本語の概要は準備中です。原文の説明を表示しています。

Melvynx/saveit.now322026年10月10日 更新

Melvynx のスキルをすべて見る

このスキルの問題を報告する