gorgon
gorgon 收录了来自 mikevalstar 的 3 个 skills,并提供仓库级职业覆盖和站内 skill 详情页。
这个仓库中的 skills
Core caching with @gorgonjs/gorgon: Gorgon.get, Gorgon.put, Gorgon.clear (with wildcards), Gorgon.overwrite, expiry policies, cache key naming, concurrency deduplication, hooks, settings, custom storage providers via IGorgonCacheProvider, @gorgonjs/file-provider for disk persistence, and @gorgonjs/clearlink for distributed cache invalidation via WebSocket. Use when caching API calls, database queries, or any async operation in TypeScript/JavaScript.
React integration for @gorgonjs/gorgon via @gorgonjs/react: useGorgon hook with data/error/loading/refetch state, clearGorgon helper for cache invalidation from components, cache key management tied to component lifecycle, and DIY hook patterns. Use when building React components that need cached async data fetching.
How to use the @gorgonjs/gorgon caching library for async functions in TypeScript/JavaScript. Use this skill whenever the user wants to cache API calls, database queries, or any async operation; when they mention Gorgon, @gorgonjs, or ask about caching promises/async functions; when they need help with cache invalidation, expiry policies, custom storage providers, or React cache hooks; or when they're building a Node.js or browser app that would benefit from request deduplication or caching. Also trigger when the user is working in a project that already imports @gorgonjs/gorgon and needs guidance.