What problem does it solve?
Engineers working on Materialize's adapter layer, coordinator, pgwire, peek paths, or timestamp oracle risk violating subtle correctness invariants or repeating optimizations that were already tried and rejected. This Skill ensures those invariants and architectural notes are read before writing or reviewing code in these subsystems.
Core Features & Use Cases
- Correctness Invariant Enforcement: Directs the AI to read doc/developer/guide-adapter.md before making or reviewing changes to src/adapter/, src/pgwire/, and related crates.
- Timestamp Oracle Guidance: Points to module-level docs in src/timestamp-oracle/ covering the TimestampOracle trait contract and batching/linearizability invariants.
- Knowledge Capture: When an approach turns out to be wrong, the Skill prompts distilling the lesson back into the developer guide so pitfalls are not rediscovered.
- Use Case: While reviewing a PR that touches src/adapter/src/coord.rs, the Skill loads the adapter guide so the reviewer checks the change against documented correctness invariants and the review checklist.
Quick Start
Ask the assistant to explain how the coordinator handles read holds or to review a diff touching src/adapter/, and it will consult the adapter guide first.