Skip to main content

design-a-map-interface

Design a map interface with clear spatial purpose, data provenance, non-map alternatives, privacy controls, and accessible interaction. Use when location and spatial relationships materially support a user task.

来源信息

仓库
protosphinx/sphinxstack
最近来源活动
2026年7月29日 13:55
检测到的 SKILL.md 语言
英语
星标
3
Forks
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
2 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
design-a-map-interface
category
design
description
Design a map interface with clear spatial purpose, data provenance, non-map alternatives, privacy controls, and accessible interaction. Use when location and spatial relationships materially support a user task.
# design-a-map-interface Use the map to answer a spatial question, not as decorative chrome. ## When to use - Use for routing, proximity, coverage, assets, incidents, boundaries, or spatial comparison. - Provide an equivalent list, table, directions, or search path for users who cannot use the map. ## Procedure 1. Define the spatial task, data, accuracy, freshness, coordinate system, boundaries, zoom, and consequences of error. 2. Separate precise, approximate, inferred, delayed, and intentionally obfuscated locations. 3. Design search, geolocation permission, pan, zoom, select, filter, detail, route, and reset behavior. 4. Provide keyboard-accessible controls, visible focus, sufficient targets, non-color symbols, text alternatives, and a synchronized non-map view. 5. Handle clusters, overlaps, dense areas, empty regions, boundaries, uncertainty, stale data, loading, offline, and provider failure. 6. Minimize location collection, explain permission value, support manual entry, and protect sensitive homes, facilities, or vulnerable people. 7. Check labels, attribution, license, locale, right-to-left behavior, units, time, and map-provider terms. 8. Test screen readers, keyboard, zoom, touch, motion sensitivity, low bandwidth, denied location, inaccurate GPS, and long results. 9. Validate route or proximity outcomes against known cases rather than visual plausibility. ## Failure plan - If precision is unsafe or unsupported, show an appropriate region and uncertainty instead of a false point. - If the provider fails, preserve the non-map task path and last safe state. ## Done - A map design specification records task, data, accuracy, freshness, states, controls, privacy, attribution, and alternate view - Interaction and known-case tests verify spatial outcomes, accessibility, denied permission, provider failure, and uncertainty communication
在 GitHub 查看