Skip to content
kleague-results logo

K League Results

kleague-results

์ผ€์ด๋ฆฌ๊ทธ ๊ฒฝ๊ธฐ ๊ฒฐ๊ณผ์™€ ํ˜„์žฌ ์ˆœ์œ„๋ฅผ ๋‚ ์งœ/ํŒ€ ๊ธฐ์ค€์œผ๋กœ ์กฐํšŒํ•œ๋‹ค. ๊ณต์‹ JSON ์—”๋“œํฌ์ธํŠธ์™€ kleague-results npm ํŒจํ‚ค์ง€๋ฅผ ์‚ฌ์šฉํ•œ๋‹ค.

nomadamas/k-skill6Kinstalls7.8Kstars

SKILL.md

Full skill instructions

K League Results

What this skill does

๊ณต์‹ K๋ฆฌ๊ทธ JSON ํ‘œ๋ฉด์œผ๋กœ ํŠน์ • ๋‚ ์งœ์˜ K๋ฆฌ๊ทธ1/โ€‹K๋ฆฌ๊ทธ2 ๊ฒฝ๊ธฐ ๊ฒฐ๊ณผ๋ฅผ ์กฐํšŒํ•˜๊ณ , ํ•„์š”ํ•˜๋ฉด ํŠน์ • ํŒ€(์˜ˆ: FC์„œ์šธ, ์„œ์šธ ์ด๋žœ๋“œ, ํŒ€ ์ฝ”๋“œ K09)๋งŒ ํ•„ํ„ฐ๋งํ•œ ๋’ค ํ˜„์žฌ ์ˆœ์œ„๊นŒ์ง€ ํ•จ๊ป˜ ์ •๋ฆฌํ•œ๋‹ค.

When to use

  • "์˜ค๋Š˜ K๋ฆฌ๊ทธ1 ๊ฒฝ๊ธฐ ๊ฒฐ๊ณผ ์•Œ๋ ค์ค˜"
  • "2026-03-22 FC์„œ์šธ ๊ฒฝ๊ธฐ ๊ฒฐ๊ณผ๋ž‘ ํ˜„์žฌ ์ˆœ์œ„ ๋ณด์—ฌ์ค˜"
  • "2026-03-22 K๋ฆฌ๊ทธ2 ๊ฒฐ๊ณผ ์ •๋ฆฌํ•ด์ค˜"

Prerequisites

  • Node.js 18+
  • npm install -g kleague-results

Inputs

  • ๋‚ ์งœ: YYYY-MM-DD
  • ๋ฆฌ๊ทธ: K๋ฆฌ๊ทธ1 ๋˜๋Š” K๋ฆฌ๊ทธ2 (๊ธฐ๋ณธ๊ฐ’์€ K๋ฆฌ๊ทธ1)
  • ์„ ํƒ ์‚ฌํ•ญ: ํŒ€๋ช…, ํ’€๋„ค์ž„, ํŒ€ ์ฝ”๋“œ (์„œ์šธ, FC์„œ์šธ, K09 ๋“ฑ)

Workflow

0. Install the package globally when missing

npm root -g ์•„๋ž˜์— kleague-results ๊ฐ€ ์—†์œผ๋ฉด HTML scraping ์œผ๋กœ ์šฐํšŒํ•˜์ง€ ๋ง๊ณ  ๋จผ์ € ์ „์—ญ Node ํŒจํ‚ค์ง€ ์„ค์น˜๋ฅผ ์‹œ๋„ํ•œ๋‹ค.

npm install -g kleague-results

1. Fetch the official K League JSON

์ด ์Šคํ‚ฌ์€ HTML ํฌ๋กค๋ง ๋Œ€์‹  ์•„๋ž˜ ๊ณต์‹ JSON ์—”๋“œํฌ์ธํŠธ๋ฅผ ์‚ฌ์šฉํ•œ๋‹ค.

  • ์ผ์ •/๊ฒฐ๊ณผ: https://www.kleague.com/โ€‹getScheduleList.do
  • ํŒ€ ์ˆœ์œ„: https://www.kleague.com/โ€‹record/โ€‹teamRank.do
GLOBAL_NPM_ROOT="$(npm root -g)" node --input-type=module - <<'JS'
import path from "node:path";
import { pathToFileURL } from "node:url";

const entry = pathToFileURL(
  path.join(process.env.GLOBAL_NPM_ROOT, "kleague-results", "src", "index.js"),
).href;
const { getKLeagueSummary } = await import(entry);

const summary = await getKLeagueSummary("2026-03-22", {
  leagueId: "K๋ฆฌ๊ทธ1",
  team: "FC์„œ์šธ",
  includeStandings: true,
});

console.log(JSON.stringify(summary, null, 2));
JS

