AI Prompt Packs
These prompts give buyers reusable AI workflows that start from the right source paths and keep risky boundaries explicit.
On this page
Account and profile feature prompt
AI prompt
Modify <account workflow> in this app. Inspect the profile action, session profile loader, persistence helper, route guard, and nearby tests before editing. Preserve server-owned identity, validate all user input, avoid trusting client-supplied profile ids, and show the exact commands used to verify the change.Inspect first
- src/features/account/server/actions/profile.ts
- src/lib/auth/session/profile.ts
- src/features/account/server/persistence/profile.ts
- src/lib/auth/guards/route.ts
Verify
- pnpm run test:features
- pnpm run quality
Billing and payment feature prompt
AI prompt
Modify <billing workflow> in this app. Inspect provider selection, catalog config, setup checks, checkout service, webhook route, and webhook processing before editing. Preserve catalog/provider consistency, webhook signature verification, event idempotency, customer projection, and request id logging.Inspect first
- src/features/billing/server/runtime/provider.ts
- src/features/billing/server/catalog/configuration.ts
- src/features/billing/server/runtime/readiness.ts
- src/features/billing/server/checkout/service.ts
- src/app/api/webhooks/stripe/billing/route.ts
- src/lib/security/webhooks/processing.ts
Verify
- pnpm run test:features
- pnpm run quality
- Open /billing/setup.
Email and notification prompt
AI prompt
Modify <notification workflow> in this app. Inspect event definitions, delivery registry, runtime templates, default templates, outbox worker, and webhook request handling before editing. Preserve retry state, duplicate-safe delivery, template validation, provider boundaries, and no-secret logging.Inspect first
- src/features/notifications/server/notification-events.ts
- src/features/notifications/server/delivery/registry.ts
- src/features/notifications/server/templates/services/runtime.ts
- src/features/notifications/server/templates/shared/defaults.ts
- src/features/notifications/server/outbox/services/worker.ts
- src/lib/security/webhooks/request.ts
Verify
- pnpm run test:features
- pnpm run quality
Admin and permissions prompt
AI prompt
Modify <admin workflow> in this app. Inspect the route guard, RBAC feature map, navigation config, permissions service, invite action, and audit logger before editing. Keep access fail-closed, use canonical roles only, avoid UI-only authorization, and log meaningful actor and target identifiers.Inspect first
- src/lib/auth/guards/route.ts
- src/lib/auth/rbac/features.ts
- src/lib/auth/rbac/nav-config.ts
- src/features/team/server/access/services/permissions.ts
- src/features/team/server/access/actions/staff-invites.ts
- src/lib/audit/log.ts
Verify
- pnpm run test:features
- pnpm run quality
CMS and content prompt
AI prompt
Modify <content workflow> in this app. Inspect content kind definitions, editor action, editor upsert service, shared validation, and route usage before editing. Preserve slug uniqueness, publish status behavior, validation rules, server-owned writes, and generated metadata behavior.Inspect first
- src/features/posts/shared/kind.ts
- src/features/posts/server/posts/actions/editor.ts
- src/features/posts/server/posts/services/editor-upsert.ts
- src/features/posts/shared/cms/validation/validation.ts
- src/lib/seo/metadata/builders.ts
Verify
- pnpm run test:features
- pnpm run quality
Waitlist and lead-capture prompt
AI prompt
Modify <lead capture workflow> in this app. Inspect payload schemas, route-facing action, submit service, persistence helper, settings, and rate-limit policy before editing. Preserve validation, duplicate handling, bot resistance, settings toggles, request context, and notification side effects.Inspect first
- src/features/waitlist/server/signup/schemas/payload.ts
- src/features/waitlist/server/signup/actions/submit-route.ts
- src/features/waitlist/server/signup/services/submit.ts
- src/features/waitlist/server/signup/persistence/signups.ts
- src/features/waitlist/server/settings.ts
- src/lib/security/rate-limit/policy.ts
Verify
- pnpm run test:features
- pnpm run quality
Settings and branding prompt
AI prompt
Modify <configuration workflow> in this app. Inspect website settings actions, settings schemas, normalizers, defaults, branding settings, upload media types, and public config before editing. Preserve canonical env names, safe production URLs, upload validation, and settings normalization.Inspect first
- src/features/settings/server/actions/website-settings.ts
- src/features/settings/server/schemas/settings.ts
- src/features/settings/server/normalizer/settings-normalizer.ts
- src/features/settings/server/config/defaults.ts
- src/features/branding/shared/settings.ts
- src/lib/uploads/media-types.ts
- src/lib/config.ts
Verify
- pnpm run test:features
- pnpm run quality