capture-model-server

Align capture model server routes, repository queries, and migrations for Madoc TS.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Capture model server development often risks drift between API routes, repository queries, and migration flows. This guide helps teams keep Madoc TS capture model server components aligned, reducing integration issues when changing endpoints or data models.

Core Features & Use Cases

  • Documents the capture-model-server architecture, router mappings, and key entry points.
  • Guides synchronized updates to routes, repository queries, and migration logic to maintain consistency.
  • Provides practical workflows for coordinating server-side changes across services/madoc-ts.

Quick Start

Review the router.ts and repository code under services/madoc-ts and implement a change to the corresponding API, query, or migration logic.

Frequently Asked Questions about capture-model-server

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

FAQPage Schema
How do I keep API routes and repository queries aligned when updating Madoc TS capture models?

To align capture model server routes and repository queries, apply synchronized updates to router mappings, repository logic, and migration flows within services/madoc-ts to ensure consistent behavior across versions.

What is migration-aware routing in a TypeScript capture model server?

Migration-aware routing updates API endpoints alongside database migration logic to prevent data shape drift. It enforces consistent payload shapes and documents endpoint changes when modifying capture-model-server routes.

How do I document API endpoints and payload shapes for Madoc TS capture models?

Document API endpoints and payload shapes by reviewing the router.ts and repository code under services/madoc-ts, then enforcing consistent payload structures and endpoint documentation during server-side route modifications.

Why does my capture model server API break after running a database migration?

Capture model server APIs break after migrations when routes and repository queries drift from updated data models. Coordinating migration logic with router mappings prevents these integration issues across services/madoc-ts versions.

Can I update capture model repository queries without modifying the API router in Madoc TS?

Updating repository queries without modifying the API router risks data model drift and inconsistent payloads. Synchronizing repository changes with router mappings and migration flows maintains capture model server stability.