vishalsachdev

vishalsachdev

@vishalsachdev

GitHub
52 Skills
108 Total Stars
February 2026 Joined

Public Skills

ai-model-cascade

by vishalsachdev

A production-ready pattern for integrating AI models (specifically Google Gemini) with automatic fallback, retry logic, structured output via Zod schemas, and comprehensive error handling. Use when integrating AI/LLM APIs, need automatic fallback when models are overloaded, want type-safe structured responses, or building features requiring reliable AI generation.

Debugging 2 11mo ago

advanced-text-search-matching

by vishalsachdev

Production-grade text search algorithms for finding and matching text in large documents with millisecond performance. Includes Boyer-Moore search, n-gram similarity, fuzzy matching, and intelligent indexing. Use when building search features for large documents, finding quotes with imperfect matches, implementing fuzzy search, or need character-level precision.

Embeddings 2 11mo ago

resilient-async-operations

by vishalsachdev

A comprehensive pattern for handling asynchronous operations in JavaScript/TypeScript applications with automatic cleanup, graceful error handling, and memory leak prevention. Use when building async operations that need timeout control, cancellation support, retry logic, or graceful error handling.

Code Gen 2 11mo ago

type-safe-form-validation

by vishalsachdev

A comprehensive pattern for building type-safe forms and API validation using Zod, with automatic error formatting, runtime type checking, and seamless TypeScript integration. Use when building forms with client-side and server-side validation, validating API request/response payloads, creating reusable validation schemas, or ensuring data integrity across client and server.

Processing 2 11mo ago