guidewire-sdk-patterns

Featured

Master Guidewire SDK patterns: REST API Client, Jutro Digital SDK, and Gosu best practices. Trigger: "guidewire sdk patterns", "sdk-patterns".

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Guidewire SDK Patterns ## Overview Production-ready patterns for Guidewire insurance platform integration. Guidewire exposes both REST (Cloud API) and SOAP (legacy PolicyCenter/ClaimCenter) endpoints. The Cloud API uses JSON over REST for modern integrations while legacy on-prem requires SOAP/XML with WS-Security. A structured client abstracts this hybrid, providing consistent error handling and typed responses across both surfaces. ## Singleton Client ```typescript let _client: GuidewireClient | null = null; export function getClient(): GuidewireClient { if (!_client) { const key = process.env.GUIDEWIRE_API_KEY, base = process.env.GUIDEWIRE_BASE_URL; if (!key || !base) throw new Error('GUIDEWIRE_API_KEY and GUIDEWIRE_BASE_URL must be set'); _client = new GuidewireClient(base, key); } return _client; } class GuidewireClient { private h: Record<string, string>; constructor(private base: string, key: string) { this.h = { 'Authorization': `Bearer ${key}`, 'Content-Type': 'application/json' }; } async getPolicies(filter?: string): Promise<GWPolicy[]> { const url = `${this.base}/pc/rest/common/v1/policies${filter ? `?filter=${encodeURIComponent(filter)}` : ''}`; const r = await fetch(url, { headers: this.h }); if (!r.ok) throw new GWError(r.status, await r.text()); return (await r.json()).data; } async getClaims(policyId: string): Promise<GWClaim[]> { const r = await fetch(`${this.base}/cc/rest/common/v1/claims?policyId=${polic...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category