executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
pagination-and-schemaShape GeoJSON pagination responses and OpenAPI schemas with GeoJsonPagination and GeoFeatureAutoSchema, including geometry, bbox, nested, and list serializers.
Independent GitHub snapshot · Automated classification · Original documentation governs
Load this skill when a DRF GIS endpoint needs a paginated GeoJSON response, an OpenAPI description of a GeoJSON feature, or schema troubleshooting for nested or computed geometries. Keep the wire payload and the generated OpenAPI schema as two separate contracts; a correct response does not prove that the schema is correct.
many=True, or a nested/list field.rest_framework_gis.pagination.GeoJsonPagination. It is a
PageNumberPagination subclass, accepts page_size as its page-size query
parameter, and expects the serialized page data to contain features.
Confirm the response has type, count, next, previous, and
features; do not substitute DRF's ordinary results payload.rest_framework_gis.schema.GeoFeatureAutoSchema as DRF's schema class, or
pass it explicitly to the schema generator. Verify the generated document
independently of a live response. The pagination schema renames the
inherited results property to features and adds the
FeatureCollection type property; inspect version-specific required
metadata as well.references/api-reference.md rather
than copying large coordinate schemas into an endpoint skill. Treat a
GeometrySerializerMethodField used as the geometry source, or an
unsupported custom geometry field, as an explicit schema limitation: the
mapper warns and returns an empty geometry schema.Meta options, GeoJSON input flattening, output property
ownership, and coordinate transformation details to serialization.
Route runtime spatial filters and their query semantics to
spatial-filtering. Route Django/DRF settings, schema endpoint wiring, and
database-backed integration checks to integration-testing.Check both artifacts:
>=3.12,<3.19).The documented inspection scope has verified package imports and geometry smoke with GeoDjango's GEOS/GDAL libraries. Database-backed spatial predicates require a spatial database; PostGIS is the CI-tested full path, but PostGIS execution is not claimed by this skill.
See: