endor-implement-sdk-resource

Align Endor Labs Python SDK models and resource facades with OpenAPI changes.

4|Updated Oct 18, 2025
One-click install
npx skills add https://github.com/endorlabs/endorlabs-sdk --skill endor-implement-sdk-resource
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: endor-implement-sdk-resource
Source: https://github.com/endorlabs/endorlabs-sdk/tree/main/agent-knowledge/skills/endor-implement-sdk-resource
Command: npx skills add https://github.com/endorlabs/endorlabs-sdk --skill endor-implement-sdk-resource

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you extend the Endor Labs Python SDK when the API changes or a resource facade needs to match the generated contract. It reduces manual guesswork by guiding model sync, registry overlays, payload construction, and integration test coverage.

Core Features & Use Cases

  • API change analysis: Review OpenAPI and generated references to confirm the correct resource shape before implementation.
  • Model and facade regeneration: Refresh generated models, registry contracts, and client surface stubs with minimal manual edits.
  • Targeted resource overrides: Add only the necessary hand-written resource or overlay changes for create payloads, aliases, scope, or behavior deltas.
  • Integration validation: Verify list, get, create, update, delete, and read-only behavior with resource-level tests.

Quick Start

Use this skill to analyze the API change, regenerate the SDK contract, and identify the minimal code and test updates needed for the affected resource.

Frequently Asked Questions about endor-implement-sdk-resource

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I update an SDK after OpenAPI changes?

To update an SDK after OpenAPI changes, review the API contract drift, regenerate models, apply minimal hand-written resource deltas, and validate integration flows for list, get, create, update, and delete operations.

What is a resource facade in SDK contract alignment?

A resource facade is a hand-written override layer that aligns generated SDK models with API behavior, allowing targeted changes for create payloads, aliases, and scope without disrupting the overall contract stability.

How do I add integration tests for new SDK resources?

Add integration tests for new SDK resources by verifying resource-level read-only behavior and validating list, get, create, update, and delete flows to ensure coverage checks preserve SDK contract stability.

When do I need to regenerate SDK models for API updates?

You need to regenerate SDK models when OpenAPI changes introduce new resources or contract drift, requiring model sync to refresh generated references and registry overlays before applying manual edits.

Does this approach require manual code changes for every API update?

No, this approach minimizes manual code changes by prioritizing model sync regeneration and applying only targeted hand-written resource deltas for specific payload behavior or aliases.