From guidewire-pack
Executes initial REST API calls to Guidewire PolicyCenter, ClaimCenter, and BillingCenter to test connectivity, explore Cloud API structure, and learn patterns like pagination and checksums.
How this skill is triggered — by the user, by Claude, or both
Slash command
/guidewire-pack:guidewire-hello-worldThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Execute your first Cloud API calls to PolicyCenter, ClaimCenter, and BillingCenter. All Guidewire Cloud APIs are RESTful with JSON payloads and follow Swagger 2.0.
Execute your first Cloud API calls to PolicyCenter, ClaimCenter, and BillingCenter. All Guidewire Cloud APIs are RESTful with JSON payloads and follow Swagger 2.0.
const token = await getGuidewireToken();
const headers = { 'Authorization': `Bearer ${token}`, 'Content-Type': 'application/json' };
// List accounts
const accounts = await fetch(`${process.env.GW_PC_URL}/account/v1/accounts?pageSize=5`, { headers });
const data = await accounts.json();
data.data.forEach((acct: any) => {
console.log(`Account: ${acct.attributes.accountNumber} | ${acct.attributes.accountHolderContact.displayName}`);
});
// List recent claims
const claims = await fetch(`${process.env.GW_CC_URL}/claim/v1/claims?pageSize=5`, { headers });
const claimData = await claims.json();
claimData.data.forEach((claim: any) => {
console.log(`Claim: ${claim.attributes.claimNumber} | ${claim.attributes.status.code} | ${claim.attributes.lossDate}`);
});
{
"count": 42,
"data": [
{
"attributes": { "accountNumber": "A000001", "...": "..." },
"checksum": "abc123",
"links": { "self": { "href": "/account/v1/accounts/pc:123" } }
}
],
"links": { "next": { "href": "/account/v1/accounts?pageSize=5&offsetToken=..." } }
}
Key patterns: data[] array, attributes for fields, checksum for optimistic locking, links for pagination.
| Error | Code | Solution |
|---|---|---|
404 Not Found | Invalid endpoint path | Verify /account/v1/accounts format |
400 Bad Request | Invalid query params | Check pageSize, filter syntax |
422 Unprocessable | Business rule violation | Read userMessage in response |
409 Conflict | Stale checksum | Re-GET resource, use new checksum |
For detailed implementation, see: implementation guide
For local development workflow, see guidewire-local-dev-loop.
npx claudepluginhub jeremylongshore/claude-code-plugins-plus-skills --plugin guidewire-packInstalls Guidewire Studio, configures OAuth2 auth for Cloud APIs via Guidewire Hub, and sets up JWT tokens for PolicyCenter, ClaimCenter, BillingCenter.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.