patterns▌
190 indexed skills · max 10 per page
python-design-patterns
wshobson/agents · Frontend
Fundamental design principles for writing maintainable, testable Python code. \n \n Covers five core patterns: KISS (Keep It Simple), Single Responsibility Principle, Separation of Concerns, Composition Over Inheritance, and the Rule of Three \n Includes practical code examples contrasting anti-patterns with recommended approaches for each principle \n Provides layered architecture guidance (API, Service, Repository layers) with dependency injection patterns for testability \n Emphasizes explici
workflow-orchestration-patterns
wshobson/agents · Productivity
Design durable distributed workflows with Temporal, separating orchestration logic from external interactions. \n \n Workflows handle orchestration and decision-making (must be deterministic); activities handle external calls like APIs and databases (must be idempotent) \n Implements saga pattern with compensation for distributed transactions, entity workflows for long-lived state management, and fan-out/fan-in for parallel execution \n Automatic state preservation across failures via event hist
microservices-patterns
wshobson/agents · Productivity
Comprehensive guide to designing distributed systems with service boundaries, communication patterns, and resilience strategies. \n \n Covers service decomposition by business capability and domain-driven design, with the Strangler Fig pattern for gradual monolith migration \n Includes synchronous (REST, gRPC) and asynchronous (Kafka, message queues) communication patterns with event-driven architecture examples \n Provides Saga pattern implementation for distributed transactions with compensati
clerk-nextjs-patterns
clerk/skills · Frontend
Advanced Next.js patterns for authentication, middleware, Server Actions, and user-scoped caching with Clerk. \n \n Distinguishes server-side await auth() from client-side useAuth() hook; mixing them is a common breaking mistake \n Covers middleware strategies (public-first vs protected-first), API route protection, and proper HTTP status codes (401 vs 403) \n Includes user-scoped caching patterns with unstable_cache and protecting Server Actions from unauthorized mutations \n Provides Core 2 co
design-system-patterns
wshobson/agents · Frontend
Establish design token hierarchies, theming infrastructure, and component architecture for scalable design systems. \n \n Covers three-layer token organization: primitive tokens (raw values), semantic tokens (contextual meaning), and component tokens (specific usage) \n Includes theme switching patterns with CSS custom properties, React context providers, system preference detection, and persistent storage \n Provides component architecture patterns including compound components, polymorphic var
e2e-testing-patterns
wshobson/agents · Testing
Comprehensive guide to building reliable, maintainable end-to-end test suites with Playwright and Cypress. \n \n Covers both Playwright and Cypress with setup, configuration, and framework-specific patterns including Page Object Model, fixtures, network mocking, and custom commands \n Addresses core E2E testing philosophy, the testing pyramid, and best practices for deterministic, independent tests using data attributes and user-behavior assertions \n Includes advanced patterns for visual regres
javascript-testing-patterns
wshobson/agents · Backend
Comprehensive testing strategies for JavaScript/TypeScript using Jest, Vitest, and Testing Library. \n \n Covers unit testing, integration testing, and component testing with patterns for pure functions, classes, async code, and React hooks \n Includes mocking strategies: module mocking, dependency injection, and spying on functions for isolated test execution \n Provides API and database integration test examples with real request/response handling and transaction cleanup \n Supports snapshot t
autonomous-agent-patterns
davila7/claude-code-templates · Productivity
Design patterns for building autonomous coding agents, inspired by Cline and OpenAI Codex.
dataverse-python-advanced-patterns
github/awesome-copilot · Backend
Production-ready Dataverse SDK patterns with error handling, batch operations, and optimization techniques. \n \n Demonstrates exponential backoff retry logic for transient errors, batch CRUD operations with error recovery, and OData query optimization using filters, selects, expands, and paging with correct logical names \n Covers table metadata creation and inspection, custom column definitions with IntEnum option sets, and cache flushing strategies when schema changes \n Includes configuratio
stride-analysis-patterns
sickn33/antigravity-awesome-skills · Productivity
STRIDE Analysis Patterns \n Systematic threat identification using the STRIDE methodology. \n Use this skill when \n \n Starting new threat modeling sessions \n Analyzing existing system architecture \n Reviewing security design decisions \n Creating threat documentation \n Training teams on threat identification \n Compliance and audit preparation \n \n Do not use this skill when \n \n The task is unrelated to stride analysis patterns \n You need a different domain or tool outside this scope \n