Skip to content
Skill

Collection schema v3

Guides writing and debugging Postman v3 collection, environment and globals YAML files

Collection schema v3 is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
49
Last commit
License
Apache-2.0
Listing updated

Similar skills

About Collection schema v3

This skill helps an agent edit Postman v3 local files stored in Git, where each request, folder definition, example and environment is its own YAML file. It explains which entity owns a given change, so edits stay scoped to one request or folder and inherited auth, variables and scripts are not copied into every request.

The skill points the agent to per-entity reference pages for HTTP requests and examples, environment files, other protocols and globals files, since each request kind has different URL, body, script and settings shapes. It covers YAML typing details such as quoting variables and block scalars for JSON bodies, keeping ordering values and filenames portable, and checking examples paths when a request is renamed.

Verification uses the Postman CLI lint commands for collections, environments and workspaces, with guidance on reading warnings for unrecognised fields and reviewing diffs before accepting automatic fixes. It also describes running changed requests and checking that script changes actually executed. Working with it requires the Postman CLI and a local v3 collection directory.

When your agent uses it

Use when writing or debugging local Postman v3 collection, environment or globals files, including collection lint failures, or when changing a v2.1 collection export (`*.postman_collection.json`), which is migrated to v3 first. Preserves the per-entity files, inherited context, and schema shapes that make API changes reusable and reviewable in Git. Use for requests such as "fix this request YAML".

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 5 files (33 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the postman plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add postmanlabs/postman-plugin
/plugin install postman@postman

Or copy only this skill to ~/.claude/skills/collection-schema-v3:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/postmanlabs/postman-plugin.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/collection-schema-v3 &&
cp -R "$tmp/agent-plugin/skills/collection-schema-v3" ~/.claude/skills/collection-schema-v3 &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/collection-schema-v3 inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/collection-schema-v3 to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/postmanlabs/postman-plugin.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/collection-schema-v3 &&
cp -R "$tmp/agent-plugin/skills/collection-schema-v3" ~/.agents/skills/collection-schema-v3 &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/collection-schema-v3 inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/collection-schema-v3 to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/postmanlabs/postman-plugin.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/collection-schema-v3 &&
cp -R "$tmp/agent-plugin/skills/collection-schema-v3" ~/.cursor/skills/collection-schema-v3 &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/collection-schema-v3 inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/postmanlabs/postman-plugin.git --path agent-plugin/skills/collection-schema-v3

Or copy the folder to ~/.gemini/skills/collection-schema-v3 yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/collection-schema-v3:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/postmanlabs/postman-plugin.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/collection-schema-v3 &&
cp -R "$tmp/agent-plugin/skills/collection-schema-v3" ~/.copilot/skills/collection-schema-v3 &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/collection-schema-v3 inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/postmanlabs/postman-plugin.git

Then copy postman-plugin/agent-plugin/skills/collection-schema-v3 into your agent's skills folder as collection-schema-v3. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Per-entity file layout
Explains which YAML file holds requests, folder definitions, examples and environment data.
Inherited context handling
Keeps auth, variables and scripts in shared folder and collection definitions rather than repeating them.
YAML type preservation
Covers quoting variables and block scalars for JSON bodies to avoid wrong field types.
Protocol-specific references
Points to separate reference pages for HTTP, environment, other protocols and globals.
Lint and workspace checks
Describes postman collection lint and workspace lint usage and how to read their warnings.
Script verification guidance
Advises confirming that changed scripts ran and that assertion counts match expectations.

Good for

  • Fix a request YAML file that fails collection lint
  • Add a new example response to an existing request
  • Change an environment variable without touching other requests
  • Rename a request and update its examples path
  • Debug an unrecognised field warning in a Postman collection

Collection schema v3 FAQ

What does Collection schema v3 need to run?

It relies on the Postman CLI for the lint commands, and it works on a local Postman v3 collection directory stored in Git.

When does Collection schema v3 trigger?

It is meant for writing or debugging local Postman v3 collection, environment or globals files, including lint failures, and requests such as fixing request YAML.

Does Collection schema v3 change inherited auth or variables?

It instructs the agent to preserve inherited auth, variables and scripts in collection or folder definitions instead of copying them into each request.

How do I install Collection schema v3 in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/collection-schema-v3 to use it in all your projects, or to .claude/skills/collection-schema-v3 in one project. Or install the postman plugin, which includes it: /plugin marketplace add postmanlabs/postman-plugin, then /plugin install postman@postman.

Does Collection schema v3 run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Collection schema v3?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Collection schema v3?

The closest alternatives to Collection schema v3 are Postman collection generator, Postman collections, Variables, Postman openapi converter and Postman test script generator.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from postmanlabs/postman-plugin

  1. Guides an agent through wiring a new vendor plugin route into the Postman plugin repo

    • Open source
    • 49 GitHub stars
    • Developer tools
  2. Walks an agent through cutting and publishing npm releases of the Postman plugin installer

    • Open source
    • 49 GitHub stars
    • Developer tools
  3. Scores how well an API contract lets AI agents discover, call and recover from errors

    • Open source
    • 49 GitHub stars
    • Developer tools
  4. Finds existing API contracts, mocks and consumers so agents reuse them instead of guessing

    • Open source
    • 49 GitHub stars
    • Developer tools
  5. Keeps API contracts, examples and published docs accurate for callers, tests and mocks

    • Open source
    • 49 GitHub stars
    • Developer tools
  6. Guides an agent through multi-step HTTP API work using Postman skills and shared contracts

    • Open source
    • 49 GitHub stars
    • Legal and government