Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Korea Tourapi

ASecurity

Expert workflow for Korea Tourism Organization TourAPI. Builds valid requests, validates parameters, handles pagination/errors, and maps responses to app models.

207 stars
0 votes
0 copies
1 views
Added 9/4/2026
developmentgorailsdebuggingapiperformance

Works with

cliapi

Security Analysis

A100/100

Scanned 9/4/2026

Install to Claude Code

$npx -y skills add NeverSight/skills_feed --skill korea-tourapi --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Korea Tourapi?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Korea Tourapi
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/neversight-korea-tourapi/badge)](https://www.skillsdirectory.com/skills/neversight-korea-tourapi)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
---
name: korea-tourapi
description: Expert workflow for Korea Tourism Organization TourAPI. Builds valid requests, validates parameters, handles pagination/errors, and maps responses to app models.
---

# Korea TourAPI Skill

Use this skill when implementing or debugging integrations with Korea Tourism Organization TourAPI 4.0 KorService2.

## Source of Truth

- API family: `KorService2`
- Base URL: `https://apis.data.go.kr/B551011/KorService2`
- Manual version: TourAPI 4.0 Ver 4.3 (2025-05-12)
- Core endpoints covered:
  - `areaCode2`, `categoryCode2`, `areaBasedList2`, `locationBasedList2`
  - `searchKeyword2`, `searchFestival2`, `searchStay2`
  - `detailCommon2`, `detailIntro2`, `detailInfo2`, `detailImage2`
  - `areaBasedSyncList2`, `detailPetTour2`, `ldongCode2`, `lclsSystmCode2`

## When to Use

- Building new list/detail/taxonomy API calls.
- Migrating old TourAPI params to latest Ver 4.3 behavior.
- Troubleshooting request validation errors and no-data cases.
- Designing model mapping for `contentid`, `contenttypeid`, coordinates, image fields.
- Adding sync jobs from `areaBasedSyncList2`.

## Required Request Baseline

For every request, enforce these baseline params first:

1. `serviceKey`
2. `MobileOS` (`IOS`, `AND`, `WEB`, `ETC`)
3. `MobileApp` (service name)
4. `_type=json` (unless XML is explicitly required)

Then add endpoint-specific required params.

## Operating Procedure

1. Identify user intent: list, detail, codes, sync, pet travel.
2. Select endpoint by intent (see `references/quick-reference.md`).
3. Build request with required params and only compatible optional filters.
4. Validate dependency params before call:
   - `sigunguCode` requires `areaCode`
   - `cat2` requires `cat1`
   - `cat3` requires `cat1` and `cat2`
   - `lDongSignguCd` requires `lDongRegnCd`
   - `lclsSystm2` requires `lclsSystm1`
   - `lclsSystm3` requires `lclsSystm1` and `lclsSystm2`
5. For location queries, clamp `radius` to `<= 20000`.
6. Parse `response.header` first:
   - success expected: `resultCode == "0000"`
   - else map to actionable error
7. Parse `response.body.items.item` robustly (single object or array).
8. Return normalized fields and pagination (`pageNo`, `numOfRows`, `totalCount`).
9. If detail flow is needed, chain:
   - `detailCommon2` -> `detailIntro2` -> `detailInfo2` -> `detailImage2`
10. Respect licensing metadata (`cpyrhtDivCd`) in downstream usage.

## Request/Response Validation Feature (Mandatory)

Before implementation guidance, run two explicit checks and report both:

1. Request validation
2. Response validation

### 1) Request validation

- Validate baseline params: `serviceKey`, `MobileOS`, `MobileApp`, `_type`.
- Validate endpoint required params from `references/validation-matrix.md`.
- Validate dependency params (`cat2`/`cat3`, `sigunguCode`, legal-dong, classification-system).
- Validate removed params denylist:
  - `defaultYN`, `firstImageYN`, `areacodeYN`, `catcodeYN`, `addrinfoYN`, `mapinfoYN`, `overviewYN`, `subImageYN`
- If any invalid param exists, block request construction and output a corrected param set.

### 2) Response validation

- Accept success only when `resultCode == "0000"`.
- Validate envelope shape:
  - list/detail endpoints: `response.header`, `response.body`, `response.body.items.item`
  - provider error shape: `resultCode`/`resultMsg` top-level may appear
- Validate pagination fields when present: `pageNo`, `numOfRows`, `totalCount`.
- Validate endpoint-specific minimum fields from `references/validation-matrix.md`.
- If required response fields are missing, return a parsing warning and safe fallback mapping.

## Content Type IDs (Kor)

- 12: Tour spot
- 14: Culture facility
- 15: Festival/performance/event
- 25: Travel course
- 28: Leports
- 32: Stay
- 38: Shopping
- 39: Food

## Response-Safe Parsing Rules

- Parse numeric fields from strings (`contentid`, `mapx`, `mapy`, `dist`) safely.
- Treat missing optional values as null/empty, not errors.
- Keep raw source payload for debugging.
- Keep a strict distinction between:
  - transport errors (HTTP/network)
  - platform errors (`OpenAPI_ServiceResponse`)
  - provider errors (`resultCode` in response header)

## Known 4.3 Notes

- New filters/fields include legal-dong and classification-system values.
- Some older flags were removed from older endpoint revisions.
- `detailCommon2` is simplified compared with prior revisions.

## Hard Guardrails (Prevent Invalid Params)

Never send removed legacy flags to `detailCommon2`:

- `defaultYN`
- `firstImageYN`
- `areacodeYN`
- `catcodeYN`
- `addrinfoYN`
- `mapinfoYN`
- `overviewYN`

If any of the above appears in generated code, remove it before request execution.

`detailCommon2` request should be treated as:

- baseline params: `serviceKey`, `MobileOS`, `MobileApp`, `_type`
- required params: `contentId`
- optional paging only: `numOfRows`, `pageNo`

Also do not use deprecated `subImageYN` on `detailImage2`.

## Output Contract for Agent

When this skill is used, always output:

1. Selected endpoint and reason.
2. Final request URL (redact or mask `serviceKey`).
3. Required/optional params split.
4. Validation checks run.
   - Request validation result (pass/fail + fixes)
   - Response validation result (pass/warn/fail)
5. Pagination handling plan.
6. Error handling mapping.
7. Model mapping notes for app code.

## Local References

- `references/quick-reference.md`
- `references/validation-matrix.md`
- `references/wherewego-mapping.md`
- `docs/FEATURE_PLAN.md`

Attribution

NeverSightNeverSight
View sourceMore from NeverSight →
SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Related Skills

Browser Extension Developer

Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content scripts, background scripts, or i18n updates.

281612 votes

Seo Optimizer

SEO optimization with keyword analysis, readability assessment, technical validation, content quality. Use for search rankings, blog posts, content audits, or encountering keyword density, readability scores, meta tags, schema markup errors.

2132 votes

Google Official Seo Guide

Official Google SEO guide covering search optimization, best practices, Search Console, crawling, indexing, and improving website search visibility based on official Google documentation

1862 votes

Tanstack Start

Build a full-stack TanStack Start app on Cloudflare Workers from scratch — SSR, file-based routing, server functions, D1+Drizzle, better-auth, Tailwind v4+shadcn/ui. Use whenever the user mentions TanStack Start, asks to scaffold a full-stack Cloudflare app with SSR, wants an SSR dashboard, or asks for a React 19 + Cloudflare Workers app with file-based routing and server functions — even if they don't name TanStack Start specifically. No template repo — Claude generates every file fresh per ...

9881 votes

Pentest

PTES-aligned adversarial security audit for backend, frontend, and mobile applications. Produces a CVSS-scored Hacker Report with verified PoCs and phased remediation.

5491 votes
View all in development →