Glean SDK Patterns

•
2.2k
•

Implements production-grade Glean API integrations with typed clients, batch indexing, and robust error handling.

The Glean SDK Patterns skill provides Claude Code with standardized, production-ready implementation patterns for the Glean enterprise search platform. It centralizes API management through a singleton client, simplifies bulk document ingestion via batch indexing, and ensures resilience with structured error wrappers and retry logic. Whether you are building internal search interfaces or complex data pipelines for document indexing, this skill ensures your code follows Glean's best practices for REST-based search and indexing APIs while maintaining full type safety.

主な機能

01Resilient error handling with automatic retry logic for rate limits (429s)
02Comprehensive TypeScript interfaces for search results and document models
03Singleton client for centralized token and domain management
04Fluent Request Builder for complex search and filtering queries
05Automated batch indexing and pagination for large document sets
062,186 GitHub stars

ユースケース

01Building robust search clients with strict type safety and error resilience
02Automating bulk document indexing from diverse data sources into Glean
03Integrating Glean enterprise search into internal company portals