.agents/skills/capture-model-server/SKILL.md
Work on Madoc TS capture model server APIs, repositories, and migration helpers. Use when modifying capture model routes, repository queries, or model migration flows in services/madoc-ts.
npx skillsauth add digirati-co-uk/madoc-platform capture-model-serverInstall 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 capture model server routes and repository logic so model CRUD and migration updates stay consistent.
services/madoc-ts/src/capture-model-server/router.tsservices/madoc-ts/src/capture-model-server/capture-model-repository.tsservices/madoc-ts/src/capture-model-server/routes/services/madoc-ts/src/capture-model-server/migration/services/madoc-ts/src/capture-model-server/server-filters/router.ts maps capture model API endpoints under /api/madoc/crowdsourcing/*.CaptureModelRepository contains the core Slonik queries for models, documents, structures, and revisions.services/madoc-ts/src/capture-model-server/router.ts to locate the endpoint you are changing.services/madoc-ts/src/capture-model-server/routes/.capture-model-repository.ts if data shape changes.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.