.agents/skills/activity-streams-iiif/SKILL.md
Work on Madoc TS activity stream endpoints and IIIF collection/manifest routing. Use when changing activity stream routes or IIIF data responses in services/madoc-ts.
npx skillsauth add digirati-co-uk/madoc-platform activity-streams-iiifInstall 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.
Describe how activity streams are exposed and how IIIF collection/manifest endpoints are served.
services/madoc-ts/src/activity-streams/router.tsservices/madoc-ts/src/activity-streams/routes/**services/madoc-ts/src/routes/iiif/**/api/madoc/activity/...) and site-scoped (/s/:slug/madoc/api/activity/...) endpoints exist.ACTIVITY_PER_PAGE and zero-based page indexing.getActivityStreamPage builds orderedItems and links to prev/next pages.src/database/queries/**.get-collection.ts and get-manifest.ts build paginated responses with item lists and total counts.optionalUserWithScope is used to allow site-view access while honoring admin access for unpublished items.activity-streams/router.ts and follow the corresponding route handler.routes/iiif/**.changes endpoint and its page/0tools
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.