Cerebro Source Integration

Scaffold Cerebro source integrations following existing source, preview, runtime, and test patterns.

writer b8bb3cb 913 B Updated

File contents

Cerebro Source Integration

Instructions

  1. Start from the closest existing integration under sources/.
  2. Implement config parsing with safe defaults, strict validation, and clear error mapping.
  3. Add preview behavior and runtime sync behavior only within the requested scope.
  4. Protect network-facing settings against loopback, unsafe schemes, malformed URLs, unbounded responses, and pagination loops.
  5. Add package tests for config validation, preview decoding, pagination, and error handling.
  6. Run focused source package tests, then make verify when feasible.

Boundaries

  • Do not introduce new external dependencies unless explicitly requested.
  • Do not add live-service tests unless they are opt-in behind environment variables.

writer/cerebro/tree/main/.factory/skills/cerebro-source-integration commit b8bb3cbd77

Frequently asked questions

npx skillmds@latest add writer/cerebro-source-integration-2