using-generics
Teaches generic constraints, avoiding any in generic defaults, and mapped types in TypeScript. Use when creating reusable functions, components, or types that work with multiple types while maintaining type saf...
浏览 djankies 维护的已发布 AI 技能,比较用途与说明,并通过来源仓库了解安装方式。
已收录技能
100收录技能的仓库 Stars 合计
0仓库 Forks
0平均每个技能的仓库 Stars
0同一仓库中的多个技能可能共享 Stars,合计包含重复仓库数据。
Teaches generic constraints, avoiding any in generic defaults, and mapped types in TypeScript. Use when creating reusable functions, components, or types that work with multiple types while maintaining type saf...
React 19's use() API for reading Promises/Context conditionally. For async data fetching, Suspense, conditional context access, useContext migration.
Guide to Zod v4 new features including top-level string formats, string transformations, codecs, and stringbool
Validating external data from APIs, JSON parsing, user input, and any untrusted sources in TypeScript applications
Teaches how to validate external data at runtime using Zod and other validation libraries in TypeScript. Use when working with APIs, JSON parsing, user input, or any external data source where runtime validatio...
Automated tooling and detection patterns for JavaScript/TypeScript security vulnerabilities. Provides scan commands, vulnerability patterns, and severity mapping—not output formatting or workflow.
Review React 19 test quality including coverage, patterns, and React 19 API testing. Use when reviewing tests or test coverage.
Teaches testing Server Actions in isolation in React 19. Use when testing Server Actions, form handling, or server-side logic.
Teaches when and how to use unknown instead of any type in TypeScript. Use when working with TypeScript code that has any types, needs type safety, handling external data, or when designing APIs. Critical for p...
Review state management patterns for React 19 best practices. Use when reviewing component state, Context usage, or state architecture.
[REPLACE] Teach concepts and demonstrate patterns with examples. Use when [REPLACE with specific triggers].
Teaches useOptimistic hook for immediate UI updates during async operations in React 19. Use when implementing optimistic UI patterns, instant feedback, or reducing perceived latency.
Use container queries for component-based responsive design with @container syntax and named containers. Use when building portable, reusable components that adapt to parent size instead of viewport.
Resolve all TypeScript errors using root cause analysis, targeted fixes, and mandatory validation
Test Zod schemas comprehensively with unit tests, integration tests, and type tests for validation logic
Create custom utilities with @utility directive supporting static utilities, functional utilities with values, theme-based utilities, and multi-value utilities. Use when extending Tailwind with custom CSS prope...
Optimize queries by selecting only required fields and avoiding N+1 problems. Use when writing queries with relations or large result sets.
Prevent SQL injection by using $queryRaw tagged templates instead of $queryRawUnsafe. Use when writing raw SQL queries or dynamic queries.
Optimize Zod validation performance with safeParse, bulk array validation, schema reuse, and passthrough patterns
Teaches when to use local state vs global state (Context) in React 19. Use when deciding state management strategy, avoiding prop drilling, or architecting component state.
Analyze TypeScript errors and provide detailed diagnostics with root cause analysis and specific fix recommendations
Handle Zod validation errors with unified error API, custom messages, error formatting, and user-friendly display
Review component architecture for React 19 best practices including size, composition, Server/Client boundaries, and anti-patterns. Use when reviewing component design.
Review Prisma code for common violations, security issues, and performance anti-patterns found in AI coding agent stress testing. Use when reviewing Prisma Client usage, database operations, or performing code...
默认按已收录数据中的 GitHub 仓库 Stars 排序。Stars 属于来源仓库,同一仓库的多个技能可能共享相同数值;它反映仓库关注度,不代表单个技能的安装量或质量评分。