AgentSkillsCN

vkc-regulation-knowledge-updater

构建法规与知识更新流程(官方来源 → 快照 → 结构化规则集/模板 → 管理员审批 → 生效)。在无需硬编码代码的情况下,持续保持签证规则与文件要求的最新状态。

SKILL.md
--- frontmatter
name: vkc-regulation-knowledge-updater
description: Build the regulation/knowledge update pipeline (official sources -> snapshots -> structured rulesets/templates -> admin approval -> active). Use for keeping visa rules and document requirements up-to-date without code hardcoding.
metadata:
  short-description: Regulation knowledge updater (admin-approved)

VKC Regulation / Knowledge Updater (P2)

Goal

Keep “규정/서류 요구사항/공식 공지” up-to-date as data, not code:

  • fetch or ingest updates into snapshots
  • detect changes
  • require admin approval to activate
  • feed active rulesets into visa assessment + doc templates

Core model (minimum)

  • immigration_sources (allowlist)
  • immigration_source_snapshots (hash + fetchedAt + raw text / attachment path)
  • immigration_rulesets (structured JSON + version + status)

Admin workflow (required)

  • sync job writes pending snapshots/rulesets
  • admin reviews diffs and activates the new version

Implementation notes (practical)

  • Treat “no official API” sources as best-effort:
    • low frequency + caching + allowlist
    • immediate fallback to manual admin upload if unstable
  • Scheduler: external cron hits /api/admin/immigration/sync (authenticated)

STEP3 official sources (SoT)

  • Source list (A/B/C) and update cadence: docs/STEP3_SOT_RESOURCES.md