Skip to content

Add Postman Flows CLI skills and slash commands - #16

Open
romulo-nascimento wants to merge 3 commits into
mainfrom
003-flow-skills
Open

Add Postman Flows CLI skills and slash commands#16
romulo-nascimento wants to merge 3 commits into
mainfrom
003-flow-skills

Conversation

@romulo-nascimento

Copy link
Copy Markdown
Collaborator

Description

Adds four Postman Flows capabilities to the Claude Code plugin, each shipped as a skill (skills/*/SKILL.md) plus a matching slash command (commands/*.md): list-flows, trigger-flow, deploy-flow, and get-flow-run. Together they
let a user list flows, resolve a flow name to its ID, trigger a deployed flow from natural-language inputs, deploy an undeployed flow (with confirmation), and inspect a specific run's per-block detail — all by wrapping the Postman CLI.

Motivation and Context

Extends the plugin's Postman Flows coverage so users can manage the full run/deploy/inspect lifecycle from Claude Code. The skills share a common authoring baseline: every CLI call is prefixed with POSTMAN_CLI_SOURCE=claude-code-plugin for telemetry attribution, existing postman login credentials are reused (never a second auth), entitlements are never bypassed, and any mutating action (deploy, enable trigger) requires explicit user confirmation. The skills cross-reference one another (e.g. trigger-flow routes to list-flows for name resolution and offers deploy-flow when a flow isn't deployed yet).

Type of Change

  • ✨ Feature (non-breaking change that adds functionality)

Changes Made

  • Added list-flows skill + command — list flows in a workspace and resolve a flow name to its 24-char ID; read-only, disambiguates multiple matches.
  • Added trigger-flow skill + command — run a deployed flow from natural language, with deploy-then-trigger and enable-trigger fallbacks.
  • Added deploy-flow skill + command — deploy a flow to make it triggerable, proposing a trigger path and confirming before the mutating deploy.
  • Added get-flow-run skill + command — inspect a run by Run ID (per-block logs, failing block, status, credits when available); read-only.
  • Established a shared baseline across all four: POSTMAN_CLI_SOURCE telemetry prefix, credential reuse, entitlement passthrough, and confirm-before-mutate.

The Flows skills carried trailing spec-artifact identifiers (FR-*, SC-*)
in their shipped instructions. Those IDs belong only in specs/, which is
authored and committed separately, so strip them — the surrounding text
already states each requirement in plain language.

Also update CLAUDE.md, which was stale after the four Flows skills and
commands were added: correct the command count (11 → 15) and skill count
(7 → 11), and list the new flow commands under the CLI section.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant