/reusable-app-components:app-authfrom reusable-app-components
Builds login, signup, social auth, password recovery, and account switching with Google, GitHub, Apple, Hugging Face, and PocketBase. Provides framework-neutral TypeScript contracts, React components, and a Vite demo.
Ships in reusable-app-components. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use full-page, same-tab social login by default and offer the last successfully used profile, saved after every verified login unless the product needs an opt-in checkbox. Google and the browser decide whether account selection or reauthentication is required. Do not promise silent login or call a flow fastest without measurements.
npm run dev in the plugin directory for the Vite demo. Its provider and email flows are simulations.label, redirectEndpoint and returnTo for full-page login without GIS. The old credential adapter remains available for existing popup integrations. A saved email may be a provider hint only. The provider still verifies identity. “Sign in with another profile” opens all configured methods and uses prompt=select_account without a hint.pendingReturnTo and oauthErrorReason in login.ts (plus optional onSelect on SocialSignIn.tsx) so unsafe external origins, //, and \ are rejected and cancelled or expired OAuth redirects surface localized feedback. Both paths must use the same account/session policy, then resume the action once. Only the backend verifies identity and authorizes access.Session/profile and SSR session reads on the session cookie before hitting backend/database APIs, use PKCE S256 with 600–900s HttpOnly SameSite=Lax state cookies (Cache-Control: no-store), clear the state cookie once on every outcome (success, mismatch, expiry, cancellation), recover callback failures with 3xx redirects to the localized UI instead of raw 401 JSON, allow all supported locale prefixes in returnTo, and verify the live endpoints without credentials using node scripts/check-oauth.mjs --start <url> --callback <url> --origin <origin> --locales en,tr,ar.The app owns script loading, public client configuration, sessions, error reporting and navigation. The component owns rendering, pending/error UI and cancelling its credential operation when the auth surface closes.
For architecture standardization, read backend standard. It is a proposed target, not an implemented Go dependency or completed migration.
For web/native/TV clients or another social provider, read platforms and providers. Use one identity store and revocation model per product across its clients. Keep browser cookies and native secure-storage transport distinct.
Read provenance before claiming production coverage. Distinguish a shipped reference, a tested extraction and a pending app integration. Add future components as focused skills with code, integration contracts and behavior tests when an actual app supplies the evidence. Do not add empty catalogs or treat a component PR as permission to deploy another app.
assets/AuthPanel.tsx (opens in a new tab)assets/EmailAuth.tsx (opens in a new tab)assets/GoogleSignIn.tsx (opens in a new tab)assets/ProviderLogo.tsx (opens in a new tab)assets/RememberedLogin.tsx (opens in a new tab)assets/SocialSignIn.tsx (opens in a new tab)assets/auth-panel.css (opens in a new tab)assets/auth.ts (opens in a new tab)assets/email-auth.css (opens in a new tab)assets/fonts/InterVariable.woff2 (opens in a new tab)assets/fonts/OFL.txt (opens in a new tab)assets/google-sign-in.css (opens in a new tab)assets/login.ts (opens in a new tab)assets/logos.d.ts (opens in a new tab)assets/logos/apple.svg (opens in a new tab)assets/logos/github.svg (opens in a new tab)assets/logos/google.svg (opens in a new tab)assets/logos/huggingface.svg (opens in a new tab)assets/pocketbase.ts (opens in a new tab)assets/social-sign-in.css (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
3 skills in this plugin
/email-designThis skill should be used when user asks to "design app emails", "theme transactional emails", "fix verification emails", "build email templates", or "review password reset emails". Match an app’s brand and reuse its delivery pipeline across account, billing and notification emails./opendesk-supportThis skill should be used when user asks to "add OpenDesk support chat", "migrate from Tawk", "theme a support widget", "configure an OpenDesk AI bot", "sync chatbot knowledge", "inspect OpenDesk chats", "reply to OpenDesk tickets", or "update OpenDesk settings via CLI, API or MCP". Covers self-hosted deployment, signed identity, product workspaces, AI answers, knowledge automation, CLI tooling and support operations.npx claudepluginhub fcakyon/claude-codex-settings --plugin reusable-app-componentsOther plugins' skills for the same job