Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

catalog

БесплатноБез исполняемых скриптовНе проверен

Find, run, inspect, author, and promote Temporal Catalog examples in the temporalio/ui repository. Use when asked to add or change a workflow example, run the…

temporalioот temporalio★ 452 звезды на GitHub

Об этом скилле

Temporal Catalog

The Catalog is a local-development page in temporalio/ui for browsing and running Temporal workflow examples. Examples are declared in code, generated into artifacts the browser reads, and executed by a worker this repository starts.

The catalog is only reachable in local development. Every other environment returns 404.

Start here

pnpm catalog dev

This runs the UI and the catalog worker together and prints a banner with the catalog URL and each target's namespace and task queue. Open the URL it prints, which looks like:

http://localhost:3000/namespaces/default/catalog

pnpm dev is unaffected by the catalog and never starts a worker. To run the pieces separately, use pnpm dev in one terminal and pnpm catalog worker in another.

Commands

All catalog work goes through one command:

pnpm catalog help                     # list commands
pnpm catalog scaffold <example-id>    # create a local example
pnpm catalog generate                 # rebuild generated artifacts
pnpm catalog verify                   # check artifacts and boundaries
pnpm catalog promote <example-id>     # move a local example into the shared catalog
pnpm catalog demote <example-id>      # move a shared example back to the local catalog
pnpm catalog dev                      # UI plus worker
pnpm catalog worker                   # worker only

Both commands run the worker under Node's watch mode, so it restarts whenever a catalog module it loaded changes. Scaffolding, promoting, demoting, or editing an example reaches the running worker without stopping it.

promote and demote accept --dry-run to preview without moving anything.

Find an example

Examples appear in the catalog list, filterable by source. Two sources exist:

  • OSS — shared examples committed to this repository, under src/lib/catalog/worker/examples/<id>/.
  • Local — your own examples, under catalog.local/examples/<id>/. That directory is gitignored and never ships.

The generated src/lib/catalog/browser/catalog.generated.json lists every shared example with its capability tags, expected evidence, input schema, and any setup instructions. Read it to answer "what examples exist" without starting anything.

Add a local example

pnpm catalog scaffold order-lifecycle

This creates catalog.local/examples/order-lifecycle/ with example.ts and workflow.ts, regenerates artifacts, and prints where to see it. Edit those two files to shape the example. Scaffolding while the worker is running restarts it, so the new example is runnable without touching the terminal. Saving the files while pnpm catalog dev is running regenerates the catalog, reloads the browser, and restarts the worker; there is no manual step.

example.ts exports catalogExample, which declares the id, title, description, capability tags, expected evidence, input and start-option schemas, and the execution. Registration is validated: unknown fields, empty required strings, and non-serializable values are rejected at generation time with a message naming the example.

Run and inspect

Press Run on the example page. The page shows:

  • Readiness — whether a worker is polling the target task queue, plus any declared prerequisites. A missing worker is advisory and shows the exact command to start one; a missing declared prerequisite blocks only that example.
  • Runs — each attempt with its status, and an evidence link into the workflow history for inspecting what actually happened.

If a start fails, the page explains why rather than only saying it failed. "This server does not support that execution" usually means the running Temporal server is older than the feature the example needs.

Declared prerequisites

An example may declare Nexus endpoints it needs:

execution: {
  kind: 'workflow',
  workflowType: 'nexusGreeting',
  workflow: nexusGreeting,
  activities: {},
  nexusEndpoints: ['ui-catalog'],
  nexusServices: [greetingServiceHandler],
}

Each declared endpoint becomes a required readiness check. On a plaintext local connection the worker creates missing endpoints itself at startup. When it lacks authority — any credentialed connection, including Temporal Cloud — it prints the exact temporal operator nexus endpoint create command instead, and the UI shows the same command as copyable text.

For manual steps no check can verify, add setupMarkdown to the example. It renders as a Setup card on the example page and travels in the generated artifact, so agents read the same guidance a person sees.

Promote a local example into the shared catalog

Promotion is deliberate and never automatic:

pnpm catalog promote order-lifecycle --dry-run
pnpm catalog promote order-lifecycle

This moves catalog.local/examples/<id>/ to src/lib/catalog/worker/examples/<id>/, then regenerates and verifies. After promoting, the example is committed to the repository and ships to ev

Полный SKILL.md на GitHub

Установить catalog в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл catalog?

Find, run, inspect, author, and promote Temporal Catalog examples in the temporalio/ui repository. Use when asked to add or change a workflow example, run the catalog locally, debug a catalog example that will not start, promote a local example into the shared catalog, or explain how catalog namespaces, task queues, and prerequisites are configured.

Как установить скилл catalog?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл catalog запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить catalog с