.agents/skills/gateway-api-tasks/SKILL.md
Work on Madoc TS API client wiring and gateway task definitions. Use when modifying ApiClient behavior, adding task types, or changing task handler integration in services/madoc-ts.
npx skillsauth add digirati-co-uk/madoc-platform gateway-api-tasksInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Explain how the ApiClient composes extensions and how gateway task types are defined so task execution and API calls stay consistent.
services/madoc-ts/src/gateway/api.tsservices/madoc-ts/src/gateway/api.server.tsservices/madoc-ts/src/gateway/api.browser.tsservices/madoc-ts/src/gateway/tasks/services/madoc-ts/src/gateway/tasks/base-task.tsApiClient composes extension instances (page blocks, media, themes, tasks, site manager, etc.) and is the primary API surface for both server and client.type.services/madoc-ts/src/gateway/api.ts for ApiClient lifecycle and extension wiring.services/madoc-ts/src/gateway/tasks/ for type and handler behavior.tools
Work on Madoc TS shared utility helpers (JWT, metadata, errors, IIIF helpers, auth helpers). Use when changing core utility functions or shared helpers in services/madoc-ts.
development
Work on Madoc TS shared type definitions and schema contracts. Use when updating TypeScript types, JSON schema shapes, or cross-layer data contracts in services/madoc-ts.
tools
Understand and extend Madoc TS task automation, including bots and task-related extensions. Use when adding task automation, bot behavior, or task metadata resolution in services/madoc-ts.
development
Work on Madoc TS site SSR pipeline, HTML template injection, and site render data wiring. Use when changing site SSR behavior, template tokens, or site SSR data wiring in services/madoc-ts.