2. Normalize for humans

์›๋ณธ JSON์„ ๊ทธ๋Œ€๋กœ ๋˜์ง€์ง€ ๋ง๊ณ  ์•„๋ž˜ ๊ธฐ์ค€์œผ๋กœ ์ •๋ฆฌํ•œ๋‹ค.

  • ํ™ˆํŒ€ vs ์›์ •ํŒ€
  • ๊ฒฝ๊ธฐ ์‹œ๊ฐ„ / ๊ฒฝ๊ธฐ ์ข…๋ฃŒ ์—ฌ๋ถ€
  • ์Šค์ฝ”์–ด
  • ํ˜„์žฌ ์ˆœ์œ„
  • ์š”์ฒญ ํŒ€์ด ์žˆ์œผ๋ฉด ํ•ด๋‹น ํŒ€ ๊ฒฝ๊ธฐ๋งŒ ํ•„ํ„ฐ๋ง

3. Keep the answer compact

์š”์ฒญ์ด scoreboard ๋ฉด ๊ฒฝ๊ธฐ๋ณ„ ํ•œ ์ค„ ์š”์•ฝ๋ถ€ํ„ฐ ์ค€๋‹ค. ํŠน์ • ํŒ€ ์š”์ฒญ์ด๋ฉด ๊ทธ ํŒ€ ๊ฒฝ๊ธฐ์™€ ํ˜„์žฌ ์ˆœ์œ„๋งŒ ๋จผ์ € ๋ณด์—ฌ์ค€๋‹ค.

Done when

  • ๋‚ ์งœ ๊ธฐ์ค€ ๊ฒฝ๊ธฐ ์š”์•ฝ์ด ์žˆ๋‹ค
  • ํŒ€ ์š”์ฒญ์ด๋ฉด ํ•ด๋‹น ํŒ€ ๊ฒฝ๊ธฐ๋งŒ ๋‚จ์•„ ์žˆ๋‹ค
  • ํ˜„์žฌ ์ˆœ์œ„๊ฐ€ ๊ฐ™์ด ์ •๋ฆฌ๋˜์–ด ์žˆ๋‹ค

Failure modes

  • K๋ฆฌ๊ทธ ์‚ฌ์ดํŠธ๊ฐ€ getScheduleList.do ๋˜๋Š” teamRank.do ์‘๋‹ต ๊ตฌ์กฐ๋ฅผ ๋ฐ”๊พธ๋ฉด ํŒจํ‚ค์ง€ ์ˆ˜์ •์ด ํ•„์š”ํ•˜๋‹ค
  • ๊ฒฝ๊ธฐ ์ „ ๋‚ ์งœ๋ฉด ๊ฒฐ๊ณผ ๋Œ€์‹  ์˜ˆ์ • ์ƒํƒœ๊ฐ€ ๋ฐ˜ํ™˜๋  ์ˆ˜ ์žˆ๋‹ค
  • ์„œ์šธ ์ฒ˜๋Ÿผ ์งง์€ ์ด๋ฆ„๋งŒ ์ฃผ๋ฉด ๋ฆฌ๊ทธ์— ๋”ฐ๋ผ FC์„œ์šธ / ์„œ์šธ ์ด๋žœ๋“œ ๊ตฌ๋ถ„์ด ํ•„์š”ํ•  ์ˆ˜ ์žˆ๋‹ค

Notes

  • ์ด ์Šคํ‚ฌ์€ ์กฐํšŒ ์ „์šฉ์ด๋‹ค
  • ์‚ฌ์šฉ์ž์˜ "์˜ค๋Š˜/์–ด์ œ" ์š”์ฒญ์€ ํ•ญ์ƒ ์ ˆ๋Œ€ ๋‚ ์งœ(YYYY-MM-DD)๋กœ ๋ณ€ํ™˜ํ•ด์„œ ์‹คํ–‰ํ•œ๋‹ค
  • ํŒจํ‚ค์ง€๋ฅผ ์ƒˆ๋กœ ์ถ”๊ฐ€ํ•œ ์ƒํƒœ๋ผ๋ฉด ๋จธ์ง€ ํ›„ npm publish(Changesets ๊ธฐ๋ฐ˜)๋ฅผ ์ง„ํ–‰ํ•ด์•ผ ์ „์—ญ ์„ค์น˜ ํ๋ฆ„์ด ์‚ด์•„๋‚œ๋‹ค
  • ์ž์„ธํ•œ ์‚ฌ์šฉ ์˜ˆ์‹œ๋Š” docs/โ€‹features/โ€‹kleague-results.md ์™€ packages/โ€‹kleague-results/โ€‹README.md ๋ฅผ ๋”ฐ๋ฅธ๋‹ค

More skills from nomadamas

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgรคnger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View