Token导航 LogoToken导航TokenDH.com
开发需要联网github未标认证来源可访问许可证需确认审计异常

arazzo-writer阿拉佐作家

Agent Skill

arazzo-writer 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

216

周安装

9

GitHub Stars

公开资料未说明

下载量

72
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:arazzo-writer(阿拉佐作家)
来源仓库:https://github.com/steakfisher/arazzo-writer
仓库路径:skills/arazzo-writer
安装命令:
npx skills add https://github.com/steakfisher/arazzo-writer --skill arazzo-writer
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/steakfisher/arazzo-writer --skill arazzo-writer

简介

arazzo-writer 用于编写 Arazzo 格式的端到端 API 工作流。

  • 定义有序步骤、共享数据、断言规则与分支逻辑。
  • 补充 OpenAPI 规范,适用于集成测试与自动化流程生成。
  • 必须满足三项成功标准:文件存在、语法正确、逻辑完整。
  • 输出 YAML 文档可直接用于 Postman 或自动化测试平台。

SKILL.md

Arazzo Workflow Authoring Skill

Overview

Arazzo describes end-to-end API workflows: ordered steps, shared data, assertions, and branching. Use this skill for API testing scenarios, integration guides, or automation flows as reusable YAML documents that complement OpenAPI specs.


SUCCESS CRITERIA (MANDATORY)

An Arazzo file is ONLY considered complete when ALL three checks pass. Do not mark the task as done until all three succeed.

Check 1: File Exists

# Verify the .arazzo.yaml file was created
ls -la path/to/workflow.arazzo.yaml   # Linux/macOS
dir path\to\workflow.arazzo.yaml      # Windows

PASS: File exists with content (size > 0 bytes) FAIL: File not found or empty - create/write the file first

Check 2: YAML Syntax Valid

# Python (preferred)
python -c "import yaml; yaml.safe_load(open('path/to/workflow.arazzo.yaml'))"

# Node.js alternative
node -e "require('js-yaml').load(require('fs').readFileSync('path/to/workflow.arazzo.yaml', 'utf8'))"

PASS: No output (silent success, exit code 0) FAIL: YAML syntax error - fix indentation, quotes, colons, or structure

Check 3: OpenAPI Arazzo CLI Validation

# Validate with the openapi CLI
openapi arazzo validate path/to/workflow.arazzo.yaml

PASS: Exit code 0, no error messages printed FAIL: Fix ALL reported errors and re-run until it passes

Validation Workflow Summary

1. Create/edit the .arazzo.yaml file
2. Run file exists check (ls/dir)
3. Run YAML syntax check (python/node)
4. Run: openapi arazzo validate <file>
5. If any check fails, fix and re-run from that check
6. ONLY mark task complete when check 3 passes with ZERO errors

Reference Files

For detailed syntax and error solutions:


Document Structure

arazzo: 1.0.1
info:
  title: My Workflow Suite
  version: 0.1.0
sourceDescriptions:
  - name: myApi
    url: ./openapi.yaml  # or http://localhost:3000/swagger.json
    type: openapi
workflows:
  - workflowId: myWorkflow
    steps: [...]
    outputs:
      result: $steps.lastStep.outputs.value

Quick Reference

Workflow Fields

workflowId (required, unique), summary, inputs (JSON Schema), steps (required), outputs, dependsOn, parameters, successActions, failureActions

Step Fields

FieldNotes
stepIdRequired, unique per workflow
operationId / operationPath / workflowIdExactly ONE required
parametersMust include in for API calls
requestBodycontentType, payload, replacements
successCriteriaAssertions (ANDed together)
outputsRuntime expressions only (must start with $)

Critical Syntax Rules

operationPath Format

"{$sourceDescriptions.<name>.url}#/paths/~1<escaped-path>/<method>"

Path Escaping: / becomes ~1, ~ becomes ~0

# /api/users -> POST
operationPath: "{$sourceDescriptions.myApi.url}#/paths/~1api~1users/post"

