Przejdź do treści
Biblioteka skilli
Programowanie · Budowanie i kod

arazzo-workflow-authoring

/arazzo-workflow-authoring

Pisze, zmienia i przegląda przepływy Arazzo łączące wywołania API opisane w OpenAPI i naprawia zgłoszone problemy według reguł spectral.

Licencja
Apache-2.0
Ostatnia zmiana repozytorium
29.10.2026

Ocena i bezpieczeństwo

85/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść20 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 29.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

Co robi i kiedy

Pisze, zmienia i przegląda przepływy Arazzo łączące wywołania API opisane w OpenAPI i naprawia zgłoszone problemy według reguł spectral.

Oryginalny opis (EN)

Use when a developer wants to write, change, review or understand an Arazzo workflow (a *.arazzo.yaml or *.arazzo.json document chaining API calls described by OpenAPI) — open the Arazzo canvas, edit the workflow through its actions so the developer sees each change, and fix the problems it reports against the spectral:arazzo rules. Not for writing the OpenAPI descriptions themselves.

Jak działa

  1. Open it
  2. Edit through the canvas actions
  3. When the developer asks from the canvas
  4. Problems the canvas reports
Sekcje z nagłówków SKILL.md, w oryginale · 63 linii, 755 słów
Podgląd SKILL.md
---
name: arazzo-workflow-authoring
description: Use when a developer wants to write, change, review or understand an Arazzo workflow (a *.arazzo.yaml or *.arazzo.json document chaining API calls described by OpenAPI) — open the Arazzo canvas, edit the workflow through its actions so the developer sees each change, and fix the problems it reports against the spectral:arazzo rules. Not for writing the OpenAPI descriptions themselves.
---

# Authoring an Arazzo workflow with the canvas

The `arazzo` canvas shows an Arazzo document as a flow chart — inputs, steps in order, outputs —
with the values passed between steps, the retries, gotos and ends of each step, its YAML, and the
problems that keep it from passing the `spectral:arazzo` ruleset. The YAML text is what is saved:
an edit keeps the comments and the key order of the file. With autosave on (the default) each edit
is written at once; with autosave off it waits in a draft until saved. A change made to the file by
any other tool shows on the canvas.

## Open it

`open_canvas({ canvasId: "arazzo", instanceId: "arazzo-1", input: { ... } })`

| input | when |
|---|---|
| `path` | the document to open, relative to the workspace; created with one empty workflow when missing. Without it the canvas opens the first `*.arazzo.yaml` it finds. |
| `workflowId` | the workflow to show, or the id of the workflow a new document gets |
| `sources` | for a new document: the OpenAPI descriptions it calls, `[{ "name": "petstore", "url": "apis/petstore.yaml" }]`, `url` relative to the document |

## Edit through the canvas actions

Editing through the actions keeps the developer's canvas in step and refuses an edit that would
break the workflow, with a message saying why. Start with `get_workflow`: it returns the
workflows, the steps with their `slots` (the values they can send), the `problems`, the `sources`
(each API with its state), the `operations` the readable APIs offer, each named `source.operationId`,
and `save` (`dirty`, `autosave`, `savedAt`, `error`, `conflict`).

| goal | action |
|---|---|
| call an operation | `add_step { operation: "petstore.getPet", before?: "placeOrder" }` |
| reorder, remove | `move_step { stepId, to }`, `remove_step { stepId }` |
| give a step a value | `set_step_value { stepId, name, in, value }` — a fixed value or an expression such as `$inputs.status`; `clear_step_value { stepId, name, in }` stops sending it |
| take a value from the caller | `add_input { name, type }` then `link_data { from: { input }, to: { stepId, name, in } }` |
| pass a response value on | `set_step_output { stepId, name, expression: "$response.body#/id" }` then `link_data { from: { stepId, output }, to: { stepId, name, in } }` — only to a later step |
| check success | `add_success_criterion { stepId, condition: "$statusCode == 200" }` |
| retry, go to, end | `add_action { stepId, on: "failure", type: "retry", retryLimit: 3, retryAfter: 2 }`, `type: "goto", target`, `type: "end"` |
| give a result back | `add_workflow_output { name, stepId, output }` |
| APIs | `list_source_candidates` (the OpenAPI and Arazzo files of the workspace, relative to the document), `add_source { name, url }` (refused unless the file can be read), `remove_source { name }` (refused while a step calls it) |
| another workflow | `add_workflow { workflowId }`, `select_workflow` |
| saving | `save`, `undo`, `redo`, `set_autosave { on }` — the developer's autosave choice is remembered, change it only when asked |
| the text itself | `get_yaml`, `set_yaml { text }` — only for what no other action does (a description, a summary); the diagram shows the text once it parses |

`in` is `path`, `query`, `header`, `cookie` or `body` (a property of a JSON request body).

## When the developer asks from the canvas

A question asked in the canvas arrives as a message starting `About the Arazzo workflow …`, with
the step or workflow in JSON and its problems. Answer it, and when the answer is a change, make it
through the actions above so the developer watches it land on the diagram.

## Problems the canvas reports

Each problem has a `rule` of `spectral:arazzo` (`arazzo-document-schema`, `arazzo-step-validation`,
`arazzo-step-parameters-validation`, …), a `severity` (`error` or `warning`), the JSON `pointer` and
the `line` of what it is about, its `workflowId` and `stepId`, and a `message`. The problems listed
are those of the document and of the workflow shown; `otherWorkflows` counts those of the others.
Warnings ask for descriptions and summaries, a `type` on each API description, ids made of letters,
digits, `_` and `-`, and an `operationId` rather than an `operationPath`. A step calling an operation
of an API the canvas cannot read is not reported as an unknown operation: the API itself is. A
document with problems stays open and editable — fix them one by one, then `get_workflow` again
until `status` is `valid`.

Wersje

W bazie nie ma innych skilli o nazwie arazzo-workflow-authoring.

Migawka bazy z 13.11.2026 · wersja paczki 82b67af55abb (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100openapi-spec
    Pisze, generuje i recenzuje specyfikację OpenAPI 3.1 zgodną z implementacją: schematy, przykłady, błędy, uwierzytelnianie, paginacja, lintowanie Spectral i synchronizacja w CI.
  • 100generating-tests-from-openapi
    Generuje skrypty testów obciążeniowych k6 ze specyfikacji OpenAPI 3.0 lub 3.1 w formacie YAML albo JSON.
  • 100verify-api-contract
    Sprawdza zgodność implementacji HTTP z dokumentem OpenAPI i naprawia rozjazd po stronie kodu lub dokumentu.
  • 100openapi-to-typescript
    Konwertuje specyfikacje OpenAPI 3.0 w JSON lub YAML na interfejsy TypeScript i strażników typów, aby tworzyć typy API ze schematu.
  • 95api-documentation
    Prowadzi dokumentowanie API: specyfikację OpenAPI 3.x, portale dla deweloperów, docs-as-code, wersjonowanie i changelog.
  • 100api-docs
    Pisze dokumentację referencyjną lub specyfikację OpenAPI API na podstawie kodu źródłowego, np. listę endpointów i trasy.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.