.agents/skills/architecture-bootstrapping/SKILL.md
Map and modify Madoc TS startup, server composition, routing setup, and SSR entrypoints. Use when tracing request flow, adding top-level middleware, wiring new services at boot, or debugging startup/SSR integration for services/madoc-ts.
npx skillsauth add digirati-co-uk/madoc-platform architecture-bootstrappingInstall 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 Madoc TS starts, how servers and routers are composed, and where SSR is wired in so agents can safely trace or change app boot flow.
services/madoc-ts/src/index.tsservices/madoc-ts/src/server.tsservices/madoc-ts/src/app.tsservices/madoc-ts/src/router.tsservices/madoc-ts/src/paths.tsservices/madoc-ts/src/config.tsservices/madoc-ts/src/routes/frontend/site-frontend.tsservices/madoc-ts/src/routes/frontend/admin-frontend.tsservices/madoc-ts/src/site.htmlservices/madoc-ts/src/admin.htmlservices/madoc-ts/src/index.ts to locate the primary startup path.services/madoc-ts/src/server.ts and services/madoc-ts/src/app.ts to understand server creation and middleware ordering.services/madoc-ts/src/router.ts for route assembly and registration conventions.services/madoc-ts/src/paths.ts and services/madoc-ts/src/config.ts for runtime configuration, defaults, and env wiring.services/madoc-ts/src/routes/frontend/site-frontend.ts and services/madoc-ts/src/routes/frontend/admin-frontend.ts plus services/madoc-ts/src/site.html and services/madoc-ts/src/admin.html templates.<!--ssr-head-->, <!--ssr-outlet-->).rg -n "createServer|listen|app" services/madoc-ts/srcrg -n "router|routes" services/madoc-ts/src/router.tsrg -n "ssr" services/madoc-ts/src/routes/frontend services/madoc-ts/src/*.htmltools
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.