API Endpoint and Serializer Authoring

•
426
•

Streamlines the creation of UniFi API endpoints and mutation serializers with integrated CI gate validation and architectural enforcement.

This skill provides specialized guidance for developing within the UniFi API layer, covering endpoint classification, cursor-based pagination, and serializer authoring. It ensures strict adherence to architectural rules, such as dependency boundaries and ManagerFactory concurrency scoping, while helping developers navigate Phase 5A routing patterns and Phase 6 GraphQL transitions. By integrating CI gate diagnostics for manifest validation and route coverage, the skill guarantees that all API contributions meet the project's rigorous quality and architectural standards.

Key Features

01Endpoint classification and routing logic (Resource vs. Action)
02Cursor-based pagination implementation using standardized paginate() service
03CI gate diagnostics for manifest validation and route coverage tests
04Phase 5A/6 architectural pattern enforcement and dependency rule checking
05Automated mutation-ack serializer generation with @register_serializer
06426 GitHub stars

Use Cases

01Adding new REST endpoints to the UniFi API suite
02Authoring mutation-ack serializers for create, update, and delete operations
03Resolving routing collisions and CI gate failures during pull requests