/postman:ci-integrationfrom Postman
Adds Postman API tests, structural/governance lint, and AI-readiness gates to CI pipelines. Makes contract checks repeatable on every PR and publishes reviewed artifacts after merge.
Ships in Postman. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Versioned collections and specs let a PR carry its API checks beside the code change. CI reruns those checks independently of the author's session, while publishing after merge makes the reviewed contract available to teammates and future work. api-discovery helps identify consumers the gate should cover; the author's own passing tests do not establish cross-service compatibility.
Select checks by the guarantee they establish:
| Guarantee | Gate |
|---|---|
| Saved behavioral assertions pass | postman collection run <path-or-id> |
| A collection's structure/style is valid | postman collection lint <path> -f error |
| A spec meets workspace governance rules | postman spec lint <spec> --workspace-id <id> -f error |
| Workspace entities and bindings pass lint/governance | postman workspace lint --workspace-id <id> -f error |
| Agent consumability meets an agreed threshold | postman collection ai-readiness <path> --min-score <n> or the spec equivalent |
Collection lint does not apply organization governance. Workspace-aware
lint evaluates the rules available to that workspace; it does not author
the policy. Confirm the intended rules are configured before claiming
compliance. Read command-specific -h for installed options.
Keep gate results distinguishable so a failed build identifies behavior,
structure, governance, or readiness. Preserve nonzero exits; suppressing
them with -x/--suppress-exit-code removes the gate. A run of a local
collection under postman/collections/ supports only the cli reporter:
-r junit or -r html exits 1 without running anything. Keep its report
with --output <folder>, which writes a YAML run summary and per-request
executions to upload as a build artifact. --bail trades a complete
failure inventory for an earlier signal. See api-testing for assertion
semantics and ai-readiness for score limitations.
Restore declared dependencies with postman dependency install when tests
use them. Choose the target deliberately: a mock checks behavior under a
model, while a live run sends real requests and can write data. PR gates
should use a suitable isolated target and credentials; being a test does
not make the command read-only.
A data-driven gate should test the rows developers run locally, not a
separate copy made for CI. A committed dataset view
(--iteration-data-dataset <manifest> --iteration-data-view <view>)
reads the source files in the checkout, so a fixture change is tested
with no collection edit, and file datasets run signed out. Commit the
manifest with its sources, each --ref-only path made relative to the
manifest (source add records an absolute one). Prefer file fixtures to
a live database in PR gates: a database source needs a sign-in, a paid
plan and env:<NAME> credentials, read from POSTMAN_VAULT_<NAME> in
the CI secret store. A view with no rows still runs one iteration, so
check its row count. Use -d only for rows your own code computes at
run time; a CSV converted from Markdown or SQLite is still a dataset
source. See datasets.
Authenticate only jobs that need workspace resources. Use the CI secret
store to supply POSTMAN_API_KEY, then
postman login --with-api-key "$POSTMAN_API_KEY". A local-only gate can
run without it, but its run results are then lost: they stay in that job's
log instead of reaching the workspace, where teammates and later agent
sessions read them as evidence. Command-specific API-key flags are not a general replacement
for login across lint and push operations. Use workspaces for
unresolved bindings, and variables for request credentials.
Publish only the reviewed branch after its merge checks pass.
postman workspace push -y changes shared context; a PR-triggered push
would publish an unmerged contract. The normal prepare phase assigns IDs
to new entities, so --no-prepare can leave additions unpublished.
Inspect the intended diff and binding when configuring this job; -y
supplies noninteractive execution, not authorization for a different scope.
Use the default create/update strategy unless exact mirroring is the
explicit requirement. --push-strategy force-sync can delete workspace
entities absent from the checkout, including resources managed elsewhere.
Preview that push's diff and get its deletions approved before enabling it.
Validate the workflow's event conditions and secret references, then report which gates actually ran, their targets and individual results. Distinguish a locally checked workflow from an observed CI run. For publication, establish the merge trigger, push strategy, created/updated entities, and conflicts; a green job alone does not prove the intended artifacts became available.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
postman, ci-pipeline, api-testing, contract-testing, governance
20 skills in this plugin
/ai-readinessUse when assessing or improving how well AI agents can discover, call, and recover from errors with an API. Scores an existing Postman collection or OpenAPI spec and turns measured gaps into contract improvements; supports a separate CI readiness threshold. Use for requests such as "is this API ready for agents"./api-discoveryUse when finding an API or owner, integrating a public provider, locating Postman resources, or investigating consumers and change impact across services. Turns discovered contracts and mocks into reusable dependencies and identifies evidence outside the current checkout. Use for requests such as "who consumes this endpoint"./api-documentationUse when defining or improving an API contract, generating documentation from a collection or OpenAPI spec, publishing API docs, or sharing a documentation link. Makes auth, inputs, responses, and examples reusable by callers, tests, and mocks. Use for requests such as "publish API docs".npx claudepluginhub postmanlabs/postman-plugin --plugin postmanOther plugins' skills for the same job