.agents/skills/plugin-system/SKILL.md
Work on Madoc TS plugin loading, sandboxed module registration, and plugin-to-extension wiring. Use when modifying plugin load paths, plugin registration, or plugin integration points in services/madoc-ts.
npx skillsauth add digirati-co-uk/madoc-platform plugin-systemInstall 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 plugins are loaded and registered so plugin installation and extension wiring remain consistent.
services/madoc-ts/src/middleware/create-plugin-manager.tsservices/madoc-ts/src/frontend/shared/plugins/plugin-manager.tsservices/madoc-ts/src/frontend/shared/plugins/services/madoc-ts/src/types/pluginsservices/madoc-ts/src/types/schemas/pluginsservices/madoc-ts/src/utility/sandboxed-require.tscreate-plugin-manager.ts loads plugin modules from PLUGINS_PATH using sandboxedRequire and returns a PluginManager.PluginManager registers plugin-provided blocks, themes, project templates, and exports via corresponding extension registries.types/plugins and schema forms in types/schemas/plugins.services/madoc-ts/src/middleware/create-plugin-manager.ts for load paths and sandboxing.services/madoc-ts/src/frontend/shared/plugins/plugin-manager.ts for registration/unregistration logic.types/plugins and types/schemas/plugins if needed.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.