postman-explore

探索 Postman collection 结构,按需获取请求详情。当用户想查看、分析 Postman collection 内容时使用。

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "postman-explore" with this command: npx skills add zhixunjie/agent-skills/zhixunjie-agent-skills-postman-explore

postman-explore skill

探索 Postman collection 结构,避免一次性拉取全量数据导致响应过大。

调用方式

/postman-explore [collection 名称]

示例:

  • /postman-explore shopman
  • /postman-explore(不传名称则列出所有 collection)

执行步骤

1. 获取所有 Workspace

调用 getWorkspaces,拿到所有 workspace 的 ID 和名称。

2. 并行搜索 Collection

对每个 workspace 并行调用 getCollections

  • 若用户传了名称,加上 name 参数过滤
  • 若未传名称,列出所有 collection 供用户选择

注意:getCollections 必须传 workspace ID,无法全局搜索,必须遍历所有 workspace。

3. 获取 Collection 结构(轻量模式)

找到目标 collection 后,调用 getCollection

  • 不传 model 参数(默认返回轻量结构图:metadata + 递归 itemRefs)
  • 绝对不要用 model=full,会返回完整 JSON(可能 60KB+),超出工具结果显示限制

collectionId 格式必须为 {ownerId}-{uuid},从 getCollections 返回的 uid 字段取。

4. 展示结构,按需深入

将 folder / request 树状结构展示给用户,询问是否需要查看某个请求的详情。

如需查看详情,再调用:

  • getCollectionRequest:查看单个请求的 method、URL、headers、body 等
  • getCollectionFolder:查看 folder 下的子项目

工具对照

目标工具关键参数
列出所有 workspacegetWorkspaces无必填
搜索 collectiongetCollectionsworkspace(必填), name(可选)
查看 collection 结构getCollectioncollectionId,不传 model
查看单个请求详情getCollectionRequestcollectionId, requestId
查看 folder 详情getCollectionFoldercollectionId, folderId

MCP 配置前提

使用本 skill 前需先配置 Postman MCP:

claude mcp add --transport http postman https://mcp.postman.com/mcp \
  --header "Authorization: Bearer <YOUR_POSTMAN_API_KEY>"

API Key 在 Postman → 右上角头像 → Settings → API keys 中生成。

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

vercel-composition-patterns

React composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing reusable APIs. Triggers on tasks involving compound components, render props, context providers, or component architecture. Includes React 19 API changes.

Repository Source
86.2K23Kvercel
Automation

vercel-react-native-skills

React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.

Repository Source
60.5K23Kvercel
Automation

supabase-postgres-best-practices

Postgres performance optimization and best practices from Supabase. Use this skill when writing, reviewing, or optimizing Postgres queries, schema designs, or database configurations.

Repository Source
35.2K1.6Ksupabase
Automation

sleek-design-mobile-apps

Use when the user wants to design a mobile app, create screens, build UI, or interact with their Sleek projects. Covers high-level requests ("design an app that does X") and specific ones ("list my projects", "create a new project", "screenshot that screen").

Repository Source