# Collection schema v3

> Collection schema v3 is an open-source agent skill for developer tools. Guides writing and debugging Postman v3 collection, environment and globals YAML files. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/postmanlabs/postman-plugin/tree/main/agent-plugin/skills/collection-schema-v3
- **Repository:** https://github.com/postmanlabs/postman-plugin
- **GitHub stars:** 49
- **License:** Apache-2.0
- **Skill name:** collection-schema-v3
- **Collection:** https://github.com/postmanlabs/postman-plugin
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

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".

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/postmanlabs/postman-plugin/tree/HEAD/agent-plugin/skills/collection-schema-v3)
- [License: Apache-2.0](https://github.com/postmanlabs/postman-plugin/tree/HEAD/agent-plugin/skills/collection-schema-v3)

## Features

- **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

## Install

### Claude Code

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

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

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

```sh
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.

### Codex

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

```sh
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.

### Cursor

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

```sh
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.

### Gemini CLI

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

```sh
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.

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [Postman collection generator](https://ai-powered.com/skills/postman-collection-generator): Postman collection generator is an open-source agent skill for developer tools.
- [Postman collections](https://ai-powered.com/skills/postman-collections): Postman collections is an open-source agent skill for developer tools.
- [Variables](https://ai-powered.com/skills/variables): Variables is an open-source agent skill for developer tools.
- [Postman openapi converter](https://ai-powered.com/skills/postman-openapi-converter): Postman openapi converter is an open-source agent skill for developer tools.
- [Postman test script generator](https://ai-powered.com/skills/postman-test-script-generator): Postman test script generator is an open-source agent skill for developer tools.
- [Postman MCP server](https://ai-powered.com/skills/postman-mcp-server-postmanlabs): Postman MCP server is an open-source agent skill for developer tools.
- [API testing](https://ai-powered.com/skills/api-testing): API testing is an open-source agent skill for developer tools.
- [Newman script helper](https://ai-powered.com/skills/newman-script-helper): Newman script helper is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/collection-schema-v3
