Skip to main content

Hankanman/claude-config

SkillsMP hat 28 Skills aus Hankanman/claude-config gesammelt. Öffne einen Skill, um Quelle und Details zu prüfen.

Letzte erfasste Quellaktivität
SkillsMP-Katalog aktualisiert
gesammelte Skills
28
GitHub-Stars
1
GitHub-Forks
0

Es werden 28 von 28 gesammelten Skills angezeigt.

Beruf
Softwareentwickler
Beschreibung

Fix TypeScript type inference loss when dynamically constructing Zod object schemas. Use when: (1) `z.infer<typeof schema>` produces `Record<string, unknown>` instead of typed fields, (2) Building a schema factory that constructs `z.object()` from dynamic…

Quellsprache: Englisch

Aktualisiert
Beruf
Softwareentwickler
Beschreibung

Access the Home Assistant REST API using environment variables HA_URL and HA_TOKEN exported in ~/.zshrc. Use when: (1) need to query Home Assistant entity states, (2) need to call HA services programmatically, (3) need to debug or inspect HA integration…

Quellsprache: Englisch

Aktualisiert
Beruf
Softwareentwickler
Beschreibung

Fix Better Auth performance anti-pattern: manual db.$setAuth() vs. reusing cached client. Use when: (1) Server actions or components create new auth contexts with db.$setAuth(), (2) Functions accept User parameter just to create auth context, (3) Dashboard or…

Quellsprache: Englisch

Aktualisiert
Beruf
Softwareentwickler
Beschreibung

Fix for "An error occurred in the Server Components render" in Next.js production builds when using ZenStack ORM with Better Auth. Use when: (1) Generic Server Components error in production with no stack trace, (2) Works in dev but fails in production, (3)…

Quellsprache: Englisch

Aktualisiert
Beruf
Softwareentwickler
Beschreibung

Fix timezone drift when using JavaScript Date methods with UTC-stored times. Use when: (1) Times shift by user's timezone offset (e.g., 09:00 UTC becomes 10:00 in BST browsers), (2) Database stores times in UTC but display shows wrong hours, (3) Inconsistent…

Quellsprache: Englisch

Aktualisiert
Beruf
Softwareentwickler
Beschreibung

Refactor Next.js + Better Auth authentication to minimal API with discriminated unions. Use when: (1) Too many auth helper functions causing maintenance burden, (2) Want perfect type safety without optional chaining, (3) Need to optimize auth performance with…

Quellsprache: Englisch

Aktualisiert
Beruf
Softwareentwickler
Beschreibung

Fix TypeScript errors when integrating react-big-calendar drag-and-drop addon in Next.js/React projects. Use when: (1) Getting "Module has no exported member 'EventInteractionArgs'" error, (2) EventWrapperProps type missing 'children' property causing type…

Quellsprache: Englisch

Aktualisiert
Beruf
Webentwickler
Beschreibung

Integrate react-big-calendar with Next.js 16 App Router and shadcn/ui. Use when: (1) Need to add a visual calendar to Next.js app, (2) Want calendar that works with server/client component split, (3) Need to integrate with shadcn/ui theming, (4) Building…

Quellsprache: Englisch

Aktualisiert
Beruf
Softwareentwickler
Beschreibung

Properly render both recurring and one-off events in react-big-calendar with date constraints. Use when: (1) One-off events appear every week instead of just their specific date, (2) Recurring events don't respect effectiveFrom/effectiveUntil date ranges, (3)…

Quellsprache: Englisch

Aktualisiert
Beruf
Softwareentwickler
Beschreibung

Fix validation errors "Start time must be before end time" when seeding time-based data with timezone conversion. Use when: (1) Database seeding fails with time ordering validation errors despite correct local times, (2) Timezone conversion causes day-of-week…

Quellsprache: Englisch

Aktualisiert
Beruf
Softwareentwickler
Beschreibung

Fix ZenStack access control bug where cascading check(relation, 'read') policies allow unauthorized data access. Use when: (1) Users can see other users' private data they shouldn't access, (2) Access control works at User/Profile level but fails for related…

Quellsprache: Englisch

Aktualisiert
Beruf
Softwareentwickler
Beschreibung

Fix TypeScript type errors when passing ZenStack query results to components expecting Zod schema types. Use when: (1) Getting "Type 'null' is not assignable to type 'undefined'" errors, (2) Database query results don't match component prop types, (3)…

Quellsprache: Englisch

Aktualisiert
Beruf
Webentwickler
Beschreibung

Fix buttons unintentionally submitting forms due to HTML's default type="submit" behavior. Use when: (1) Dismiss/cancel/close buttons trigger form submissions, (2) Modal/dialog buttons cause unexpected form submits, (3) Dropdown/toggle buttons submit parent…

Quellsprache: Englisch

Aktualisiert
Beruf
Webentwickler
Beschreibung

