guidewire-sdk-patterns
FeaturedMaster Guidewire SDK patterns: REST API Client, Jutro Digital SDK, and Gosu best practices. Trigger: "guidewire sdk patterns", "sdk-patterns".
AI & Automation 2,940 stars
439 forks Updated today MIT
Install
Quality Score: 99/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
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
- 1 years ago
- Last Updated
- today
- Language
- Python
- License
- MIT
Integrates with
Bundled in these plugins
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Featured
guidewire-security-basics
Implement Guidewire security: OAuth2 JWT, API roles, Gosu secure coding, and data protection. Trigger: "guidewire security basics", "security-basics".
2,940 Updated today
jeremylongshore AI & Automation Featured
guidewire-hello-world
Execute first API calls to Guidewire PolicyCenter, ClaimCenter, and BillingCenter. Use when testing connectivity, exploring Cloud API structure, or learning REST patterns. Trigger: "guidewire hello world", "first guidewire call", "test policycenter api".
2,940 Updated today
jeremylongshore AI & Automation Featured
lucidchart-sdk-patterns
Sdk Patterns for Lucidchart. Trigger: "lucidchart sdk patterns".
2,940 Updated today
jeremylongshore