.agents/skills/db-queries/SKILL.md
Work on Madoc TS SQL query modules and shared query helpers. Use when adding or modifying queries in services/madoc-ts/src/database/queries or related SQL helper usage.
npx skillsauth add digirati-co-uk/madoc-platform db-queriesInstall 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.
Document the query module structure so SQL changes follow existing patterns and helper usage.
src/database/queriesservices/madoc-ts/src/database/queries/services/madoc-ts/src/utility/postgres-tags.tsservices/madoc-ts/src/database/create-postgres-pool.tssql template strings with typed results.SQL_EMPTY, SQL_COMMA, and typed array helpers.services/madoc-ts/src/database/queries/.sql tag and helper tags from services/madoc-ts/src/utility/postgres-tags.ts for composition.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.