git-backed-catalog
БесплатноБез исполняемых скриптовНе проверенCreate, maintain, or contribute to a Portolan catalog whose metadata is stored in a git repository, with CI that validates each change. Use when someone wants…
от portolan-sdi★ 15 звёзд на GitHubОб этом скилле
Git-Backed Portolan Catalogs
A git-backed catalog keeps its metadata in a repository and its data in object storage. The repository publishes the catalog. The bucket serves readers.
This pattern is useful for three reasons:
- Rollback. Git keeps every previous version of the catalog and the changes between them.
- A validation loop. CI runs
rashidon every pull request. Edit, validate, fix, and repeat until the checks pass. Scheduled checks run documented queries against published data. - A contribution path. Someone who finds a wrong license can open a pull request instead of hunting for a contact address.
See the git-backed catalogs guidance for the background and tradeoffs. The specification is ground truth. rashid implements it.
Pick the mode that matches what the user asked for.
Catalog navigation
Apply the navigation contract in the repository's generator and checks. Replace the template's root vcs and issues placeholders.
Mode A: create a new git-backed catalog
This path suits a catalog that takes contributions or needs rollback. If the user wants to convert a data source and publish it to a bucket, use the portolan-bootstrap skill instead.
Start from the template. It provides a stub catalog that passes rashid on the first commit, so CI is green before the catalog is populated.
gh repo create <owner>/<name> \
--template portolan-sdi/portolan-catalog-template \
--public --clone
cd <name>
Then work through SETUP.md in the new repository. It is authoritative. Do not improvise around it. Its ten steps are:
- Point
catalog.publish.yamlat your storage:write_prefix,public_base, andregion. - Name the catalog in
catalog/catalog.json:id,title, anddescription. - Rewrite
catalog/README.mdandcatalog/AGENTS.md. - Rewrite the repository
README.md. - Decide official or mirror. A mirror collection needs
providerswith theproducerandhostroles set correctly, avialink to the source (PORTO-CORE-053), andupdatedat each sync (PORTO-CORE-057). - Add a logo, optionally, as a root
rel: iconlink with an image media type (PORTO-CORE-075). - Replace the
TODO(setup)hrefs in thevcsandissueslinks the template provides. Both are absolute URLs, because the repository is outside the published catalog. - Add collections.
- Finish: no
TODO(setup)remains,python3 tests/run_all.pypasses,python3 tools/publish.pydry-runs clean. Then deletetests/test_setup.pyandSETUP.md. - Outside the
portolan-sdiorganization, remove.github/workflows/repo-checks.ymland theops-syncblocks.
These two guards stop you, and both are deliberate:
tests/test_setup.pyfails while the repository is half-edited. An untouched template passes, and so does a finished one.tools/publish.pyrefuses to upload while a sentinel value remains incatalog.publish.yaml. It checks before any AWS call, so this works without credentials.
Declare the current schema version
The pinned template declares https://schemas.portolan-sdi.org/portolan/v0.2.0/schema.json in catalog/catalog.json. Set the URI to https://schemas.portolan-sdi.org/portolan/v0.3.0/schema.json for a catalog targeting v0.3.0. See PORTO-CORE-006, PORTO-CORE-009, and PORTO-CORE-081 for schema and self link requirements.
Raise the validator floor in the gate
To use the pinned rashid 0.4.0, update tests/test_conformance.py: set MIN_VERSION = (0, 4, 0), MAX_VERSION = (0, 5, 0), and SPEC = "rashid>=0.4.0,<0.5.0". Install the same version locally and in CI:
python3 -m venv .venv
.venv/bin/pip install 'rashid>=0.4.0,<0.5.0'
.venv/bin/rashid --version
Adding a collection
Data files do not belong in git. Build them, upload them to the bucket, and write STAC that references them by public URL. The .gitignore already blocks common data formats.
Each collection directory contains collection.json, AGENTS.md, and README.md (PORTO-CORE-005). The AGENTS.md link is rel: agents and the README.md link is rel: describedby, both type: text/markdown (PORTO-CORE-061, PORTO-CORE-062). The root's child link has type: application/json and a title (PORTO-CORE-033, PORTO-CORE-039). An absolute asset href should use https (PORTO-CORE-023). A non-HTTPS absolute href needs an HTTPS alternate for the same data (PORTO-CORE-087).
Items are normative. A collection with more than one raster scene models each scene as an item in its own subdirectory (PORTO-CORE-015, PORTO-CORE-071). Commit that item JSON. A collection with many items also publishes items.parquet, registered as a collection asset with role collection-mirror (PORTO-FMT-040, PORTO-FMT-041).
Установить git-backed-catalog в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл git-backed-catalog?
Create, maintain, or contribute to a Portolan catalog whose metadata is stored in a git repository, with CI that validates each change. Use when someone wants to publish a catalog they can roll back and take pull requests on, or wants to fix metadata in someone else's catalog.
Как установить скилл git-backed-catalog?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл git-backed-catalog запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
ci-review
The scan that the plugin's GitHub Action runs.
от Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
от GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
от GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
от GitHub