Skill Creator
djankies
100 published skills · 0 GitHub stars across the catalog. View on GitHub ↗
avoiding-angle-bracket-assertions
Avoid angle-bracket type assertions (<Type>) and use 'as Type' syntax instead
avoiding-any-types
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 preventing type safety violations.
avoiding-non-null-assertions
Avoid non-null assertion operator (!) and use type-safe alternatives instead
diagnosing-type-errors
Analyze TypeScript errors and provide detailed diagnostics with root cause analysis and specific fix recommendations
hashing-passwords
CRITICAL security skill teaching proper credential and password handling. NEVER store passwords, use bcrypt/argon2, NEVER accept third-party credentials. Use when handling authentication, passwords, API keys, or any sensitive credentials.
refactoring-inline-types
Refactor inline types into reusable, well-organized type definitions using interfaces, type aliases, and generics
resolving-type-errors
Resolve all TypeScript errors using root cause analysis, targeted fixes, and mandatory validation
reviewing-type-safety
Code review skill that checks TypeScript type safety, exported for use by cross-cutting review plugin
sanitizing-user-inputs
Sanitizing and validating user input to prevent XSS, injection attacks, and security vulnerabilities in TypeScript applications
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 safety.
using-runtime-checks
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 validation is needed.
using-type-guards
Teaches how to write custom type guards with type predicates and use built-in type narrowing in TypeScript. Use when working with unknown types, union types, validating external data, or implementing type-safe runtime checks.
validating-external-data
Validating external data from APIs, JSON parsing, user input, and any untrusted sources in TypeScript applications
validating-type-assertions
Teaches when type assertions are safe versus dangerous in TypeScript. Use when considering using 'as' keyword, type casting, or when working with external data that might use assertions instead of proper validation.
configuring-vitest-4
Configure Vitest 4.x with correct pool architecture, coverage settings, and multi-project setup. Use when creating or modifying vitest.config files or setting up test infrastructure.
migrating-to-vitest-4
Migrate from Vitest 2.x/3.x to 4.x with pool options, coverage config, workspace to projects, and browser mode updates. Use when upgrading Vitest versions or encountering deprecated patterns.
reviewing-vitest-config
Review Vitest configuration for deprecated patterns and best practices. Use when reviewing test configuration or vitest setup.
using-browser-mode
Set up Vitest browser mode with Playwright or WebDriverIO providers, use page and userEvent APIs, test components. Use when testing browser-specific code or UI components.
writing-vitest-tests
Write Vitest tests with describe/test blocks, expect assertions, vi mocking, async testing, and parameterized tests. Use when creating or modifying test files.
customizing-errors
Handle Zod validation errors with unified error API, custom messages, error formatting, and user-friendly display
integrating-zod-frameworks
Integrate Zod v4 with React Hook Form, Next.js, Express, tRPC, and other frameworks for type-safe validation
migrating-v3-to-v4
Complete migration guide from Zod v3 to v4 covering all breaking changes and upgrade patterns
optimizing-performance
Optimize Zod validation performance with safeParse, bulk array validation, schema reuse, and passthrough patterns
reviewing-patterns
Review Zod schemas for correctness, performance, and v4 best practices