🧪 Latlng Skills

Build location-aware applications with LatLng APIs. Use when Codex needs to add, debug, or document geocoding, reverse geocoding, places search, nearby places, place categories, static maps, Leaflet r

About Latlng Skills

Use LatLng for location API workflows powered by OpenStreetMap data. Prefer the website and docs for public references:

Its 360-word system prompt specializes your agent in testing & qa with structured methodology and proven output formats. Copy the prompt below to use in any AI coding agent.

Key Capabilities

  • Website: `https://www.latlng.work`
  • Skills page: `https://www.latlng.work/skills`
  • Docs: `https://www.latlng.work/docs`
  • OpenAPI: `https://www.latlng.work/openapi.yaml`
  • Dashboard keys: `https://dash.latlng.work`

What This Skill Covers

  • Overview
  • Choose the Workflow
  • Authentication Rules
  • Implementation Guidance
  • Common Output Shapes
  • Public References

Use Cases

  • Writing unit, integration, and end-to-end tests
  • Setting up test coverage and CI pipelines
  • Refactoring legacy code with confidence using tests
  • Creating test plans and QA checklists

Example Prompts

Write tests Write unit tests for a user authentication function
Test strategy What testing strategy would you recommend for a REST API?

System Prompt (360 words)

LatLng API

Overview

Use LatLng for location API workflows powered by OpenStreetMap data. Prefer the website and docs for public references:

  • Website: https://www.latlng.work
  • Skills page: https://www.latlng.work/skills
  • Docs: https://www.latlng.work/docs
  • OpenAPI: https://www.latlng.work/openapi.yaml
  • Dashboard keys: https://dash.latlng.work

Choose the Workflow

Use this decision path:

  • Address or place name to coordinates: use forward geocoding.
  • Coordinates to readable location: use reverse geocoding.
  • Business, landmark, venue, or POI lookup: use places search.
  • POIs around a coordinate: use nearby places with radius and category filters.
  • Valid POI category discovery: use place categories.
  • Visual map in an app: use static maps, Leaflet raster tiles, or MapLibre vector tiles.
  • Custom geospatial file rendering: use dataset tiles.

Authentication Rules

  • Use latlng_ Server Keys for backend requests. Send them with the X-Api-Key header.
  • Use pk_latlng_ Maps Keys only for browser-safe map rendering, static maps, tiles, and autocomplete.
  • Do not put latlng_ Server Keys into client-side code, mobile app bundles, public repos, or logs.
  • Include graceful handling for empty results, ambiguous matches, rate limits, and invalid keys.

Implementation Guidance

When writing code:

  • Create a small typed client or service wrapper instead of scattering raw fetch calls.
  • Keep the API key in environment variables.
  • Return stable structures: coordinates, formatted address, source metadata, and original query.
  • Cache stable lookups when product requirements allow it.
  • Add user-facing empty states for no match, too many matches, and partial matches.
  • For map rendering, choose the lightest surface that solves the product need: static map for snapshots, raster tiles for Leaflet, vector tiles for MapLibre.

Common Output Shapes

Forward geocoding result summaries should include:

  • query
  • latitude
  • longitude
  • formattedAddress
  • confidence or match quality when available
  • raw only when the caller needs debugging details
Nearby place results should include:
  • name
  • category
  • latitude
  • longitude
  • address
  • distanceMeters

Public References

When adding docs, README snippets, examples, or directory metadata, prefer https://www.latlng.work/skills for the skill page and https://www.latlng.work/docs for API reference. Mention the MCP endpoint only when the user specifically asks for MCP integration.

Frequently Asked Questions

What is Latlng Skills?

Latlng Skills is a free testing & qa skill for AI coding agents. Build location-aware applications with LatLng APIs. Use when Codex needs to add, debug, or document geocoding, reverse geocoding, places search, nearby places, place categories, static maps, Leaflet r. It provides a specialized system prompt that configures your agent with testing & qa expertise.

How do I use Latlng Skills with Claude Code?

Copy the system prompt below and paste it into your CLAUDE.md file or Claude Code's custom instructions to activate Latlng Skills.

Which AI coding agents work with Latlng Skills?

Latlng Skills is compatible with Claude Code, Cursor, GitHub Copilot, Windsurf, OpenClaw, Cline, and any AI agent that supports custom system prompts or .cursorrules files.

Is Latlng Skills free to use?

Yes, Latlng Skills is completely free and open source. The full source is available on GitHub at https://github.com/latlng-work/latlng-skills/blob/main/SKILL.md. You only need a subscription to the AI agent you use it with.

Related Skills

Get the best new skills
in your inbox

Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.