kma-api-python-builder

Community

Build, extend, and debug KMA Python API clients safely.

Authordigitie
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps you implement and maintain a Python client library for the Korean Meteorological Administration (KMA) public weather APIs while preserving critical, hard-to-recall invariants such as coordinate handling, time-base selection, authentication rules, typed error mapping, and response parsing safety.

Core Features & Use Cases

  • Enforces project invariants before code changes: verifies which documents to read (README, kma-api.md, docs/api-coverage.md, docs/apihub*.md, docs/datagokr.md, AGENTS.md) to prevent accidental behavior changes.
  • Guarantees correct input semantics: validates that users pass either LatLon or GridPoint (or properly shaped mappings) and rejects ambiguous or mixed lat/lon vs nx/ny inputs.
  • Prevents common KMA pitfalls: preserves PCP/SNO Korean range strings (no forced float conversion), applies endpoint-aware PTY mapping, ensures resultCode != "00" becomes typed exceptions, and avoids accidental credential leakage.
  • Supports robust offline-first development: requires mock/fixture-based tests by default and isolates live integration tests behind explicit opt-in markers and environment variables.

Quick Start

Ask the assistant to implement and validate an update to HTTP error handling across the KmaClient, DataGoKrClient, and ApiHubClient while keeping all KMA invariants and ensuring the change is covered by offline tests.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: kma-api-python-builder
Download link: https://github.com/digitie/python-kma-api/archive/main.zip#kma-api-python-builder

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.