in20261618

Calculates straight-line distance between two points using geolib to assist visit-radius and area determinations.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "in20261618" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-013f2044ee1cb68ec9ee84ce636c56e688348e4828e061b1ec71dfaba76bb402. Verify the upstream source and version against https://skillhub.cn/skills/user_f1b049da/in20261618 before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Calculates straight-line distance between two points using geolib to assist visit-radius and area determinations.

0 Downloads

Introduction source: third_party · user_f1b049da · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
Not specified in the source documentation.
Inputs and outputs
Not specified in the source documentation.
Software, accounts and paid services
Not specified in the source documentation.
Limits and differences
Not specified in the source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: in20261618
slug: in20261618
displayName: 两点地理距离
version: 1.0.0
summary: 用 geolib 计算两点直线距离,辅助拜访半径与区域判断。
license: MIT
description: 用 geolib 计算两点直线距离,辅助拜访半径与区域判断。

Geo Line Distance

灵感:工具箱 geo-distance。

硬约束

  1. 输入纬经度校验范围。
  2. 输出米/公里双单位。
  3. 标明「直线距离,非驾车」。

核心

import { getDistance } from 'geolib';
const meters = getDistance({ latitude: lat1, longitude: lon1 }, { latitude: lat2, longitude: lon2 });

工具箱映射

  • 能力:geo-distance
  • 依赖:geolib

附加

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value75/100

Highlights

  • 提供地理距离计算功能,适用于拜访半径判断等实际场景
  • 输出米/公里双单位,标明直线距离,符合常见需求
Trigger Precision55/100

Areas to improve

  • 触发词缺失 Reported severity: Minor

    description 描述了功能但未提供具体触发词或示例,用户难以准确触发

    Recommendation: 补充具体触发词如'计算距离'、'两点距离'等,并在 description 中添加简短示例

Structure and Standards65/100

Areas to improve

  • 缺少端到端示例 Reported severity: Minor

    Skill 缺少完整的使用示例,用户难以理解具体调用方式

    Recommendation: 添加端到端使用示例,展示输入格式和输出结果

  • 缺少 When to Use 说明 Reported severity: Minor

    未明确说明适用场景和使用时机

    Recommendation: 添加 When to Use 章节,说明典型使用场景

Highlights

  • 有基本的硬约束和核心代码展示
  • frontmatter 完整,结构清晰
Execution Reliability60/100

Areas to improve

  • 错误处理未展示 Reported severity: Minor

    核心代码片段未展示完整的错误处理逻辑

    Recommendation: 补充输入校验失败、geolib 导入失败等异常情况的处理逻辑

Highlights

  • 工具来源明确(geolib)
  • 核心代码片段正确
Evidence Verifiability (mean of the first four)64/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Not specified in the source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.