openapiasyncapilinter

Spectral: an open-source JSON/YAML linter by Stoplight with built-in support for OpenAPI 3.x, Swagger 2.0, AsyncAPI 2.x, and Arazzo 1.0. Enforces API style guides via custom and prebuilt rule sets to ensure consistency of API descriptions.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "openapiasyncapilinter" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-fb83e0d0ed9b7fd5a37a2a89f07a14b51554d6fce86ac2657d09b04b5b235efa. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/spectral-openapi-asyncapi-linter before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Spectral: an open-source JSON/YAML linter by Stoplight with built-in support for OpenAPI 3.x, Swagger 2.0, AsyncAPI 2.x, and Arazzo 1.0. Enforces API style guides via custom and prebuilt rule sets to ensure consistency of API descriptions.

0 Downloads

Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
Not specified in the source documentation.
Inputs and outputs
Not specified in the source documentation.
Software, accounts and paid services
Not specified in the source documentation.
Limits and differences
Not specified in the source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: "光谱 OpenAPI 和 AsyncAPI Linter"
slug: "spectral-openapi-asyncapi-linter"
version: "1.0.0"
displayName: "光谱 OpenAPI 和 AsyncAPI Linter"
summary: "Spectral 是由 Stoplight 开发的开源 JSON/YAML linter,内置支持 OpenAPI 3.x、Swagger 2.0、AsyncAPI 2.x 和 Arazzo 1.0。它通过自定义和预构建的规则集强制执行 API 风格指南,确保所有 API 描述的一致性。"
license: "MIT"
description: "Spectral 是由 Stoplight 开发的开源 JSON/YAML linter,内置支持 OpenAPI 3.x、Swagger 2.0、AsyncAPI 2.x 和 Arazzo 1.0。它通过自定义和预构建的规则集强制执行 API 风格指南,确保所有 API 描述的一致性。"
github_stars: 3057
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
category: "Code Quality & Review"
framework: "Claude Code"
tool_ecosystem:
  github_repo: "1991513ccie-png/skills"
  github_stars: 3057
  npm_package: "@stoplight/spectral-cli"
  npm_weekly_downloads: 1201267

光谱 OpenAPI 和 AsyncAPI Linter

Spectral is an open-source JSON/YAML linter by Stoplight with built-in support for OpenAPI 3.x, Swagger 2.0, AsyncAPI 2.x, and Arazzo 1.0. It enforces API style guides through custom and pre-built rulesets, ensuring consistency across all your API descriptions.

Installation

Use the upstream install or setup path that matches your environment:

  • npm install -g @stoplight/spectral-cli
  • yarn global add @stoplight/spectral-cli

Basic usage or getting-started notes:

Documentation

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value75/100

Highlights

  • 提供 OpenAPI/AsyncAPI 规范校验能力,适用于开发者确保 API 描述一致性
  • 集成主流包管理工具安装路径,便于快速上手
Trigger Precision60/100

Areas to improve

  • 触发条件不明确 Reported severity: Minor

    未明确说明用户应如何触发 linter(如输入文件路径、YAML/JSON 内容等)

    Recommendation: 在 description 或 usage 中补充触发条件和输入格式说明

Structure and Standards65/100

Areas to improve

  • 缺少端到端示例 Reported severity: Minor

    Usage 章节未提供具体命令示例或输出结果展示

    Recommendation: 添加完整的使用示例,包括命令、输入文件和预期输出

  • 文档结构不完整 Reported severity: Minor

    缺少参数说明、错误处理、自定义规则配置等重要章节

    Recommendation: 补充详细的参数说明和配置指南

Execution Reliability60/100

Areas to improve

  • 执行细节缺失 Reported severity: Minor

    未说明如何调用 linter、如何处理错误输出、是否支持自定义规则等

    Recommendation: 补充完整的执行流程和错误处理说明

Evidence Verifiability (mean of the first four)65/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

  • Install or fetch external dependencies

    Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.

    Mentioned in main document · lines 29
Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • docs.stoplight.io
  • github.com
  • raw.githubusercontent.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Not specified in the source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.