activity-streams-iiif

Assemble IIIF collections and activity stream pages for Madoc TS services.

57|15|Updated Nov 28, 2018
One-click install
npx skills add https://github.com/digirati-co-uk/madoc-platform --skill activity-streams-iiif
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: activity-streams-iiif
Source: https://github.com/digirati-co-uk/madoc-platform/tree/main/.agents/skills/activity-streams-iiif
Command: npx skills add https://github.com/digirati-co-uk/madoc-platform --skill activity-streams-iiif

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provide clear guidance for locating, inspecting, and updating Madoc TS activity stream endpoints and IIIF collection/manifest routing so developers can implement changes without breaking pagination, site scoping, or access rules.

Core Features & Use Cases

  • Route discovery: Directs developers to the activity stream router and route handlers to add or modify OrderedCollection and OrderedCollectionPage endpoints.
  • IIIF response assembly: Explains where query helpers build IIIF collection and manifest responses and how pagination and item lists are composed.
  • Access control and pagination: Highlights site-scoped optional user access, admin overrides for unpublished items, and zero-based paging considerations.
  • Use Case: Add a new activity stream filter parameter, fix off-by-one pagination in stream pages, or update manifest item resolution for site-scoped collections.

Quick Start

Use the activity-streams-iiif skill to inspect and update the activity stream router and IIIF routes under services/madoc-ts to correct pagination, access checks, or response shapes.

Frequently Asked Questions about activity-streams-iiif

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build IIIF OrderedCollection and OrderedCollectionPage responses in TypeScript?

To build IIIF OrderedCollection and OrderedCollectionPage responses in TypeScript, use the activity-streams-iiif skill to assemble and serve IIIF collections and activity stream pages for Madoc TS services. It enforces zero-based pagination and composes database query helpers for manifest and collection resolution.

How do I fix off-by-one pagination errors in IIIF activity stream pages?

Fix off-by-one pagination errors in IIIF activity stream pages by applying zero-based pagination enforcement when building OrderedCollectionPage responses. The skill provides specific guidance for correcting pagination logic in Madoc TS activity stream route handlers.

How does site-scoped access control work for unpublished IIIF manifest items?

Site-scoped access control for unpublished IIIF manifest items works by handling optional site user access with admin overrides. The skill enforces these access rules when composing database query helpers for manifest and collection resolution in Madoc TS.

Where do I add new filter parameters to IIIF manifest and collection routes?

Add new filter parameters to IIIF manifest and collection routes by modifying the activity stream router and route handlers under services/madoc-ts. The skill directs developers to the exact locations where query helpers build IIIF collection and manifest responses.

What is the best way to manage Madoc activity stream endpoints without breaking site scoping?

Manage Madoc activity stream endpoints without breaking site scoping by following the skill's guidance for inspecting and updating activity stream endpoints and IIIF collection routing. It highlights site-scoped optional user access and admin overrides to prevent access rule violations.