metadata-and-catalogue
БесплатноБез исполняемых скриптовНе проверенOperate GeoNode metadata schemas, handlers, localization, catalogue/CSW publication, search filters, facets, and metadata-adjacent preview context without…
от lza6★ 19 звёзд на GitHubОб этом скилле
Metadata and catalogue
Use this sub-skill when a task edits, validates, localizes, indexes, searches, or
publishes resource metadata, or when a catalogue/search result does not match
expectations. It covers datasets and other ResourceBase resources. Route
upload mechanics and ordinary resource CRUD to resource-and-api; route
GeoServer publication, service URLs, styles, and permissions to
geoserver-and-security; route remote harvesting and worker recovery to
harvesting-and-admin.
Operating boundary
- Treat the metadata JSON Schema as the authoritative shape for the metadata editor/API instance. Do not invent a replacement ISO, FGDC, or Dublin Core schema.
- Treat the configured catalogue backend and its URL as separate service dependencies. A valid local document does not prove CSW availability.
- Treat required metadata annotations as editor guidance unless the active deployment adds a separate policy gate: the user guide says incomplete metadata remains usable.
- Never send credentials, mutate a remote catalogue, or run a network CSW helper from the bundled validator.
- External PostgreSQL/PostGIS, GeoServer, Redis/Celery, remote CSW/OGC endpoints, and browser services are prerequisites for corresponding live workflows and are not verified by this skill.
Route the request
- Identify the resource primary key or UUID and whether the request is about schema, one resource instance, XML import/export, catalogue transport, search, facets, or preview/style context.
- For schema/instance work, read metadata-reference.md.
- For CSW, OpenSearch, catalogue links, full-text search, or facets, read catalogue-and-search.md.
- For a supplied local JSON/XML file, run
scripts/validate-metadata.pyfirst; use explicit required fields when a deployment or task supplies them. - If the validator passes but a catalogue request fails, switch to the service-gate diagnosis in troubleshooting.md rather than changing the metadata blindly.
Metadata API workflow
- Discover the metadata endpoints from the API base:
GET /api/v2/metadata/returns schema and instance URL templates. - Fetch the localized schema with
GET /api/v2/metadata/schema/?lang=<2-letter>. Record the returnedproperties, top-levelrequired, eachgeonode:handler, and any autocomplete URL before constructing a payload. - Fetch an instance with
GET /api/v2/metadata/instance/<pk>/?lang=<lang>. Preserve object/array shapes and IDs returned by the server. - Use
PUTfor a complete instance orPATCHfor selected fields. A successful update returns HTTP 200; handler/save/index errors return HTTP 422 withmessageand nestedextraErrors. A missing resource is HTTP 404. - After saving, verify the response, re-fetch the instance, and check search or CSW only after the indexing/catalogue gates are known.
- For a declared custom field, use the sparse endpoint only when it is absent
from the declared schema:
PUT /api/v2/metadata/sparse/<pk>/<key>with{"value":"..."}. Values are strings or null and are limited to 1024 characters; schema-name collisions return HTTP 409.
Metadata, search, and preview handoff
- The default schema is ISO-19115-oriented and includes fields such as title, abstract, date/date type, category, language, license, attribution, regions, keywords, restrictions, temporal extent, maintenance frequency, and spatial representation. Exact type/cardinality comes from the live schema.
- Metadata values also feed generated ISO XML, catalogue
AnyText, resource indexes, resource information pages, relations, and discoverability. A thumbnail, map preview, or style is publication/visual context, not a substitute for title, abstract, extent, or keyword metadata. - For a styled dataset, verify the resource subtype and GeoServer/style gate separately. Keep metadata diagnosis focused on fields and catalogue/index state.
Verify and recover
- Validate local syntax and explicit fields before import. Keep the validator's exit status and messages with the task record.
- Compare schema, submitted instance, saved instance, generated metadata XML,
csw_anytext, and search/index results in that order. - On a failed update, use
extraErrorsto locate the field/handler; correct the payload and retry without resending unrelated fields. - On stale discovery, check index freshness and catalogue regeneration rather than declaring the source invalid. Use a deployment-approved regeneration command with a dry run or narrow ID filter before broad changes.
- Report unverified service gates explicitly. See troubleshooting.md for symptom-specific next steps and catalogue-and-search.md for filter semantics.
References and helper
- [Metadata reference](references/metada
Установить metadata-and-catalogue в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл metadata-and-catalogue?
Operate GeoNode metadata schemas, handlers, localization, catalogue/CSW publication, search filters, facets, and metadata-adjacent preview context without confusing data validation with service availability.
Как установить скилл metadata-and-catalogue?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл metadata-and-catalogue запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic