deadlock-prevention
Use when acquiring multiple locks. Use when operations wait for each other. Use when system hangs without crashing.
探索开发、内容、数据与办公效率等 AI 技能。先比较用途和仓库热度,再查看技能说明与来源。
Use when acquiring multiple locks. Use when operations wait for each other. Use when system hangs without crashing.
Use when creating subclasses or implementing interfaces. Use when tempted to override methods with exceptions or no-ops. Use when inheritance hierarchy feels wrong.
Use when designing interfaces. Use when implementing interfaces with methods you don't need. Use when forced to implement throw/no-op for interface methods.
Use when tempted to add features "for later". Use when building "production-ready" systems before needed. Use when adding flexibility that isn't required yet.
Use when creating custom exceptions. Use when error handling feels chaotic. Use when catch blocks are too broad or too specific.
Use when adding new functionality to existing code. Use when tempted to add if/else or switch branches. Use when extending behavior of existing classes.
Python application architecture with functional core, effectful shell, DDD, and data modeling. Use when designing application layers, separating pure business logic from IO, defining domain models, implementing...
Use when component does too many things. Use when mixing data fetching, logic, and presentation. Use when code is hard to test.
Complete fullstack development mastery covering modern web architectures, automation tools, AI integration, and production deployment practices
Node.js patterns for Express/Fastify, async operations, and streams
React Native and Expo development patterns and best practices
Modern React patterns including hooks, state management, and performance
Django patterns for models, views, Django REST Framework, and best practices
Next.js App Router patterns, Server Components, and best practices
TypeScript strict mode patterns and advanced type techniques
Use when loading all data upfront. Use when initial page load is slow. Use when fetching data that might not be needed.
Use when modifying objects or arrays. Use when tempted to mutate function parameters. Use when state changes cause unexpected bugs.
Use when accessing nested object properties. Use when chaining method calls. Use when reaching through objects to get data.
Use when exposing internal state. Use when making fields public for convenience. Use when external code modifies object internals.
FastAPI patterns with Pydantic, async operations, and dependency injection
Use when returning errors from APIs. Use when exposing internal errors. Use when error responses lack structure.
Use when fetching related data in loops. Use when seeing multiple queries for one request. Use when database is slow on list endpoints.
Use when creating mutation endpoints. Use when trusting frontend to prevent duplicates. Use when payments or critical operations can be repeated.
Use when designing API endpoints. Use when using wrong HTTP methods. Use when POST is used for reads.
默认按已收录数据中的 GitHub 仓库 Stars 排序。Stars 属于来源仓库,同一仓库的多个技能可能共享相同数值;它反映仓库关注度,不代表单个技能的安装量或质量评分。