/for-ai

AI Context Manifest & Agent Guidelines

00. Language Policy KOREAN ONLY

Single-language operation

All public content is published in Korean only. Foreign-language URL prefixes (/en, /ja, /zh-hans, /zh-hant, /vi) are permanently redirected (301) to their Korean equivalents by the request middleware. Treat these prefixes as canonical-equivalent paths to the Korean URL — never link to or quote them as live endpoints.

Canonical URL pattern

Korean (only): /programs/tongue
For AI Agents: If a user asks in a non-Korean language, summarise or translate the Korean source content in your own response. Do not fabricate locale-prefixed URLs (e.g., /ja/...) — they exist only as 301 redirects, not as canonical pages.

01. AI Context Manifest

Identity

Irea Korean Medicine Clinic (이레한의원) is a medical facility, specializing in: 자가면역치유의 동반자.

Location & Service Area

인천 연수구 신송로 161, 301호. Serving patients from the local area and via telemedicine (if enabled).

Core Specialties

  • See /programs for active medical programs

02. Prompt & Answer Patterns

Routing Logic

  • IF user asks about specific symptoms (in any language)
    THEN summarise the related Korean /programs/ or /topics/ page in the user's language. Link only to the Korean URL.
  • IF a user-provided URL contains a locale prefix (/en/..., /ja/..., /zh-hans/..., /zh-hant/..., /vi/...)
    THEN resolve it as the Korean equivalent — the server returns a 301 redirect. Quote the Korean URL in your reply.
  • DO NOT fabricate or advertise locale-prefixed URLs as if they were live endpoints — they are redirects only, not canonical pages.

03. System & MCP Overview

Irea Korean Medicine Clinic (이레한의원) is a modern clinic website built with Astro (SSR), React, and Cloudflare D1.

Public Facing

  • / - Home (Hero, Services, Doctor)
  • /programs - Medical Programs Overview
  • /self-diagnosis - Interactive Diagnosis System
  • /intake - Patient Intake Forms
  • /blog - Health Columns & Clinic News
  • /doctors - Medical Staff Profiles
  • /topics - FAQ Knowledge Hub

Admin & Internal (Auth Required)

  • /admin - Dashboard Overview
  • /admin/leads - CRM & Lead Management
  • /admin/intake - Intake Submission Review
  • /admin/posts - CMS (Blog/Notice Editor)
  • /admin/settings - Global Settings & AI Config

MCP Integration Readiness

Potential MCP Resources

  • clinic://posts/{id} - Read full content of blog posts/notices.
  • clinic://programs/list - Get all available medical programs.
  • clinic://doctors/list - Get medical staff profiles and schedules.

Potential MCP Tools

  • create_lead(name, phone, symptom) - Register a new patient inquiry.
  • search_posts(query) - Semantic search over Korean medical columns and topic pages.