castai-sdk-patterns
Installation
SKILL.md
CAST AI Contract-First API Adapter
Overview
Create a narrow adapter around approved CAST AI operations. Treat the OpenAPI description, regional base URL, organization scope, response schemas, and endpoint-specific rate behavior as explicit dependencies.
Prerequisites
- Named operations and business purpose
- CAST AI region, organization boundary, and least-privilege service identity
- Current OpenAPI contract pinned or checksummed for generation
- Error, retry, telemetry, and secret-handling policy
Instructions
Step 1: Choose API versus Terraform
Use Read and Grep to determine whether the work is declarative infrastructure or runtime integration. Prefer the supported Terraform provider for owned desired state; use REST for bounded runtime reads or operations that the chosen provider does not own.