[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F78QT7RTX08DBHQTZK73KY":3,"skill-same:01M7F78QT7RTX08DBHQTZK73KY":46},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M7F78QT7RTX08DBHQTZK73KY","settings-pages",null,"Use when building settings — account, profile, team\u002Fmembers, workspace, and a danger zone. Covers sectioned layouts, sidebar\u002Ftab navigation, autosave vs explicit save, and safe destructive actions.","alexj11324\u002FMikka","alexj11324","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F183887963?v=4","01M7F72W5NYK4AXQCEH0PZM81E","Zhixuan Jiang","01M7F72W69V101X48H9PZVBB46",87,"AGPL-3.0","https:\u002F\u002Fgithub.com\u002Falexj11324\u002FMikka\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fsettings-pages\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: settings-pages\ndescription: Use when building settings — account, profile, team\u002Fmembers, workspace, and a danger zone. Covers sectioned layouts, sidebar\u002Ftab navigation, autosave vs explicit save, and safe destructive actions.\n---\n\n# Settings Pages\n\n## Overview\n\nSettings sprawl fast. Tame them with a consistent structure: a section navigation (sidebar on desktop, tabs\u002Fselect on mobile), grouped cards per topic, and a clear save model. Isolate irreversible actions in a visually distinct **danger zone** so users never delete by reflex.\n\n## When to use\n\n- Building account\u002Fprofile\u002Fteam\u002Fworkspace\u002Fbilling settings.\n- A settings page has become one giant unstructured form.\n- Adding destructive actions (delete account, remove member).\n\n## Structure: section nav + content\n\n```tsx\n\u003Cdiv className=\"mx-auto grid max-w-5xl gap-8 md:grid-cols-[200px_1fr]\">\n  \u003Cnav aria-label=\"Settings\" className=\"flex gap-1 md:flex-col\">\n    {sections.map((s) => (\n      \u003Ca key={s.href} href={s.href} aria-current={s.active ? \"page\" : undefined}\n        className={cn(\"rounded-md px-3 py-2 text-sm\", s.active ? \"bg-muted font-medium\" : \"text-muted-foreground hover:bg-muted\u002F50\")}>\n        {s.label}\n      \u003C\u002Fa>\n    ))}\n  \u003C\u002Fnav>\n\n  \u003Cdiv className=\"space-y-6\">\n    \u003CSettingsSection title=\"Profile\" description=\"How you appear across the workspace.\">\n      \u003CProfileForm \u002F>\n    \u003C\u002FSettingsSection>\n    \u003CSettingsSection title=\"Notifications\" description=\"Choose what we email you about.\">\n      \u003CNotificationPrefs \u002F>\n    \u003C\u002FSettingsSection>\n  \u003C\u002Fdiv>\n\u003C\u002Fdiv>\n```\n\nA reusable section card keeps spacing\u002Ftypography consistent:\n\n```tsx\nfunction SettingsSection({ title, description, children }: SettingsSectionProps) {\n  return (\n    \u003CCard>\n      \u003CCardHeader>\u003CCardTitle>{title}\u003C\u002FCardTitle>\u003CCardDescription>{description}\u003C\u002FCardDescription>\u003C\u002FCardHeader>\n      \u003CCardContent>{children}\u003C\u002FCardContent>\n    \u003C\u002FCard>\n  );\n}\n```\n\n## Save model: pick one and be consistent\n\n- **Explicit save** (form + Save button) for grouped changes — show a sticky \"You have unsaved changes\" bar when `isDirty`, disable Save while submitting, toast on success.\n- **Autosave** for single toggles\u002Fswitches — optimistic update, revert + toast on failure. Don't mix a \"Save\" button with auto-saving toggles on the same screen.\n\n## Team \u002F members table\n\nList members with role selects and a remove action (use `data-tables` patterns). Guard the last owner: you can't remove or demote the only admin.\n\n## Danger zone\n\n```tsx\n\u003CCard className=\"border-destructive\u002F50\">\n  \u003CCardHeader>\n    \u003CCardTitle className=\"text-destructive\">Danger zone\u003C\u002FCardTitle>\n    \u003CCardDescription>Irreversible and destructive actions.\u003C\u002FCardDescription>\n  \u003C\u002FCardHeader>\n  \u003CCardContent className=\"flex items-center justify-between\">\n    \u003Cdiv>\n      \u003Cp className=\"font-medium\">Delete workspace\u003C\u002Fp>\n      \u003Cp className=\"text-sm text-muted-foreground\">Permanently removes all data.\u003C\u002Fp>\n    \u003C\u002Fdiv>\n    \u003CDeleteWorkspaceDialog \u002F> {\u002F* AlertDialog + type-to-confirm *\u002F}\n  \u003C\u002FCardContent>\n\u003C\u002FCard>\n```\n\nRequire typing the workspace name to enable the delete button (see `modals-and-dialogs`).\n\n## Pitfalls\n\n- **One giant form** for everything — group into sections\u002Fcards.\n- **Mixing autosave toggles with an explicit Save button** — confusing; pick one model per screen.\n- **No unsaved-changes warning** — users navigate away and lose edits.\n- **Destructive actions next to normal ones** — isolate in a danger zone with confirm.\n- **Letting the last admin be removed** — lock yourself out of the org.\n- **No mobile treatment** for the section nav — collapse to tabs or a select.\n\n## Hand-off\n\nConfiguration screens built from `forms-and-validation`, `data-tables` (members), and `modals-and-dialogs` (destructive confirms); link to `billing-and-pricing` for plan management.\n","# Settings Pages\n\n## Overview\n\nSettings sprawl fast. Tame them with a consistent structure: a section navigation (sidebar on desktop, tabs\u002Fselect on mobile), grouped cards per topic, and a clear save model. Isolate irreversible actions in a visually distinct **danger zone** so users never delete by reflex.\n\n## When to use\n\n- Building account\u002Fprofile\u002Fteam\u002Fworkspace\u002Fbilling settings.\n- A settings page has become one giant unstructured form.\n- Adding destructive actions (delete account, remove member).\n\n## Structure: section nav + content\n\n```tsx\n\u003Cdiv className=\"mx-auto grid max-w-5xl gap-8 md:grid-cols-[200px_1fr]\">\n  \u003Cnav aria-label=\"Settings\" className=\"flex gap-1 md:flex-col\">\n    {sections.map((s) => (\n      \u003Ca key={s.href} href={s.href} aria-current={s.active ? \"page\" : undefined}\n        className={cn(\"rounded-md px-3 py-2 text-sm\", s.active ? \"bg-muted font-medium\" : \"text-muted-foreground hover:bg-muted\u002F50\")}>\n        {s.label}\n      \u003C\u002Fa>\n    ))}\n  \u003C\u002Fnav>\n\n  \u003Cdiv className=\"space-y-6\">\n    \u003CSettingsSection title=\"Profile\" description=\"How you appear across the workspace.\">\n      \u003CProfileForm \u002F>\n    \u003C\u002FSettingsSection>\n    \u003CSettingsSection title=\"Notifications\" description=\"Choose what we email you about.\">\n      \u003CNotificationPrefs \u002F>\n    \u003C\u002FSettingsSection>\n  \u003C\u002Fdiv>\n\u003C\u002Fdiv>\n```\n\nA reusable section card keeps spacing\u002Ftypography consistent:\n\n```tsx\nfunction SettingsSection({ title, description, children }: SettingsSectionProps) {\n  return (\n    \u003CCard>\n      \u003CCardHeader>\u003CCardTitle>{title}\u003C\u002FCardTitle>\u003CCardDescription>{description}\u003C\u002FCardDescription>\u003C\u002FCardHeader>\n      \u003CCardContent>{children}\u003C\u002FCardContent>\n    \u003C\u002FCard>\n  );\n}\n```\n\n## Save model: pick one and be consistent\n\n- **Explicit save** (form + Save button) for grouped changes — show a sticky \"You have unsaved changes\" bar when `isDirty`, disable Save while submitting, toast on success.\n- **Autosave** for single toggles\u002Fswitches — optimistic update, revert + toast on failure. Don't mix a \"Save\" button with auto-saving toggles on the same screen.\n\n## Team \u002F members table\n\nList members with role selects and a remove action (use `data-tables` patterns). Guard the last owner: you can't remove or demote the only admin.\n\n## Danger zone\n\n```tsx\n\u003CCard className=\"border-destructive\u002F50\">\n  \u003CCardHeader>\n    \u003CCardTitle className=\"text-destructive\">Danger zone\u003C\u002FCardTitle>\n    \u003CCardDescription>Irreversible and destructive actions.\u003C\u002FCardDescription>\n  \u003C\u002FCardHeader>\n  \u003CCardContent className=\"flex items-center justify-between\">\n    \u003Cdiv>\n      \u003Cp className=\"font-medium\">Delete workspace\u003C\u002Fp>\n      \u003Cp className=\"text-sm text-muted-foreground\">Permanently removes all data.\u003C\u002Fp>\n    \u003C\u002Fdiv>\n    \u003CDeleteWorkspaceDialog \u002F> {\u002F* AlertDialog + type-to-confirm *\u002F}\n  \u003C\u002FCardContent>\n\u003C\u002FCard>\n```\n\nRequire typing the workspace name to enable the delete button (see `modals-and-dialogs`).\n\n## Pitfalls\n\n- **One giant form** for everything — group into sections\u002Fcards.\n- **Mixing autosave toggles with an explicit Save button** — confusing; pick one model per screen.\n- **No unsaved-changes warning** — users navigate away and lose edits.\n- **Destructive actions next to normal ones** — isolate in a danger zone with confirm.\n- **Letting the last admin be removed** — lock yourself out of the org.\n- **No mobile treatment** for the section nav — collapse to tabs or a select.\n\n## Hand-off\n\nConfiguration screens built from `forms-and-validation`, `data-tables` (members), and `modals-and-dialogs` (destructive confirms); link to `billing-and-pricing` for plan management.\n",{"name":5,"description":7},"main","4ae55457c0230cc1b0d4ab22ba0ac86662b8202d",".claude\u002Fskills\u002Fsettings-pages",11,"https:\u002F\u002Fgithub.com\u002Falexj11324\u002FMikka","https:\u002F\u002Faspectlylabs.com\u002Fmikka","https:\u002F\u002Fgithub.com\u002Falexj11324","2026-11-15 16:49:24",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add alexj11324\u002FMikka --skill settings-pages",{"tool":38,"command":39},"bunx","bunx skills add alexj11324\u002FMikka --skill settings-pages",{"tool":41,"command":42},"pnpm","pnpm dlx skills add alexj11324\u002FMikka --skill settings-pages","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Falexj11324\u002FMikka\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fsettings-pages\u002FSKILL.md",true,[],[47,53,59,66,73,80],{"skillNo":48,"name":49,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":19},"01M7F7DR2H1H14E5BJ8FFG73A3","run-report","https:\u002F\u002Fgithub.com\u002Falexj11324\u002FMikka\u002Fblob\u002Fmain\u002Flib\u002Fself-improvement\u002Fskills\u002Frun-report\u002FSKILL.md",[],[],{"skillNo":54,"name":55,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M7F7DN7QRPJM3QGP20AYQHRA","source-checking","https:\u002F\u002Fgithub.com\u002Falexj11324\u002FMikka\u002Fblob\u002Fmain\u002Fagents\u002Fresearch-example\u002Fskills\u002Fsource-checking\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M7F7DHXRSSGKW4CXVRTYTHRC","writing-shape","Writing, exploit: shape raw material into an article, paragraph by paragraph.","https:\u002F\u002Fgithub.com\u002Falexj11324\u002FMikka\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fwriting-shape\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M7F7DAATWYFV4YFV0NNZ507V","writing-fragments","Writing, explore: mine raw fragments, no structure yet.","https:\u002F\u002Fgithub.com\u002Falexj11324\u002FMikka\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fwriting-fragments\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M7F7D3TJ6E75PEFWNVXYREHZ","writing-for-agents","Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.","https:\u002F\u002Fgithub.com\u002Falexj11324\u002FMikka\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fwriting-for-agents\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M7F7CYAB0GYT0R5KXY4SEPR8","writing-beats","Writing, exploit; assemble raw material into a journey of beats, grounding each term before a beat leans on it.","https:\u002F\u002Fgithub.com\u002Falexj11324\u002FMikka\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fwriting-beats\u002FSKILL.md",[],[]]