Fix Sentry integration issues in Next.js 16 with Turbopack. Use when: (1) Getting "Route used Math.random() before accessing uncached data" errors after adding Sentry, (2) Deprecation warnings about disableLogger/automaticVercelMonitors, (3) TypeScript errors…

Quellsprache: Englisch

Aktualisiert
Beruf
Webentwickler
Beschreibung

Fix React duplicate detection race conditions using useRef for synchronous checks. Use when: (1) Rapid successive function calls bypass duplicate/spam detection despite state-based checking logic, (2) Rate limiting or cooldown logic fails when triggered…

Quellsprache: Englisch

Aktualisiert
Beruf
WebentwicklerSoftwareentwickler
Beschreibung

Fix TypeScript type errors in next-intl when translation keys don't match across locale files. Use when: (1) Getting "Types of property are incompatible" errors in i18n helper files, (2) Adding new translation sections and getting type errors, (3) Property…

Quellsprache: Englisch

Aktualisiert
Beruf
Softwareentwickler
Beschreibung

Fix Next.js 16 build errors in "use server" files. Use when: (1) Build error "A 'use server' file can only export async functions, found object", (2) Need to export constants/enums from server action files, (3) Want to use next/headers without forcing entire…

Quellsprache: Englisch

Aktualisiert
Beruf
Softwareentwickler
Beschreibung

Fix Next.js 16 build error "A 'use server' file can only export async functions, found object". Use when: (1) Build fails with this exact error message, (2) You have constants, enums, or type exports in files with "use server" directive, (3) Exporting…

Quellsprache: Englisch

Aktualisiert
Beruf
Softwareentwickler
Beschreibung

Fix session invalidation detection in Next.js 16 App Router with Better Auth. Use when: (1) Signed-out header but protected content still visible after sign-out, (2) Session changes not detected until page interaction/reload, (3) E2E tests fail with "should…

Quellsprache: Englisch

Aktualisiert
Beruf
Softwareentwickler
Beschreibung

Fix React user preferences not persisting after page reload when loaded from database. Use when: (1) Settings load into state but don't appear in UI after reload, (2) User preferences exist in database but UI shows defaults, (3) Accessibility settings or…

Quellsprache: Englisch

Aktualisiert
Beruf
Softwarequalitätssicherungsanalysten und -tester
Beschreibung

Fix Vitest "PromiseRejectionHandledWarning" and flaky tests when testing retry logic with exponential backoff. Use when: (1) Testing setTimeout-based retry mechanisms with promises, (2) Getting unhandled promise rejection warnings with vi.useFakeTimers(), (3)…

Quellsprache: Englisch

Aktualisiert
Beruf
Softwareentwickler
Beschreibung

Fix TypeScript circular reference errors when passing ZenStack authenticated database client as function parameter. Use when: (1) TypeScript error "TS2502: 'db' is referenced directly or indirectly in its own type annotation", (2) Utility functions need to…

Quellsprache: Englisch

Aktualisiert
Beruf
Softwareentwickler
Beschreibung

Fix "INVALID_KEY: Namespace keys can not contain the character '.'" error in next-intl. Use when: (1) Getting INVALID_KEY error with dots in translation keys, (2) Migrating from flat key structure to next-intl, (3) Keys like "email.notification.booking"…

Quellsprache: Englisch

Aktualisiert
Beruf
Webentwickler
Beschreibung

Fix Next.js 16 build errors "Module not found: Can't resolve 'dns', 'fs', 'net', 'tls'" when client components import constants from files that transitively import Node.js modules. Use when: (1) Build fails with Node.js module resolution errors in client…

Quellsprache: Englisch

Aktualisiert
Beruf
Webentwickler
Beschreibung

Fix broken locale routing in Next.js apps using next-intl. Use when: (1) Links navigate without locale prefix (e.g., /dashboard instead of /en/dashboard), (2) Language preference lost on navigation, (3) 404 errors due to missing locale in URL, (4) Setting up…

Quellsprache: Englisch

Aktualisiert
Beruf
Informationssicherheitsanalysten
Beschreibung

Fix for user preference rate limiting bypass vulnerability. Use when: (1) Users can reset rate limits by toggling preference settings, (2) Cooldown tracking uses preference.updatedAt field, (3) Email/notification spam prevention fails after preference…

Quellsprache: Englisch

Aktualisiert
Beruf
Softwarequalitätssicherungsanalysten und -tester
Beschreibung

Mock Prisma/ZenStack queries when code uses both findFirst and findUnique on the same model. Use when: (1) Tests fail with "Cannot read property of undefined", (2) Code queries same model with different methods (findFirst for search, findUnique for exact…

Quellsprache: Englisch

Aktualisiert
Beruf
Softwareentwickler
Beschreibung

Discover actual ZenStack/Prisma relation field names when type errors occur. Use when: (1) TypeScript errors like "Property 'verificationRecord' does not exist" on model instances, (2) Runtime errors accessing relations, (3) Implementing new features that…

Quellsprache: Englisch

Aktualisiert
Es werden 28 von 28 gesammelten Skills angezeigt.