Логотип Kml Author

Kml Author

Спільнота
danmaps
kml-author

Author clean, portable KML/KMZ with deliberate structure, shared styles, links, regions, and validation

Огляд

Видавецьdanmaps
Репозиторійgis-agent-skills
Назва навичкиkml-author
Зірки
30
Форки
2
Файли в пакеті
1
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Файлів у комплекті: 1

    Скрипти, шаблони й довідкові матеріали, які модель може читати під час роботи. Файли доступні лише для читання й ніколи не виконуються.

  • Відкритий вихідний код

    Опубліковано на GitHub користувачем danmaps. Перегляньте вихідний вміст перед установленням.

Встановлення

Установіть навичку ШІ Kml Author у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до Плагіни → Навички.
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/danmaps/gis-agent-skills/tree/main/skills/kml-author
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Нова навичка → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/danmaps/gis-agent-skills.git /tmp/gis-agent-skills
mkdir -p .claude/skills
cp -r /tmp/gis-agent-skills/skills/kml-author .claude/skills/kml-author
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Kml Author в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Kml Author, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції Markdown, а не код для певного постачальника, тому навичка Kml Author не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож невикористана навичка нічого не коштує.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

KML Author

Author or refactor KML/KMZ for reliable geographic visualization. Prefer readable structure, shared styles, portable resources, and the simplest delivery pattern that fits the dataset.

Intent

Use KML as a visualization and delivery format, not as a substitute for a full GIS database. Produce KML that is understandable to a person, valid enough to test mechanically, and portable across the intended KML clients.

Inputs

  • task_description (string)
  • source_data (string, optional): layer, GeoJSON, feature class, existing KML/KMZ, or described features
  • layer_inventory (string, optional): layers to include, their geometry types, and any grouping or folder expectations
  • output_name (string, optional)
  • target_client (string, optional): Google Earth web, Google Earth Pro, ArcGIS, or general KML 2.x
  • delivery_mode (string, optional): kml, kmz, hosted_kml, network_link
  • scale_pattern (string, optional): small/static, large/static, frequently_updated, tiled_by_region
  • style_requirements (string, optional): desired visual outcome such as icons, colors, line weights, fills, folders, or highlight behavior
  • symbology_requirements (string, optional): compatibility constraints, acceptable simplifications, and renderer behaviors that must survive across target clients
  • popup_requirements (string, optional): fields, HTML, media, and what should or should not appear in descriptions
  • label_requirements (string, optional): whether labels are required, how they should behave, and any client-specific expectations
  • interaction_requirements (string, optional): popups, folders, time, tours, overlays, camera/view behavior
  • size_constraints (string, optional): feature count, expected file size, packaging limits, and performance concerns
  • constraints (string, optional)

If the target client is unknown, author conservative KML 2.x and flag client-specific extensions or behavior.

Required alignment pass

Before authoring, refactoring, or recommending structure, align with the user through a targeted QA pass. Keep it brief, but do not skip questions that affect portability, structure, or client behavior.

Confirm or ask about:

  1. which layers are included, what geometry type each layer uses, and whether they should stay separate or be grouped
  2. which KML clients must work and whether Google Earth, ArcGIS, or browser viewers all need acceptable behavior
  3. what the desired styling is, which symbology must survive export, what can be simplified, and whether a separate symbology compatibility check is needed before authoring
  4. what popup content should appear, which fields should be hidden, and whether HTML, media, or links are required
  5. whether labels are required, what text should label features, and how important client-specific label behavior is
  6. whether file size, feature count, responsiveness, offline use, or attachment bundling creates KML vs KMZ vs NetworkLink constraints
  7. whether refresh behavior, hosting, sharing, or update cadence matters
  8. any additional acceptance criteria that would change document hierarchy, styles, packaging, or validation

If those answers are missing or ambiguous, stop and ask instead of inventing requirements.

Authoring rules

1. Start with the document hierarchy

Use one root <kml> element and normally one <Document> beneath it. Inside the document:

  • group meaningful themes with <Folder>
  • give user-facing features clear <name> values
  • keep IDs stable when styles, updates, or external references depend on them
  • do not create folder nesting merely to mirror a source geodatabase

Prefer a hierarchy that helps a human browse the Places panel.

2. Reuse styles

For repeated symbology:

  • define shared <Style id="..."> or <StyleMap id="..."> elements once in the document
  • reference them with <styleUrl>#style-id</styleUrl>
  • use inline styles only for genuinely unique features
  • keep normal/highlight pairs in a StyleMap when rollover or selection behavior matters

Do not duplicate identical icon, line, polygon, or label styles on every Placemark.

3. Author geometry deliberately

KML coordinates are longitude, latitude, and optional altitude. Preserve that ordering.

Choose geometry intentionally:

  • <Point> for locations
  • <LineString> for routes and linear features
  • <Polygon> with explicit outer and inner rings for areas
  • <MultiGeometry> only when one logical feature truly contains multiple geometries
  • <GroundOverlay> for georeferenced raster imagery when appropriate

Specify altitude behavior only when it matters. Do not invent Z values. Be cautious with extrusion, tessellation, and client-specific altitude modes because display behavior varies by client.

4. Treat descriptions as UI

For <description> content:

  • keep the popup concise and readable
  • escape XML correctly or use CDATA when embedding HTML
  • avoid dumping every source field into a balloon
  • omit null, internal, or meaningless attributes
  • prefer human labels over raw database field names

