Ai Readiness

作者 postmanlabs67cff8f385d8无许可证收录于 2026年10月8日更新于 2026年10月8日

Scores a Postman collection or an OpenAPI spec for how well an AI agent can discover, understand, call, and recover from errors with it — missing examples, undocumented errors, and ambiguous parameters all cost points. Use when the user asks "is my API agent-ready," "can AI agents use my API," "how agent-friendly is my API," or wants to scan, score, or improve a collection or spec for AI/agent consumption. Covers `postman collection ai-readiness` and `postman spec ai-readiness`.

AI 生成的概览

为 Postman 集合或 OpenAPI 规范评分,衡量 AI 智能体发现、理解、调用和从错误中恢复的难易程度。

功能
该技能说明如何对 Postman 集合或 OpenAPI 规范运行 Postman AI 就绪度检查,分别使用 collection ai-readiness 或 spec ai-readiness 命令。它介绍命令输出的就绪度分数与等级(Limited、Fair、Good、Excellent)以及置信度,并说明如何解读。它还涵盖如何报告所用命令、评分目标、输出模式以及设置最低分数时的退出码,并建议提供带最低分数保证的 CI 检查。
适用场景
当用户询问其 API 是否已为智能体就绪、AI 智能体能否使用其 API,或 API 对智能体的友好程度时使用。也适用于要求扫描、评分或改进集合或规范以便 AI 或智能体使用的场景。
运行要求
需要 Postman CLI 的 collection ai-readiness 和 spec ai-readiness 命令,以及一个目标 Postman 集合或 OpenAPI 规范,可通过云端 ID 或本地文件路径指定。该技能不附带脚本,仅为说明文档。它引用了 collection-schema-v3 和 ci-integration 技能。

AI Readiness

Overview

An "agent-ready" API is one that an AI agent can discover, understand, call correctly, and recover from errors without human intervention. Most APIs aren't there yet.

Two ways to run this check, same rubric family, different target — pick by what exists:

  • collection ai-readiness <collectionId/path> scores a Postman collection — by cloud ID, local file path, or a postman/collections/<name> local-mode directory.
  • spec ai-readiness <spec> scores an OpenAPI specification directly — by cloud ID or local file path — with no collection involved at all.

Scoring

The command computes and prints the score itself — read the fields it gives you, don't recompute them:

  • readiness (score 0-100 + bucket) is the headline number. Buckets, low to high: Limited → Fair → Good → Excellent.
  • confidence (high/medium/low) says how many signals it could actually measure vs. had to mark unknown — a data-quality caveat, not part of the score.

Interpreting Results

Report the bucket, score, and confidence the command actually printed — don't infer a percentage band. Doc coverage is a modifier via its adjustment, not a separate gate; call it out by name when it's low, since recommendations flag that first. Also state which verb ran (collection vs. spec ai-readiness), which target was scored (local path vs. cloud ID), the output mode, and — if --min-score was set — the resulting exit code, not just "it passed."

You can ask user if they would like to set this check with a min score guarantee to run on their CI.

Reference

  • collection-schema-v3 skill — what saved examples and descriptions look like in the git-synced format this command reads.
  • ci-integration skill — where --min-score fits as a pipeline gate alongside spec lint/collection lint/workspace lint.

来源与署名

来源:postmanlabs/postman-plugin位于skills/ai-readiness提交67cff8f

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架

更多来自 postmanlabs/postman-plugin 的技能

Performance Testing

postmanlabs

使用虚拟用户、负载配置和通过/失败阈值运行 Postman 集合负载测试。

Software Development2026年10月8日

Flows

postmanlabs

通过命令行操作 Postman Flows:列出、运行、触发、部署、更新并调试流程及其运行记录。

DevOps & Cloud2026年10月8日

Ci Integration

postmanlabs

将 Postman CLI 检查作为独立的通过/失败门禁加入 CI 流水线。

DevOps & Cloud2026年10月8日

Api Testing

postmanlabs

Runs tests against an API from the command line — a single ad-hoc request, a full collection of pm.test assertions, or matching real captured app traffic against a collection contract. Use when the user asks to "test this endpoint," "run this collection," "check the API still works," or "verify my app's requests match the contract." Covers `postman request`, `postman collection run`, and `postman application test`. Depends on bootstrap when the target is a cloud collection or workspace-bound environment; a bare URL or local collection needs nothing from bootstrap.

待分类2026年10月8日

Api Monitoring

postmanlabs

Creates, schedules, and manages Postman Monitors — recurring checks against a live API — triggers ad hoc runs, inspects job/run history to diagnose failures, and hosts self-hosted execution runners for monitors on a private network. Use when the user asks to "set up a monitor," "run this monitor now," "check monitor results," "pause/resume a monitor," or "set up a runner for our internal APIs." Covers `postman monitor` (create, update, delete, list, get, pause, resume, run, jobs, runs) and `postman runner` (start, list, regions).

待分类2026年10月8日

Api Mocking

postmanlabs

在本地或云端创建并运行模拟 API 后端,支持场景与状态码覆盖以便测试。

Software Development2026年10月8日