patterns▌
191 indexed skills · max 10 per page
bash-defensive-patterns
wshobson/agents · Productivity
Production-grade Bash scripting with strict error handling, defensive patterns, and safety best practices. \n \n Covers 10 fundamental patterns including strict mode ( set -Eeuo pipefail ), error trapping, variable quoting, array handling, and safe temporary file management \n Includes advanced techniques for argument parsing, structured logging, process orchestration with signals, and idempotent script design \n Provides templates for function definitions, file operations, command substitution,
similarity-search-patterns
wshobson/agents · Productivity
Efficient similarity search patterns for vector databases and semantic retrieval systems. \n \n Covers four major vector database implementations: Pinecone, Qdrant, pgvector with PostgreSQL, and Weaviate, each with production-ready code templates \n Explains three index types (Flat, HNSW, IVF+PQ) with trade-offs between search speed, recall accuracy, and data scale \n Includes four distance metrics (Cosine, Euclidean, Dot Product, Manhattan) and guidance on when to use each \n Demonstrates hybri
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
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
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.
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
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
software-patterns
bobmatnyc/claude-mpm-skills · Productivity
Architectural patterns solve specific structural problems. This skill provides a decision framework for when to apply each pattern, not a catalog to memorize.