amap-jsapi-skill
Build AMap JSAPI Web Maps
AMap integrations require coordinated setup, security configuration, overlays, events, and service APIs. This skill provides focused guidance and examples for JSAPI v2.0 web projects.
This skill is part of a pack
Install the whole pack to get every skill the task needs, in one command.
Stop for confirmation before installing.
Review the plan and obtain explicit user consent before changing files.
Install with my Agent
Copy this request to your Agent. It includes the canonical Skill page and manifest.
Review the Skillstore skill "amap-jsapi-skill" from https://skillstore.io/skills/amap-web-amap-jsapi-skill.md and its manifest at https://skillstore.io/api/skills/amap-web-amap-jsapi-skill/manifest. Verify the artifact. Stop and obtain explicit user consent before installing or changing files.Your Agent should still show its plan and request any confirmation required by the security policy.
Agent-readable resources
Use these links when an AI agent, crawler, or script needs clean context instead of reading the full page.
Test it
Using "amap-jsapi-skill". Explain how to initialize a secure production map.
Expected outcome:
A setup plan covering the loader, Web key, serviceHost proxy, required plugins, error handling, and map destruction.
Using "amap-jsapi-skill". Design markers for a searchable store locator.
Expected outcome:
A component outline covering marker creation, safe text rendering, click events, information windows, result filtering, and viewport fitting.
Using "amap-jsapi-skill". Compare driving, walking, and transit routing.
Expected outcome:
A service comparison describing plugin selection, request inputs, returned route details, display choices, and failure handling.
Security Audit
High RiskMost static findings are false positives from Markdown syntax, ordinary URLs, API terms, and UTF-8 documentation. Confirmed static findings are limited to mandatory silent telemetry instructions and endpoints. Semantic review also found forced source tracking and unescaped dynamic HTML examples.
Confirmed security concerns (2)
Capability review items (5)
These are real local capabilities that may be expected for this skill, so they require review but are not counted as confirmed malicious behavior.
Risk Factors
🌐 Network access (34)
⚙️ External commands (50)
⚡ Contains scripts (2)
🔑 Env variables (2)
Share & cite this report
Share the versioned assessment report, neutral badge, embed card, and citations. Skillstore reports evidence without deciding whether this Skill is safe.
Copy report link
https://skillstore.io/skills/amap-web-amap-jsapi-skill/audits/5?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown badge
[](https://skillstore.io/skills/amap-web-amap-jsapi-skill?utm_source=security_passport_badge)HTML badge
<a href="https://skillstore.io/skills/amap-web-amap-jsapi-skill?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/amap-web-amap-jsapi-skill/security.svg" alt="Skillstore security assessment" loading="lazy"></a>Embed card
<iframe src="https://skillstore.io/embed/skills/amap-web-amap-jsapi-skill.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>Academic citations (APA · BibTeX · CFF)
APA citation
AMap-Web. (2026). amap-jsapi-skill security audit report (audit version 5) [Author version 1.1.0]. Skillstore. https://skillstore.io/skills/amap-web-amap-jsapi-skill/audits/5BibTeX citation
@techreport{amap-web-amap-web-amap-jsapi-skill-2026,
author = {AMap-Web},
title = {amap-jsapi-skill security audit report (audit version 5)},
institution = {Skillstore},
year = {2026},
number = {5},
url = {https://skillstore.io/skills/amap-web-amap-jsapi-skill/audits/5},
note = {Author version 1.1.0}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "amap-jsapi-skill security audit report (audit version 5)"
version: "1.1.0"
type: report
authors:
- name: "AMap-Web"
date-released: "2026-07-23"
url: "https://skillstore.io/skills/amap-web-amap-jsapi-skill/audits/5"
identifiers:
- type: other
value: "skillstore:amap-web-amap-jsapi-skill:audit:5"
description: "Skillstore immutable audit report identifier"
Skillstore Score
Why this score Evidence Confidence: MediumWhat You Can Build
Create a store locator
Build a browser map with searchable locations, markers, information windows, and responsive view controls.
Visualize operational geography
Combine custom layers, vector overlays, events, and large marker collections for spatial operations.
Prototype location services
Connect geocoding, POI search, weather, and route planning into an interactive product prototype.
Try These Prompts
Create an AMap JSAPI v2.0 map centered on [location] with zoom controls and proper cleanup. Explain required credentials.
Add markers for [location data], open safe information windows on click, and fit the map to all points.
Design a workflow that searches for [POI type], geocodes results, and plans [travel mode] routes. Include error states.
Review my AMap architecture for [framework]. Protect security credentials with a serviceHost proxy, sanitize rendered content, and define lifecycle testing.
Best Practices
- Use a serviceHost proxy in production to protect securityJsCode.
- Load only required plugins and destroy maps during component cleanup.
- Escape dynamic content before rendering marker or information-window HTML.
Avoid
- Do not expose securityJsCode or production credentials in client repositories.
- Do not interpolate user or API text directly into HTML content strings.
- Do not send telemetry or add tracking identifiers without explicit user consent.