Skip to content
Skillv1.0.0

shared

Shared JS package: API client, tile math, color function, URL-state codec. Consumed by `web/` and `mobile/`. Plain JavaScript (per ADR 0004).

by maxvaisto(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from maxvaisto/LocalityMapper (shared/AGENTS.md). Install upstream with npx skills add maxvaisto/LocalityMapper --skill shared. Copyright stays with the author.

shared

Shared JS package: API client, tile math, color function, URL-state codec. Consumed by web/ and mobile/. Plain JavaScript (per ADR 0004).

Commands

Task Command
Install deps pnpm install (from repo root)
Run tests pnpm test

TDD

New code starts with a failing test. Use /tdd for any new feature area.

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/maxvaisto-localitymapper-shared/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

maxvaisto-localitymapper-shared.ocm.jsonjson
{
  "ocm": "1",
  "id": "maxvaisto-localitymapper-shared",
  "kind": "skill",
  "name": "shared",
  "description": "Shared JS package: API client, tile math, color function, URL-state codec. Consumed by `web/` and `mobile/`. Plain JavaScript (per ADR 0004).",
  "publisher": "maxvaisto",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "coding"
    ],
    "tags": [
      "skill-md",
      "github-agents"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "Shared JS package: API client, tile math, color function, URL-state codec. Consumed by `web/` and `mobile/`. Plain JavaScript (per ADR 0004)."
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "github-agents",
      "repository": "https://github.com/maxvaisto/LocalityMapper",
      "path": "shared/AGENTS.md",
      "ref": "08df4bd26efb1f38ad441018cce025d628291686",
      "url": "https://github.com/maxvaisto/LocalityMapper/blob/08df4bd26efb1f38ad441018cce025d628291686/shared/AGENTS.md",
      "key": "maxvaisto/LocalityMapper/shared/AGENTS.md"
    }
  },
  "instructions": "# shared\n\nShared JS package: API client, tile math, color function, URL-state codec.\nConsumed by `web/` and `mobile/`. Plain JavaScript (per ADR 0004).\n\n## Commands\n\n| Task | Command |\n|---|---|\n| Install deps | `pnpm install` (from repo root) |\n| Run tests | `pnpm test` |\n\n## TDD\n\nNew code starts with a failing test. Use `/tdd` for any new feature area.",
  "cost": {
    "context_tokens": 89
  }
}

Fetch it by URL: GET /api/v1/registry/maxvaisto-localitymapper-shared/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.

shared - Skill - OpenSmartRoute