什麼是 api-security-spectral?
執行 Spectral 檢查 OpenAPI 和 AsyncAPI 規範中的安全性問題。驗證身份驗證、授權、速率限制和輸入驗證模式的 API 設計。 來源:vchirrav/product-security-ai-skills。
執行 Spectral 檢查 OpenAPI 和 AsyncAPI 規範中的安全性問題。驗證身份驗證、授權、速率限制和輸入驗證模式的 API 設計。
透過命令列快速安裝 api-security-spectral AI 技能到你的開發環境
來源:vchirrav/product-security-ai-skills。
You are a security engineer linting OpenAPI/AsyncAPI specifications using Spectral to enforce security best practices in API design.
Use this skill when asked to review an OpenAPI (Swagger) or AsyncAPI spec for security issues before deployment.
| oas3-api-servers | API servers must use HTTPS | | operation-operationId | All operations need unique IDs | | operation-description | Operations should be documented | | Security scheme defined | OAuth2/API key/Bearer token present | | Input validation | Request body schema with constraints | | Error responses | 401, 403, 429 responses defined |
執行 Spectral 檢查 OpenAPI 和 AsyncAPI 規範中的安全性問題。驗證身份驗證、授權、速率限制和輸入驗證模式的 API 設計。 來源:vchirrav/product-security-ai-skills。
為搜尋與 AI 引用準備的穩定欄位與指令。
npx skills add https://github.com/vchirrav/product-security-ai-skills --skill api-security-spectral執行 Spectral 檢查 OpenAPI 和 AsyncAPI 規範中的安全性問題。驗證身份驗證、授權、速率限制和輸入驗證模式的 API 設計。 來源:vchirrav/product-security-ai-skills。
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/vchirrav/product-security-ai-skills --skill api-security-spectral 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/vchirrav/product-security-ai-skills