{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "account-settings",
  "type": "registry:block",
  "title": "Account Settings",
  "description": "Profile, security, sessions, and notification preference pages.",
  "dependencies": [],
  "devDependencies": [],
  "registryDependencies": [],
  "files": [
    {
      "path": "apps/web/src/app/(console)/settings/account/page.tsx",
      "type": "registry:page",
      "target": "apps/web/src/app/(console)/settings/account/page.tsx",
      "content": "const sections = [\n  { title: \"Profile\", description: \"Name, avatar, and public identity.\" },\n  { title: \"Security\", description: \"Password, passkeys, and two-factor settings.\" },\n  { title: \"Notifications\", description: \"Product, billing, and security email preferences.\" },\n];\n\nexport default function AccountSettingsPage() {\n  return (\n    <main className=\"flex flex-col gap-6 p-6\">\n      <div>\n        <h1 className=\"text-2xl font-semibold\">Account Settings</h1>\n        <p className=\"text-muted-foreground\">Give users a clear home for personal settings.</p>\n      </div>\n      <div className=\"grid gap-3\">\n        {sections.map((section) => (\n          <section key={section.title} className=\"rounded-lg border p-4\">\n            <h2 className=\"font-medium\">{section.title}</h2>\n            <p className=\"text-sm text-muted-foreground\">{section.description}</p>\n          </section>\n        ))}\n      </div>\n    </main>\n  );\n}\n"
    },
    {
      "path": "apps/web/src/lib/account-settings.ts",
      "type": "registry:file",
      "target": "apps/web/src/lib/account-settings.ts",
      "content": "export type AccountSettingsSection = {\n  id: string;\n  title: string;\n  href: string;\n};\n\nexport const accountSettingsSections: AccountSettingsSection[] = [\n  { id: \"profile\", title: \"Profile\", href: \"/settings/account\" },\n  { id: \"security\", title: \"Security\", href: \"/settings/account/security\" },\n  { id: \"notifications\", title: \"Notifications\", href: \"/settings/account/notifications\" },\n];\n"
    }
  ],
  "maintenanceSkills": [
    {
      "name": "account-settings",
      "target": ".stackfoundry/skills/account-settings/SKILL.md",
      "content": "---\nname: account-settings\ndescription: Maintain the Account Settings module installed by StackFoundry.\n---\n\n# Account Settings Maintenance Instructions\n\n- Preserve the module boundary described in `docs.md`.\n- Keep public APIs small and typed.\n- Update tests/checklist.md when behavior changes.\n- Do not introduce secrets, generated machine metadata, or provider lock-in.\n\n## Shared Skills\n\nWhen provider, framework, or database behavior changes, load the installed shared skill before editing implementation details:\n\n- `.stackfoundry/skills/nextjs/SKILL.md` (source: `registry/skills/nextjs/SKILL.md`)\n\nKeep this module skill focused on ownership, installed files, env vars, deployment checks, and module-specific invariants.\n\n"
    },
    {
      "name": "nextjs",
      "target": ".stackfoundry/skills/nextjs/SKILL.md",
      "content": "---\nname: nextjs\ndescription: Maintain Next.js App Router code installed by StackFoundry modules.\n---\n\n# Next.js Operating Instructions\n\n## Installed Location\n\n- Installed target: `.stackfoundry/skills/nextjs/SKILL.md`\n- Registry source: `registry/skills/nextjs/SKILL.md`\n\nAgents maintaining an installed module should load this shared skill from the installed target when provider, framework, database, SDK, or platform behavior is involved. Keep provider-specific API details here instead of duplicating them inside module maintenance skills.\n\n- Keep server-only data access out of Client Components.\n- Put route handlers under `app/api` and UI routes under the relevant App Router segment.\n- Prefer Server Components for data loading and add `\"use client\"` only for interactivity.\n- Keep public environment variables prefixed with `NEXT_PUBLIC_`; keep secrets server-only.\n- Re-run typecheck and build after changing route handlers, layouts, or shared app configuration.\n"
    }
  ],
  "envVars": {},
  "docs": "# Account Settings Module\n\nProfile, security, sessions, and notification preference pages.\n\n## Owns\n\n- `apps/web/src/app/(console)/settings/account/page.tsx`\n- `apps/web/src/lib/account-settings.ts`\n\n## Environment\n\nNo environment variables are required by default.\n\n## Maintenance\n\n- Keep this module provider-neutral unless a provider adapter is added as a separate module.\n- Update the manifest when source files, schema exports, dependencies, or environment variables change.\n- Verify install output with `stackfoundry add account-settings --target <app> --dry-run` before promoting status.\n",
  "meta": {
    "category": "auth",
    "env": [],
    "status": "ready",
    "maturity": "ready",
    "recommendedFor": []
  }
}
