技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
core-data-model【数据与研究】Use when working with GeoPandas GeoSeries and GeoDataFrame objects, geometry columns, CRS metadata, Shapely-backed geometry arrays, and spatial-index basics.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task is about creating, inspecting, repairing, or transforming GeoPandas objects before any file I/O, spatial analysis, map rendering, or testing-specific assertion work.
GeoSeries, GeoDataFrame, geometry columns, CRS, coordinate access, and spatial index basics.GeoDataFrame or GeoSeries from Shapely objects, WKT/WKB, x/y coordinates, features, or tabular data.geometry, active geometry column, set_geometry, rename_geometry, active_geometry_name, or pandas operations that lost geometry semantics..crs, set_crs, to_crs, estimate_utm_crs, EPSG codes, or deciding whether coordinates need assignment versus transformation.isna(), is_empty, bounds, coordinate extraction, geometry dtype, or when operations return pandas versus GeoPandas objects..sindex, has_sindex, valid predicates, or why a spatial operation is slow.../io-formats/SKILL.md for read_file, to_file, GeoJSON, WKB/WKT persistence, Arrow/Parquet/Feather, or PostGIS.../spatial-operations/SKILL.md for joins, overlays, clips, dissolves, unary/binary geometry analysis, nearest searches, and predicate selection.../mapping-geocoding/SKILL.md for .plot(), .explore(), folium, matplotlib, geocoding, or map classification.../validation-testing/SKILL.md for geopandas.testing assertions or focused native test commands..crs on all layers. Use set_crs() only to attach known metadata; use to_crs() to reproject coordinates.None/missing geometries separately from empty Shapely geometries.GeoDataFrame(df, geometry=..., crs=...) or call set_geometry() deliberately.Run from this sub-skill directory or any other current working directory:
python scripts/validate_geodataframe.py --default-fixture --build-sindex
Expected high-level signal: the report names the active geometry column, CRS, row count, total bounds, missing and empty geometry counts, and whether a spatial index could be built.
spatial-operations for analysis or io-formats for persistence.mapping-geocoding and check optional dependencies.validation-testing.