You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Commands** (`commands/*.md`): YAML front matter with `description` and `allowed-tools`. Each defines a structured workflow invoked as `/postman:<name>`.
33
33
- MCP commands: setup, sync, search, test, mock, docs, security, learn (learn requires Full mode — `searchLearningCenter` is absent in `minimal`/`code`)
**Skills** (`skills/*/SKILL.md`): YAML front matter with `name`, `description`, `user-invocable`. Auto-injected context, not directly invoked. `postman-knowledge` provides MCP tool guidance; `agent-ready-apis` provides readiness criteria; `postman-cli` provides CLI and git sync file structure knowledge; `postman-context` provides API discovery, exploration, and code generation from real API definitions.
37
37
@@ -51,12 +51,16 @@ These are documented in `skills/postman-knowledge/mcp-limitations.md` and must b
51
51
52
52
## Postman CLI Commands
53
53
54
-
Three commands use the Postman CLI instead of MCP. They require `postman-cli` installed locally (`npm install -g postman-cli`) and authenticated (`postman login`). If CLI is not found, show install instructions and stop.
54
+
Several commands use the Postman CLI instead of MCP. They require `postman-cli` installed locally (`npm install -g postman-cli`) and authenticated (`postman login`). If CLI is not found, show install instructions and stop.
55
55
56
56
-`/postman:request` — Send HTTP requests via `postman request <METHOD> <URL>`
57
57
-`/postman:generate-spec` — Scan code for API routes, generate OpenAPI 3.0 YAML, validate with `postman spec lint`
58
58
-`/postman:run-collection` — Run collection tests via `postman collection run <id>` using cloud IDs from `.postman/resources.yaml`
59
59
-`/postman:context` — Discover, explore, and install APIs via `postman context`. Searches Postman's API network, fetches real API definitions, and generates client code from them.
60
+
-`/postman:list-flows` — List flows in a workspace and resolve a flow name to its 24-char ID via `postman flows list`
61
+
-`/postman:trigger-flow` — Trigger a deployed flow via `postman flows trigger`, with a deploy-then-trigger fallback when the flow isn't deployed
62
+
-`/postman:deploy-flow` — Deploy a flow to make it triggerable via `postman flows deploy` (proposes and confirms a trigger path first)
63
+
-`/postman:get-flow-run` — Inspect a run by Run ID via `postman flows get-run` (per-block logs, failing block, status)
60
64
61
65
CLI commands work with Postman's git sync structure: `postman/collections/` (v3 folder format), `postman/environments/`, `postman/specs/`, and `.postman/resources.yaml` for cloud ID mapping.
description: Deploy a Postman Flow so it becomes triggerable, proposing and confirming a trigger path
3
+
allowed-tools: Bash, Read
4
+
---
5
+
6
+
Deploy a Postman Flow using the Postman CLI. Follow the `deploy-flow` skill.
7
+
8
+
## Inputs (from the user's message)
9
+
- The flow (a 24-char ID, or a name to resolve via `list-flows`)
10
+
- Optionally a desired trigger path and whether auth is required
11
+
12
+
## Steps
13
+
1. Resolve the flow ID (use `list-flows` if given a name; ask for the workspace if unknown).
14
+
2. Propose a trigger path derived from the flow name (e.g. "Checkout" → `/checkout`) and **confirm the path + the deploy action** with the user — deploy is mutating and MUST NOT run without explicit confirmation.
15
+
3. Show the command, then run it after confirmation:
description: List Postman Flows in a workspace and resolve a flow name to its 24-character ID
3
+
allowed-tools: Bash, Read
4
+
---
5
+
6
+
List Postman Flows in a workspace using the Postman CLI. Follow the `list-flows` skill.
7
+
8
+
## Inputs (from the user's message)
9
+
- The workspace ID (ask if unknown)
10
+
- Optionally a name/pattern to filter by
11
+
12
+
## Steps
13
+
1. Ensure you have a workspace ID; ask which workspace if not.
14
+
2. Run:
15
+
```bash
16
+
POSTMAN_CLI_SOURCE=claude-code-plugin postman flows list --workspace <workspaceId>
17
+
```
18
+
Narrow with `--filter "<name>"` when resolving a specific flow; use `--sort name` / `--paginate` as needed.
19
+
3. Report flow **names + IDs** (and recent status where shown). When resolving a name for another action, return the single matching ID, or present candidates and ask the user to choose on multiple matches — never guess.
20
+
21
+
Read-only: no confirmation needed. Prefix CLI calls with `POSTMAN_CLI_SOURCE=claude-code-plugin`. Reuse existing `postman login` credentials.
4. Report the **Run ID**, **HTTP status**, and **response body**.
21
+
5. If not deployed → explain and **offer to deploy** (via `deploy-flow`, explicit confirmation required), then re-trigger. If the trigger is disabled → offer `postman flows update <flowId> --trigger on` (confirm), then trigger.
22
+
6. On a non-2xx response → surface status + body and offer `get-flow-run --run-id <id>` for per-block detail.
23
+
24
+
Always prefix CLI calls with `POSTMAN_CLI_SOURCE=claude-code-plugin`. Reuse existing `postman login` credentials — never authenticate twice. Confirm before any mutating action (deploy, enable trigger).
description: Deploy a Postman Flow so it becomes triggerable, using the Postman CLI. Use when the user wants to deploy, publish, or make a flow callable, or when trigger-flow found an undeployed flow and the user confirmed.
4
+
---
5
+
6
+
You are a Postman Flows assistant that deploys Flows using the Postman CLI. Deploying makes a flow triggerable and returns its **Trigger URL**.
- whether the **trigger is enabled**. If the CLI notes the trigger is off, tell the user and offer to enable it:
44
+
```bash
45
+
POSTMAN_CLI_SOURCE=claude-code-plugin postman flows update 12345-67890-abcdef --trigger on
46
+
```
47
+
(enabling is also a state change → confirm first).
48
+
49
+
Example report:
50
+
```
51
+
Deployed the Checkout flow.
52
+
Trigger URL: https://<host>/checkout
53
+
Trigger: enabled
54
+
```
55
+
56
+
## Step 4: Hand back to trigger (if part of deploy-then-trigger)
57
+
58
+
If deploying was requested so the user could run the flow, hand control back to the `trigger-flow` skill to fire it and report the Run ID + status + response — completing the deploy-then-trigger journey in one conversation.
59
+
60
+
---
61
+
62
+
Read `references/flows-cli-baseline.md` for CLI prefixing, credential reuse, and error handling rules.
63
+
64
+
Deploying and enabling a trigger are mutating actions — confirm with the user before running. On a path conflict, surface the CLI message and propose an alternative path.
description: Inspect a Postman Flow run by Run ID using the Postman CLI — per-block logs, failing block, and status. Use when a trigger returned a non-2xx or the user asks why a run failed.
4
+
---
5
+
6
+
You are a Postman Flows assistant that inspects Flow runs using the Postman CLI.
description: List Postman Flows in a workspace using the Postman CLI, and resolve a flow name to its 24-character ID. Use when the user asks which flows they have, or when another skill needs to resolve a flow name to an ID before deploying or triggering.
4
+
---
5
+
6
+
You are a Postman Flows assistant that lists Flows and resolves flow names to IDs using the Postman CLI.
7
+
8
+
## The command this wraps
9
+
10
+
```bash
11
+
POSTMAN_CLI_SOURCE=claude-code-plugin postman flows list --workspace <workspaceId> [options]
12
+
```
13
+
14
+
Options:
15
+
-`-w, --workspace <workspaceId>` — **required**
16
+
-`-f, --filter <pattern>` — filter by name (name prefix or regex)
0 commit comments