← all publishers

deangrant

@deangrant source repo

74 published skills

  1. API Cors · deangrant bundle
    Configure CORS for browser-facing APIs: simple vs preflight, Allow-* headers, credentials, and origin allowlists. Use when enabling SPA access or debugging OPTIONS preflight failures.
    0
    installs
  2. Bff Pattern · deangrant bundle
    Decide when to adopt Backend-for-Frontend, size BFFs per client type, keep business logic in core services, and pair with an API gateway. Use when designing multi-client architectures or splitting mega-backends.
    0
    installs
  3. Code Review · deangrant bundle
    Perform a read-only technical code review (correctness, security, performance, readability, testing, best practices). Use when reviewing a git diff or the full codebase. Never edit code or output rewritten snippets.
    0
    installs
  4. Rust Polars · deangrant bundle
    Apply Polars (Rust) best practices for high-performance DataFrame workloads. Use when writing or reviewing Rust code that uses the polars crate, optimizing data pipelines, choosing lazy vs eager API, configuring features and allocators, or tuning Polars for production. Reference https://docs.rs/polars/latest/polars/
    0
    installs
  5. Redis Scaling · deangrant bundle
    Scale Redis with Sentinel vs Cluster, hash tags, hot-key mitigation, pipelining, pooling, and maxmemory policies. Use when Redis is a bottleneck or planning cluster migration.
    0
    installs
  6. Go Solid Design · deangrant bundle
    Apply SOLID design principles in idiomatic Go for maintainable packages and interfaces. Use when writing or reviewing Go code for modularity, designing small interfaces, managing package boundaries and imports, refactoring for testability, or evaluating whether abstractions are justified. Covers consumer-owned interfaces, composition and embedding, constructor injection, and dependency direction.
    0
    installs
  7. Howde Algorithm · deangrant bundle
    Guides application of the HoWDe (Home and Work location Detection) algorithm from stop-location or mobility data. Use when detecting home/work locations from GPS or stop sequences, running stop-location detection (e.g. InfoStop) as a prerequisite, implementing HoWDe in Python or Rust, tuning HoWDe parameters, or working with human mobility preprocessing pipelines.
    0
    installs
  8. Caching At Scale · deangrant bundle
    Choose application caching patterns (cache-aside, write-through/behind), prevent stampedes, and design invalidation across app cache and CDN. Use when caching is wrong, stale, or melting origin under load.
    0
    installs
  9. Deepsec Setup CI · deangrant bundle
    Set up Vercel deepsec for AI-assisted vulnerability scanning: init workspace, config, matchers, and PR/CI review modes. Use when adding deepsec to a repo or wiring scan/process pipelines for first-party code.
    0
    installs
  10. GRAPHQL Security · deangrant bundle
    Harden GraphQL APIs with TLS, trusted documents or demand control, input sanitization, introspection/error masking, and field auth. Use when locking down production GraphQL or reviewing DoS risk.
    0
    installs
  11. Rust Style Guide · deangrant bundle
    Enforce Rust code style for formatting, file size, rustfmt alignment, comments, documentation, naming, and API conventions. Use when writing or editing Rust code, reviewing .rs diffs, applying rustfmt preferences, or checking doc comments and module docs against project style.
    0
    installs
  12. API Rate Limiting · deangrant bundle
    Design API rate limiting with token bucket/sliding/fixed windows, RateLimit headers, 429 vs 503, and per-key/endpoint scopes. Use when protecting APIs from abuse or implementing quotas.
    0
    installs
  13. Rust Solid Design · deangrant bundle
    Apply SOLID design principles in Rust for maintainable modules and traits. Use when writing or reviewing Rust code for modularity, designing traits and trait objects, managing dependencies and visibility, refactoring for testability, or evaluating whether abstractions are justified. Covers traits as interfaces, ownership-aware dependency patterns, static vs dynamic dispatch, and dependency direction.
    0
    installs
  14. Technical Writing · deangrant bundle
    Write and revise technical docs like a senior technical writer: audience-first planning, clear active prose, scannable structure, error-message UX, sample code, and CL/PR descriptions. Use when drafting or editing READMEs, tutorials, API docs, design notes, release notes, error copy, or pull request descriptions.
    0
    installs
  15. API OAUTH API Keys · deangrant bundle
    Select credential models for APIs: API keys vs OAuth2 client credentials vs authorization code + PKCE, including scopes. Use when designing developer credentials or user-delegated access.
    0
    installs
  16. API Request Signing · deangrant bundle
    Design HTTP request signing for APIs: HMAC, SigV4-style, RFC 9421 signatures, Content-Digest, and replay defenses. Use when securing webhooks, payments, or high-assurance service calls.
    0
    installs
  17. API Token Lifecycle · deangrant bundle
    Manage access and refresh token lifecycle: TTLs, rotation, reuse detection, revocation (RFC 7009), introspection (RFC 7662), JWKS, and DPoP. Use when implementing OAuth token services or hardening session security.
    0
    installs
  18. GRAPHQL Performance · deangrant bundle
    Improve GraphQL performance with DataLoader batching, demand control, compression, persisted queries, and operation-level tracing. Use when fixing N+1 resolvers or slow GraphQL operations.
    0
    installs
  19. Python Solid Design · deangrant bundle
    Apply SOLID object-oriented design when designing, refactoring, or reviewing Python classes and modules. Use for SOLID, SRP, OCP, LSP, ISP, DIP, single responsibility, open/closed, Liskov, interface segregation, dependency inversion or injection, ABCs, Protocols, and maintainable OOP structure.
    0
    installs
  20. Zaproxy API Scan CI · deangrant bundle
    Run OWASP ZAP packaged Docker scans in CI (baseline, full, API) with stable images, mounted workdirs, and report artifacts. Use when adding DAST against a running web app or OpenAPI target.
    0
    installs
  21. API Cdn Edge Caching · deangrant bundle
    Configure CDN/edge caching for HTTP APIs: s-maxage, Vary cardinality, Surrogate-Key, and auth pitfalls. Use when putting APIs behind a CDN or debugging edge cache misses/leaks.
    0
    installs
  22. API HTTP Compression · deangrant bundle
    Negotiate and apply HTTP compression for APIs: Brotli/gzip/zstd, Accept-Encoding, Vary, and BREACH mitigations. Use when enabling compression or debugging encoding issues.
    0
    installs
  23. API Patch Strategies · deangrant bundle
    Choose JSON Patch (RFC 6902) vs Merge Patch (RFC 7386) for REST PATCH, including media types, null semantics, Accept-Patch, and If-Match concurrency. Use when designing partial updates or reviewing PATCH handlers.
    0
    installs
  24. API I18N Localization · deangrant bundle
    Design internationalized REST APIs: Accept-Language, UTC storage, localized messages vs data, and explicit country/region params for business rules. Use when adding locales or fixing mixed timezone/locale bugs.
    0
    installs
  25. Go Google Style Guide · deangrant bundle
    Apply Google Go style principles, naming, formatting, errors, tests, and API patterns. Use when writing or reviewing Go code, formatting with gofmt, choosing names, structuring imports, handling errors, writing godoc, designing function options, or shaping table-driven tests.
    0
    installs
  26. GRAPHQL Authorization · deangrant bundle
    Implement GraphQL authorization in a shared business layer with field-level checks, hydrated user context, and optional schema directives. Use when securing fields or preventing REST/GraphQL auth drift.
    0
    installs
  27. GRAPHQL Schema Design · deangrant bundle
    Design GraphQL schemas as domain graphs with versionless evolution, careful nullability, Node global IDs, and a shared business-logic layer. Use when creating or reviewing GraphQL types, fields, or schema migrations.
    0
    installs
  28. API Hateoas Hypermedia · deangrant bundle
    Design pragmatic HATEOAS for REST APIs using HAL or JSON:API links, including self/next and state-transition actions. Use when adding hypermedia, reviewing RMM Level 3, or deciding against full HATEOAS.
    0
    installs
  29. GRAPHQL Client Caching · deangrant bundle
    Design GraphQL client cache normalization with global IDs, Node refetch, field stability, and mutation cache updates. Use when configuring Apollo/Relay-style stores or debugging duplicate entities.
    0
    installs
  30. GRAPHQL HTTP Transport · deangrant bundle
    Serve GraphQL over HTTP with a single endpoint, POST/GET contracts, correct media types, partial 2xx responses, and auth middleware ordering. Use when wiring GraphQL servers or debugging transport mismatches.
    0
    installs
  31. Typescript Jsdoc Style · deangrant bundle
    Enforce TypeScript comment and JSDoc conventions across the codebase. Use when writing, reviewing, or refactoring comments, JSDoc, doc blocks, @param/@returns tags, or class/method/parameter documentation in TypeScript.
    0
    installs
  32. Git Conventional Commit · deangrant bundle
    Draft a single Conventional Commits 1.0.0 message from git status and git diff. Use when the user asks for a commit message, conventional commit text, or changelog-ready commit wording. Never run git commit or modify the repo.
    0
    installs
  33. GRAPHQL Error Debugging · deangrant bundle
    Triage GraphQL failures using HTTP status, Content-Type, and the errors vs data body shape. Use when debugging 400/405/415 responses or partial GraphQL errors in development or on-call.
    0
    installs
  34. Rate Limiter Algorithms · deangrant bundle
    Select and implement rate-limiter algorithms (token bucket, leaky bucket, fixed/sliding windows), key design, Redis/Lua distribution, and production anti-patterns. Use when building quotas beyond basic RateLimit headers.
    0
    installs
  35. Typescript Solid Design · deangrant bundle
    Apply SOLID design principles when writing, refactoring, or reviewing TypeScript modules, classes, interfaces, and services. Use when designing maintainable architecture, splitting responsibilities, extending behavior without modification, fixing inheritance contracts, segregating interfaces, injecting dependencies, or addressing code smells in TypeScript.
    0
    installs
  36. API Bulk Batch Operations · deangrant bundle
    Design REST bulk/batch endpoints with ordered operations and results, partial success (207 or per-item status), idempotency keys, and async bulk jobs. Use when syncing many records or reducing per-request overhead.
    0
    installs
  37. API Versioning Strategies · deangrant bundle
    Choose REST API versioning strategies (URI, header, query, media type), define breaking vs additive changes, and plan evolution. Use when introducing versions, reviewing breaking changes, or picking a portfolio-wide scheme.
    0
    installs
  38. API Webhooks Event Driven · deangrant bundle
    Design outbound webhooks and event-driven API delivery: retry schedules, 2xx-only success, idempotent receivers, and dual notify with polling. Use when adding webhook APIs or reviewing delivery reliability.
    0
    installs
  39. Load Balancing Algorithms · deangrant bundle
    Choose load-balancing tiers and algorithms (round-robin, least-conn, consistent hash, Maglev-style) for L4 vs L7, with affinity and health-check guidance. Use when designing traffic distribution or fixing imbalance.
    0
    installs
  40. Observability Wide Events · deangrant bundle
    Implement wide events / canonical log lines: one structured event per request per service, high-cardinality fields, handler enrichment, OTel attributes, and tail sampling. Use when replacing sparse log spam with queryable request outcomes. Complements the wide-event-logging rule.
    0
    installs
  41. Python Google Style Guide · deangrant bundle
    Apply Google Python language, style, and typing rules when writing, editing, reviewing, formatting, or linting Python. Use for Google style, Black, isort, pylintrc, docstrings (Args/Returns/Yields/Raises), imports, naming, and type annotations.
    0
    installs
  42. API Authentication Schemes · deangrant bundle
    Choose HTTP API authentication schemes: Bearer tokens, Basic over TLS, and HTTP message signatures. Use when selecting authn for public, partner, or service APIs.
    0
    installs
  43. API Deprecation Sunsetting · deangrant bundle
    Deprecate and sunset API versions or fields using Deprecation, Sunset, and Link headers, plus 410 Gone. Use when retiring endpoints, publishing migration timelines, or reviewing compatibility windows.
    0
    installs
  44. API File Uploads Downloads · deangrant bundle
    Design file upload and download APIs: multipart vs presigned vs resumable, Range/206 downloads, Content-Disposition, and content validation. Use when adding binary transfer endpoints or reviewing upload security.
    0
    installs
  45. API Multi Tenancy Patterns · deangrant bundle
    Design multi-tenant REST APIs: silo/pool/bridge isolation, tenant routing, verified JWT tenantId, noisy-neighbor limits, and cache key prefixes. Use when building SaaS APIs or reviewing cross-tenant data risks.
    0
    installs
  46. API REST Design Principles · deangrant bundle
    Apply Fielding REST constraints when designing or reviewing HTTP APIs: resources vs representations, statelessness, uniform interface, correct verbs and status codes, Richardson Maturity Model. Use when starting a REST API, reviewing endpoint semantics, or choosing RMM Level 2 vs 3.
    0
    installs
  47. API Authorization Rbac Abac · deangrant bundle
    Design API authorization with RBAC, ABAC, and ReBAC: PEP/PDP separation, object-level checks against BOLA/BFLA, and OAuth scopes. Use when implementing permissions or reviewing IDOR risks.
    0
    installs
  48. API Security Best Practices · deangrant bundle
    Apply OWASP API Security Top 10 practices for REST APIs: TLS, BOLA, authn/authz separation, rate limits, secrets hygiene, and least privilege. Use when hardening APIs or running a security design review.
    0
    installs
  49. API Timestamps Data Formats · deangrant bundle
    Standardize REST JSON wire formats: RFC 3339 UTC timestamps, non-float money, string enums, null vs omit, and consistent field casing. Use when defining schemas or fixing cross-endpoint data format inconsistencies.
    0
    installs
  50. Postgresql Production Scale · deangrant bundle
    Scale PostgreSQL for read-heavy production: replicas, PgBouncer isolation, query hygiene, WAL fan-out planning, and write-path limits. Use when hardening Postgres under high QPS or connection storms.
    0
    installs
  51. API Filtering Sorting Search · deangrant bundle
    Design and review REST collection filtering, sorting, and search query conventions. Use when choosing flat vs bracketed filters, encoding operators, defining sort parameters, separating full-text q from structured filters, composing with pagination, or moving complex queries to POST /search.
    0
    installs
  52. API Mtls Client Certificates · deangrant bundle
    Design mTLS and client-certificate authentication for APIs, including PKI rotation, cert-bound tokens (RFC 8705), and proxy header pitfalls. Use when securing service-to-service or partner edge access.
    0
    installs
  53. API Response Envelope Design · deangrant bundle
    Choose and apply consistent REST response envelopes: enveloped data/meta vs bare bodies, pagination placement, and never mixing 200 with in-body errors. Use when designing response shapes, OpenAPI schemas, or reviewing API consistency across collections and singletons.
    0
    installs
  54. Typescript Project Structure · deangrant bundle
    Organize React + TypeScript projects with role-based component layers. Use when creating or reviewing a React TypeScript folder layout, placing components in core, patterns, containers, or layouts, applying folder-per-component with CSS Modules, or deciding where pages, hooks, contexts, services, stores, routes, types, constants, utils, styles, assets, or i18n files belong.
    0
    installs
  55. API Input Validation Injection · deangrant bundle
    Validate API inputs server-side with schema allowlists, injection prevention, mass-assignment guards, and size limits. Use when implementing request DTOs or reviewing injection risks.
    0
    installs
  56. API Resource Naming Uri Design · deangrant bundle
    Design and review REST API resource names and URIs. Use when creating or reviewing endpoints, choosing path vs query parameters, nesting collections, casing path segments, plural collection names, versioning in the path, or running an API design review for URI consistency.
    0
    installs
  57. API Retries Backoff Resilience · deangrant bundle
    Implement client and service resilience: retry only transient failures, exponential backoff with jitter, honor Retry-After, timeouts, and circuit breakers. Use when designing HTTP clients or outbound API calls.
    0
    installs
  58. GRAPHQL Pagination Connections · deangrant bundle
    Design GraphQL list pagination with Relay connections, opaque cursors, PageInfo, and max first caps. Use when adding or reviewing paginated GraphQL fields.
    0
    installs
  59. API Idempotency Request Retries · deangrant bundle
    Implement Idempotency-Key for safe POST retries: store request hash and response, handle in-flight 409, and combine with backoff. Use when payments, creates, or other costly side effects may be retried.
    0
    installs
  60. API Pagination Offset Vs Cursor · deangrant bundle
    Choose and implement REST collection pagination: offset/limit vs keyset cursor, Link headers vs meta, deterministic sort, and limit caps. Use when designing list endpoints, fixing page drift, or reviewing OpenAPI paging.
    0
    installs
  61. API Standardized Error Handling · deangrant bundle
    Design RFC 9457 Problem Details error responses for REST APIs: type, title, status, detail, field-level errors, and correct HTTP status pairing. Use when defining error contracts, OpenAPI error schemas, or fixing ad-hoc error JSON.
    0
    installs
  62. Idempotency Distributed Patterns · deangrant bundle
    Build retry-safe distributed systems with Idempotency-Key stores, transactional outbox, and consumer deduplication. Use when designing payments, orders, or event pipelines under at-least-once delivery.
    0
    installs
  63. API Async Long Running Operations · deangrant bundle
    Design async long-running REST operations with 202 Accepted, job resources, polling, Prefer respond-async, and webhook completion. Use when work exceeds request timeouts (reports, imports, provisioning) rather than streaming.
    0
    installs
  64. API Cache Invalidation Strategies · deangrant bundle
    Design API cache invalidation: TTL, ETag revalidation, stale-while-revalidate, Surrogate-Key purge, and hybrid strategies. Use when cached data goes stale or planning purge workflows.
    0
    installs
  65. API Health Check Status Endpoints · deangrant bundle
    Design liveness, readiness, and startup health endpoints with dependency probes and application/health+json. Use when adding Kubernetes probes or platform health checks.
    0
    installs
  66. API Webhook Signature Verification · deangrant bundle
    Verify webhook signatures with HMAC-SHA256 over the raw body, constant-time compare, timestamp replay windows, and idempotent handling. Use when implementing or reviewing webhook receivers or providers.
    0
    installs
  67. API Conditional Requests Validation · deangrant bundle
    Implement conditional request validators for safe concurrency: strong/weak ETags, If-Match/If-Unmodified-Since, 412 and 428. Use when preventing lost updates on PUT/PATCH/DELETE.
    0
    installs
  68. API Content Negotiation Media Types · deangrant bundle
    Apply HTTP content negotiation for REST APIs: Accept/Content-Type, q-values, 406/415, Vary, and problem+json errors. Use when supporting multiple representations or fixing silent format fallbacks.
    0
    installs
  69. API Media Types Vendor Content Types · deangrant bundle
    Choose and document HTTP media types including vendor trees (vnd), structured suffixes (+json), and MIME versioning. Use when minting custom types or reviewing Content-Type versioning schemes.
    0
    installs
  70. API HTTP Caching Conditional Requests · deangrant bundle
    Apply HTTP caching and conditional requests for REST APIs: Cache-Control, ETag, If-None-Match 304, and private vs public caches. Use when optimizing GET performance or reviewing cache headers.
    0
    installs
  71. API Observability Distributed Tracing · deangrant bundle
    Instrument REST APIs with structured JSON logs, RED/USE metrics, W3C Trace Context, X-Request-Id, and OpenTelemetry. Use when adding observability or correlating multi-service failures.
    0
    installs
  72. API Sparse Fieldsets Partial Responses · deangrant bundle
    Design sparse fieldsets and include/expand for REST APIs: allowlisted ?fields=, relationship includes with depth caps, complete defaults. Use when reducing over-fetching, designing GraphQL-like shaping on REST, or reviewing list payload size.
    0
    installs
  73. H3 Hexagonal Hierarchical Spatial Index · deangrant bundle
    Provides domain knowledge for Uber's H3 hexagonal hierarchical spatial index. Use when working with H3, hexagonal geospatial grids, location bucketing, geo-indexing, surge/pricing grids, or when the user mentions H3, Uber's grid system, or hexagonal spatial indexing.
    0
    installs
  74. API Streaming Sse Websocket Long Polling · deangrant bundle
    Choose SSE, WebSocket, or long-polling for realtime API push: directionality, reconnect, auth limits, and when to use 202 jobs instead. Use when designing event feeds, chat, or live updates.
    0
    installs