# /articles/{slug} -> GET
operationPath: "{$sourceDescriptions.myApi.url}#/paths/~1articles~1{slug}/get"
parameters:
  - name: slug
    in: path
    value: $steps.create.outputs.slug

Common operationPath Errors:

# WRONG - missing json pointer
operationPath: "{$sourceDescriptions.api.url}/users"

# WRONG - using .name instead of .url
operationPath: "{$sourceDescriptions.api.name}#/paths/~1users/get"

# CORRECT
operationPath: "{$sourceDescriptions.api.url}#/paths/~1users/get"

JSONPath Syntax (RFC 9535)

Filter expressions must use: $[?(@.field op value)]

# WRONG - will cause validation errors
condition: $.user != null
condition: @.user != null
condition: $[?@.user != null]

# CORRECT
condition: $[?(@.user != null)]
condition: $[?(@.count >= 1)]
condition: $[?(@.status == 'active')]
condition: $[?(@.slug == $steps.create.outputs.slug)]

Output Values

Outputs must be runtime expressions starting with $. No literals allowed.

# WRONG - will fail validation
outputs:
  success: true
  valid: $statusCode == 200
  message: "completed"

# CORRECT
outputs:
  userId: $response.body#/user/id
  status: $statusCode
  location: $response.header.Location

Common Patterns

Success Criteria

successCriteria:
  - condition: $statusCode == 200
  - context: $response.body
    type: jsonpath
    condition: $[?(@.user != null)]

Failure Actions (Retry)

failureActions:
  - name: retryOnRateLimit
    type: retry
    retryAfter: 5
    retryLimit: 3
    criteria:
      - condition: $statusCode == 429

Request Body

requestBody:
  contentType: application/json
  payload:
    user:
      email: "{$inputs.email}"
  # Or use replacements:
  replacements:
    - target: /user/id
      value: $steps.create.outputs.userId

Data Flow Between Steps

# Step A exposes data
- stepId: createUser
  outputs:
    userId: $response.body#/id

# Step B consumes it
- stepId: getUser
  parameters:
    - name: id
      in: path
      value: $steps.createUser.outputs.userId

Reusable Components

components:
  parameters:
    authHeader:
      name: Authorization
      in: header
      value: "Bearer {$inputs.token}"

# Reference in steps:
parameters:
  - reference: $components.parameters.authHeader

Common Validation Errors

ErrorFix
operationPath must contain a json pointerUse #/paths/~1<path>/<method> format
operationPath must reference the urlUse .url not .name
invalid jsonpath expressionUse $[?(@.field op value)] format
expression must begin with $Outputs can't be literals like true
parameter missing 'in'Add in: path/query/header/cookie
exactly one of operationId, operationPath, workflowIdUse only ONE per step
missing required property: infoAdd info.title and info.version
reference could not be resolvedCheck operationId/workflowId spelling

Writing Process

  1. Define sourceDescriptions pointing to OpenAPI spec(s)
  2. Create workflow with workflowId and inputs schema
  3. Add steps with operationPath or operationId
  4. Define successCriteria assertions per step
  5. Wire data via outputs and $steps.X.outputs.Y
  6. Add error handling with failureActions
  7. Run Check 1: Verify file exists
  8. Run Check 2: YAML syntax validation
  9. Run Check 3: openapi arazzo validate
  10. Fix any errors and repeat checks until all pass

Working Without an OpenAPI Spec

# Option 1: Minimal local spec
sourceDescriptions:
  - name: myApi
    url: ./minimal-api.openapi.yaml
    type: openapi

# Option 2: Runtime swagger endpoint
sourceDescriptions:
  - name: myApi
    url: http://localhost:3000/swagger.json
    type: openapi

References

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.86%
按下载量换算27

Claude

30.51%
按下载量换算22

Cursor

16.38%
按下载量换算12

Gemini CLI

9.03%
按下载量换算7

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills