LATTICE FastAPI Endpoint Authoring
CommunityKeep the LATTICE FastAPI contract correct
Software Engineering#fastapi#api contract#endpoint validation#route registration#json responses#unix socket#api documentation sync
AuthorJeromyJSmith
Version1.0.0
Installs0
System Documentation
What problem does it solve?
It prevents API contract drift between the FastAPI sidecar implementation and the repository’s canonical metadata, which otherwise breaks dependent systems and causes hard-to-debug runtime failures.
Core Features & Use Cases
- Contract-first route authoring: Add routes only via the pixeltable FastAPI sidecar and ensure the declared endpoint table stays synchronized.
- JSON-only responses enforcement: Guarantee routes return JSON by banning HTML/file/redirect patterns.
- Live endpoint count validation: Detect and correct endpoint count drift against meta/API.md and surface architecture counts in meta/ARCHITECTURE.md.
- Operational verification: Confirm sidecar health, validate Unix socket connectivity in production, and run the scoring script for drift/worker health checks.
Quick Start
Use the LATTICE API skill to add a new FastAPI route under pixeltable/service/routes/<section>.py, then update meta/API.md and meta/ARCHITECTURE.md in the same commit.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: LATTICE FastAPI Endpoint Authoring Download link: https://github.com/JeromyJSmith/lattice-platform/archive/main.zip#lattice-fastapi-endpoint-authoring Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.