If rich HTML depends on a particular client, call that out.

5. Choose KML versus KMZ intentionally

Use plain .kml when the document is small and has no bundled local resources.

Use .kmz when icons, images, overlays, models, or other local resources should travel with the document. For KMZ:

  • keep the primary KML at the archive root, conventionally doc.kml
  • use relative paths for bundled resources
  • avoid machine-specific absolute file paths
  • include only resources actually referenced by the KML
  • verify filename case and paths after packaging

6. Use NetworkLinks for separately managed or refreshed content

Use <NetworkLink> when content should be loaded from another KML/KMZ resource, maintained independently, refreshed, or subdivided for delivery.

When proposing a NetworkLink:

  • state the linked resource URL or relative path
  • define refresh/view-refresh behavior only when needed
  • avoid aggressive refresh intervals without a real operational requirement
  • keep authentication and hosting constraints explicit

Do not use NetworkLinks just to make a small static file more complicated.

7. Use Region + LOD for large hierarchical content

For large datasets, imagery, or regionated KML, consider <Region> with <LatLonAltBox> and <Lod> so content activates according to view extent and screen size.

When regionating:

  • define non-overlapping or intentionally overlapping geographic partitions
  • choose minLodPixels and maxLodPixels based on desired visibility, not arbitrary numbers
  • use parent/child NetworkLinks when progressive loading is needed
  • ensure the parent hierarchy still gives the user useful context while child content is unloaded

Do not recommend regionation for a few hundred lightweight static features unless testing shows a real performance problem.

8. Keep extensions isolated

Prefer portable OGC KML constructs. Use Google gx: extensions only when the requested behavior requires them and the target client supports them.

When an extension is used, identify:

  • why it is needed
  • the namespace declaration
  • the expected client dependency
  • a portable fallback when practical

Decision guide

Choose the simplest pattern that fits:

  • Small static dataset: one KML document with folders and shared styles
  • Static document with icons/images/models: KMZ with relative resources
  • Large geographic dataset: regionated KML/KMZ with Region + LOD, often loaded through NetworkLinks
  • Frequently updated hosted content: small entry KML containing one or more NetworkLinks
  • Client-specific experience: conservative core KML plus explicitly isolated extensions

Validation

Before returning a finished artifact or authoring plan, check:

  1. XML is well formed.
  2. The KML namespace is declared correctly.
  3. Coordinates use longitude,latitude[,altitude] and are within plausible bounds.
  4. Polygon rings are structurally valid and holes are represented as inner boundaries.
  5. Every local styleUrl resolves to an existing style or style map.
  6. Shared styles use unique IDs.
  7. NetworkLink targets are resolvable in the intended deployment context.
  8. Region bounds are sane and LOD values do not accidentally hide all content.
  9. KMZ resources use valid relative paths and are actually present in the archive.
  10. No credentials, tokens, private filesystem paths, or unintended internal attributes are embedded.
  11. The result is tested in the stated target client when client behavior matters.

When tooling is available, validate against an OGC KML schema or conformance checker in addition to opening the file in a viewer.

Output

Return the artifacts needed for the task, which may include:

  • complete KML XML ready to save
  • a KMZ packaging manifest and folder layout
  • a refactor plan for an existing KML/KMZ
  • shared style definitions
  • a NetworkLink + Region/LOD hierarchy
  • a concise validation report
  • client-compatibility notes and any assumptions

For generated KML, prefer a complete document over disconnected XML fragments unless the user explicitly asks for a fragment.

Example

User: “Build a KMZ for 20,000 inspection points. Use three status icons and keep Google Earth responsive.”

Output: Recommend shared status styles, geographic partitioning, child KML resources with Regions/LOD, a small root doc.kml containing NetworkLinks, a KMZ resource layout, and validation checks for coordinates, links, styles, and archive paths.

Related skills

  • Use /symbology-compat when converting ArcGIS symbology for Google Earth/KMZ delivery.
  • Use /agol-publish-checklist when the real destination is ArcGIS Online rather than KML delivery.
  • Use /analysis-readiness-check before authoring when geometry, CRS, nulls, or schema quality are uncertain.

Safety

Do not invent coordinates, source attributes, URLs, credentials, refresh requirements, or client capabilities. Preserve source geometry and semantics unless the user explicitly requests transformation. Flag behavior that depends on a specific KML client.

Файли в пакеті

Модель читає ці файли за потреби, поки навичку завантажено. Вони доступні для читання й ніколи не виконуються.

Поширені запитання

Що робить навичка ШІ Kml Author?

Author clean, portable KML/KMZ with deliberate structure, shared styles, links, regions, and validation

Навіщо використовувати Kml Author у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Kml Author — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Kml Author у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/danmaps/gis-agent-skills/tree/main/skills/kml-author. TypingMind прочитає файл SKILL.md, додасть супровідні файли та встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Kml Author?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Kml Author?

Зі скількома забажаєте. Якщо модель підтримує навички, ви можете використовувати з нею Kml Author — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama та інші — усе в TypingMind із власними ключами API.

Чи безкоштовна навичка ШІ Kml Author?

Навичку опубліковано на GitHub: danmaps. Умови ліцензування дивіться в репозиторії. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це багаторазовий набір інструкцій, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти для виклику — код, який десь виконується й повертає результат. Натомість навичка ШІ надає моделі знання та порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний ШІ-простір уже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