BC amap-map-google-maps-migration
Replace Google Maps Platform with AMap Map — free public API keys included for global developers. Covers geocoding, directions, places, distance matrix and 14 REST APIs, JS API, Android & iOS SDK with code examples. Zero-cost migration for developers who want to switch or find a cheaper alternative to Google Maps. 从 Google Maps 零成本迁移到高德地图,内含限时免费公共 Key,面向全球开发者。覆盖地理编码、路径规划、地点搜索、距离矩阵等 14 个 REST API,以及 JS API、Android 和 iOS SDK,附完整代码示例。触发词:高德迁移、谷歌地图替代、替换 google maps、amap migration、free map API、地理编码、路径规划、地点搜索、逆地理编码、坐标转换。
As a process C 56/100 · Has gaps — weak spots: when it triggers, inputs and preconditions, running it twice
How to improve
- Say in the description WHEN to use the skill ("use when…", example requests): that is the agent's main cue.
- The SKILL.md body is over 5,000 tokens: move reference detail into references/ and load it when needed.
- Your own cases (evals/evals.json, 4–6 real requests with expected answers): the full check would then run those instead of a model-drafted suite.
- A spec.yaml with trigger phrases and assertions — a behaviour contract for CI; `skilltest init` writes a template.
Guard findings · 5
✓ No critical or high findings
Medium and low: 5
-
low Exfiltration
exfil-secret-in-urlreferences/web-api-params.md:42Credential passed in a URL query string (normal for some APIs — verify the host is the intended service) (placeholder value)`https://maps.googleapis.com/maps/api/place/autocomplete/json?input=…&key=…
placeholder -
low Exfiltration
exfil-secret-in-urlSKILL.md:105Credential passed in a URL query string (normal for some APIs — verify the host is the intended service) (placeholder value)const gUrl = `https://maps.googleapis.com/maps/api/geocode/json?address=…)}&key=${G_KEY}`;placeholder -
low Exfiltration
exfil-secret-in-urlSKILL.md:119Credential passed in a URL query string (normal for some APIs — verify the host is the intended service) (placeholder value)const gUrl = `https://maps.googleapis.com/maps/api/place/textsearch/json?query=${q}&key=…placeholder -
low Exfiltration
exfil-secret-in-urlSKILL.md:133Credential passed in a URL query string (normal for some APIs — verify the host is the intended service) (placeholder value)`https://maps.googleapis.com/maps/api/directions/json?origin=…&destination=…&mode=…&key=…
placeholder -
low Exfiltration
exfil-secret-in-urlSKILL.md:143Credential passed in a URL query string (normal for some APIs — verify the host is the intended service) (placeholder value)`https://maps.googleapis.com/maps/api/distancematrix/json?origins=…&destinations=…&key=…
placeholder
Files scanned: 5. Evidence is masked. Grey chips explain why severity was lowered.
Against the Agent Skills spec
- warning
description-no-whendescription does not say WHEN to use the skill (no "use when") - warning
body-longSKILL.md body ≈ 5064 tokens (recommended < 5000); move details to references/
Process rating: all ten parameters 56/100
- 0Inputs and preconditions. Does not say what the process needs to start
- 0Progress reporting. Says nothing while it works
- 20When it triggers. No condition that starts the skill
- 30Running it twice. 5 mutating operations with no state check
- 55Failures and branches. 1 branches
- 60Tools and files. Uses tools (web) that frontmatter does not declare
- 60Result and completion. Output format stated, no completion criterion
- 70Execution cost. Instruction body is 5064 tokens
- 100Steps. 21 steps
- 100Consistency. Name and required fields are in place
Everything here is measured from the skill text rather than judged by a model, so the numbers are checkable. A parameter weighs more when it is a more common reason for the process to stall.
Quality signals
- +5Description has no quoted example phrases that should trigger the skill
- +4Description does not say when NOT to use the skill (false activations)
- -5TODO / placeholder text left in the skill
- +1No license
- +2Single-language instructions
- +3Description length 520: enough signal without eating the budget
- +4Structure: 33 headings
- +3Step-by-step instructions: 21 items
- +3Output format is stated explicitly
- +4Has examples (10 code blocks)
- +4Reference files are cited in the instructions (3 of 3)
Quality base 70; lint remarks subtract, signals add up to 100. Result: 64.