openapilinter
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 "openapilinter" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-0685aa66b33da6910890cc6019942ca2cfe0e283a5039824c0ef7d0808ea9f9f. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/openapi-spec-linter-docs-generator 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
Validate OpenAPI 3.x specifications with the Spectral ruleset, generate interactive API documentation using Redoc and Swagger UI, and detect breaking changes in versioned APIs with oasdiff.
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
Frontmatter
name: "OpenAPI 规范 Linter & 文档生成器"
slug: "openapi-spec-linter-docs-generator"
version: "1.0.0"
displayName: "OpenAPI 规范 Linter & 文档生成器"
summary: "使用 Spectral 规则集验证 OpenAPI 3.x 规范,并使用 Redoc 和 Swagger UI 生成交互式 API 文档。使用 oasdiff 检测版本化 API 的破坏性更改。"
license: "MIT"
description: "使用 Spectral 规则集验证 OpenAPI 3.x 规范,并使用 Redoc 和 Swagger UI 生成交互式 API 文档。使用 oasdiff 检测版本化 API 的破坏性变更。"
github_stars: 3084
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
category: "Library & API Reference"
framework: "Claude Agents"
tool_ecosystem:
github_repo: "1991513ccie-png/skills"
github_stars: 3084
npm_package: "@stoplight/spectral-cli"
npm_weekly_downloads: 1201267OpenAPI 规范 Linter & 文档生成器
Validates OpenAPI 3.x specifications using Spectral rulesets and generates interactive API documentation with Redoc and Swagger UI. Detects breaking changes using oasdiff for versioned APIs.
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:
-
💻 Usage
-
To get started, run this command in your terminal to create a .spectral.yaml file that uses the Spectral predefined rulesets based on OpenAPI, Arazzo or AsyncAPI:
-
Extracted from upstream docs: https://raw.githubusercontent.com/stoplightio/spectral/HEAD/README.md
Documentation
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供 OpenAPI 规范验证、交互式文档生成和破坏性变更检测的完整解决方案
- 面向 API 开发者的实用工具,具有明确的工程价值
Highlights
- description 清晰描述了三大核心功能,触发词覆盖完整
Areas to improve
-
缺少 When to Use 和详细示例章节 Reported severity: Minor
文档缺少明确的使用场景说明和端到端操作示例
Recommendation: 建议补充 When to Use 章节和完整的操作示例,帮助用户快速上手
Highlights
- frontmatter 信息完整,包含必要的元数据
Areas to improve
-
异常处理覆盖不足 Reported severity: Minor
未说明网络错误、文件不存在等常见异常的处理方式
Recommendation: 建议补充常见异常场景的处理建议和错误排查指南
Highlights
- 工具来源明确,使用官方推荐的安装方式
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
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.
User discussion
No verified reviews yet.