Agent Skills: API Integration Builder

Create new API service integrations for Leavn - REST clients, CloudKit, Bible APIs with proper error handling and caching

UncategorizedID: willsigmon/sigstack/api-integration-builder

Install this agent skill to your local

pnpm dlx add-skill https://github.com/willsigmon/sigstack/tree/HEAD/plugins/app-dev/skills/api-integration-builder

Skill Files

Browse the full folder contents for api-integration-builder.

Download Skill

Loading file tree…

plugins/app-dev/skills/api-integration-builder/SKILL.md

Skill Metadata

Name
API Integration Builder
Description
Create new API service integrations for Leavn - REST clients, CloudKit, Bible APIs with proper error handling and caching

API Integration Builder

Build API service integrations:

  1. Create protocol in Services/{Domain}/
  2. Implement client: Async/await, proper errors
  3. Add caching: CacheManager integration
  4. Register in DI: DIContainer singleton
  5. Add tests: Mock for testing

Pattern:

protocol MyAPIProtocol {
    func fetch() async throws -> Data
}

final class MyAPILive: MyAPIProtocol {
    func fetch() async throws -> Data {
        // URLSession, error handling, caching
    }
}

Use when: Adding Bible translation API, CloudKit integration, external service