Claude Skill

api-test-postman

Use this skill when you need to design Postman collections, environments, scripts, and Newman-ready API regression plans; triggers include Postman API testing, API testing, and api-test-postman.

LLM Mart · 0 points · 0 views 0 listing impressions 0 install-command copies
Virus-scanned Reviewed automatically before listing.

Full trust report

Download naodeng-awesome-qa-skills-skills_en_testing-types_api-test-postman-c44b892.zip · 7 KB
Part of naodeng/awesome-qa-skills — 97 skills

Install

skills CLI npx skills add https://github.com/naodeng/awesome-qa-skills/tree/main/skills/en/testing-types/api-test-postman
Claude Code claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install naodeng-awesome-qa-skills@llmmart
Git git clone https://github.com/naodeng/awesome-qa-skills.git

The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole naodeng/awesome-qa-skills collection as a plugin from our marketplace. Git is the plain clone.

README

api-test-postman (EN)

Skill Overview

Design Postman collections, environments, scripts, and Newman-ready API regression plans.

How to Use

  1. Open SKILL.md in this folder and confirm this skill fits your task.
  2. In your AI tool, call @skill api-test-postman, then add your real project context and goal.
  3. If you need a specific output shape, include it directly in your request.

One-Click Install Script

Run from the repository root:

macOS / Linux

bash ./scripts/install-skills-mac.sh --tool codex --lang en --skill api-test-postman

Windows PowerShell

powershell -ExecutionPolicy Bypass -File .\scripts\install-skills-windows.ps1 -Tool codex -Lang en -Skill api-test-postman

Skill manifest

Postman API Testing (EN)

Chinese version: See the corresponding Chinese skill.

When to Use

  • Need outputs that should land in a Postman API testing workflow.
  • The project already uses Postman or wants Postman-ready planning.

Output Format Options

Markdown by default unless the request explicitly asks for another format.

How to Use

  1. Open prompts/api-test-postman.md and use it as the main prompt.
  2. Add the real project context: scope, environment, constraints, risks, dependencies, and expected deliverable.
  3. If the input is incomplete, return a usable first version and mark missing information and assumptions.

Reference Files

  • prompts/api-test-postman.md: main prompt for this skill.
  • references/framework-spec.md: tool-specific structure and coverage notes.
  • references/setup-and-ci.md: setup, execution, and CI notes.
  • examples/sample-context.md: sample request context.
  • scripts/run-tests.sh: lightweight local execution entry point.

Common Pitfalls

  • Do not use it with vague scope and no context.
  • Do not treat every area as equally important.
  • Do not skip assumptions and missing information.

Best Practices

  • Start from the prompt file, then add only the context that matters.
  • Keep the output risk-driven and executable.
  • If the request is incomplete, return a usable first version and mark gaps.
Files (awesome-qa-skills)
  • agents
    • openai.yaml 410 B
      version: 1
      metadata:
        key: "api-test-postman"
        last_verified: "2026-08-07"
      interface:
        display_name: "Postman API Testing"
        short_description: "Design Postman collections, environments, scripts, and Newman-ready API regression plans."
        default_prompt: "Use api-test-postman to complete the task with local prompts, references, and examples in this skill folder."
      policy:
        allow_implicit_invocation: true
      
  • evals
    • cases
      • basic-success.yaml 836 B
        id: basic-success
        title: "Postman: produce a risk-driven, executable plan"
        description: |
          With realistic scope and constraints, produce a Postman-ready plan with structure, data, assertions, execution, and CI notes.
        
        input:
          prompt: |
            Use api-test-postman.
            Scope: release-critical login and checkout coverage for staging.
            Tool: Postman.
            Constraints: keep the first version maintainable, CI-friendly, and focused on highest-risk regression paths.
            Produce a plan with test structure, data/environment needs, assertions, execution command notes, and open questions.
        
        expect:
          must_contain:
            - "Postman"
            - "CI"
          must_not_contain:
            - "TODO"
            - "I cannot"
        
        judge:
          type: rule_based
          success:
            - output_contains:
                all:
                  - "Scope"
                  - "Assertions"
                  - "Open Questions"
        
      • edge-incomplete-input.yaml 740 B
        id: edge-incomplete-input
        title: "Postman: mark assumptions when input is incomplete"
        description: |
          With vague scope and missing environment details, still return a usable first version and list gaps.
        
        input:
          prompt: |
            Use api-test-postman.
            We want to add Postman tests soon, but we only know that checkout is risky.
            No environment, auth, data, browser/load model, or CI details are confirmed.
            Draft the first usable version and clearly separate assumptions from missing information.
        
        expect:
          must_contain:
            - "assumption"
            - "missing"
          must_not_contain:
            - "TODO"
            - "I cannot"
        
        judge:
          type: rule_based
          success:
            - output_contains:
                all:
                  - "Open Questions"
                  - "Postman"
        
      • edge-scope-boundary.yaml 1 KB
        id: edge-scope-boundary
        title: "Postman: stay inside the selected tool boundary"
        description: |
          When neighboring tools are requested under this skill, keep the deliverable centered on Postman and explain the boundary.
        
        input:
          prompt: |
            I activated api-test-postman, but also asked for a complete Postman collection, Playwright suite, and JMeter test plan at the same time.
            Target flow: login and checkout.
            Correct the scope for this skill: deliver the Postman plan first, explain what is out of scope, and list neighbor skills/tools to use separately.
        
        expect:
          must_contain:
            - "Postman"
            - "scope"
          must_not_contain:
            - "TODO"
            - "I cannot"
        
        judge:
          type: agent_judge
          model: openai/gpt-5
          criteria:
            - "Centers the answer on the activated Postman skill instead of mixing all neighboring tool deliverables"
            - "Explains which requested outputs are out of scope or should be handled by separate skills"
            - "Still provides a useful first plan and open questions"
          pass_threshold: 0.67
        
    • eval.yaml 608 B
      schema_version: v1alpha1
      
      environment:
        type: none
      
      skills:
        - source: local_path
          path: .
      
      engine:
        name: claude_code
        # model is optional; omit to use engine default
        # model:
        #   provider: anthropic
        #   name: claude-sonnet-4-6
      
      cases:
        files:
          - evals/cases/basic-success.yaml
          - evals/cases/edge-incomplete-input.yaml
          - evals/cases/edge-scope-boundary.yaml
        defaults:
          timeout_seconds: 180
          max_turns: 8
          expect:
            exit_code: 0
            must_not_contain:
              - "TODO"
              - "I cannot"
              - "我无法"
      
      benchmark:
        enabled: true
      
      report:
        formats: [json]
      
  • examples
    • sample-context.md 470 B
      # Sample Context
      
      Use `@skill api-test-postman` to design coverage for a release-critical login and checkout flow.
      
      Project context:
      
      - Tool: Postman API Testing
      - Environment: staging
      - Priority: protect the release smoke path and the highest-risk regression cases
      - Constraints: keep the first version maintainable and CI-friendly
      
      Expected output:
      
      - Postman collection plan
      - environment and variable design
      - assertion and script checklist
      - Newman execution notes
      
  • output-templates
    • template-markdown.md 156 B
      # Output Template
      
      ## Summary
      - Scope:
      - Key Risks:
      
      ## Tool-Specific Plan
      - Structure:
      - Data:
      - Assertions:
      - Execution:
      
      ## Open Questions
      - Question 1:
      
  • prompts
    • api-test-postman.md 1.6 KB
      # Postman API Testing Prompt
      
      Design Postman API testing assets or a Postman-ready plan that the team can implement directly.
      
      ## Role
      
      - Act as a senior QA automation expert who structures outputs for practical Postman usage.
      
      ## Input
      
      - OpenAPI, curl, Postman collection, endpoint notes, or auth docs
      - environment, release scope, and regression priorities
      - current Newman or CI constraints
      
      ## What to do
      
      1. Understand the target scope and highest-risk flows first.
      2. Organize the result around real Postman API testing workflows, not generic testing theory.
      3. Keep assumptions visible when project details are incomplete.
      
      ## Execution Rules
      
      - Cover tool-specific structure, execution, data, assertions, reporting, and CI concerns when relevant.
      - Prefer maintainable test organization over large one-off scripts.
      - If information is incomplete, give a usable first version and mark assumptions.
      
      ## Minimum Coverage Checklist
      
      Unless the user explicitly narrows the scope, make sure the result addresses these items:
      - collection structure
      - environment and variable strategy
      - pre-request and test scripts
      - Newman and CI execution
      - API regression risk coverage
      - test data or environment needs
      - reporting needs
      - missing information and assumptions
      
      ## Output
      
      Return the result in this order:
      
      ### 1. Task Understanding
      ### 2. Postman API Testing Scope
      ### 3. Test Structure and Coverage
      ### 4. Data, Environment, and Assertions
      ### 5. Execution and CI Notes
      ### 6. Open Questions
      
      ## Quality Bar
      
      - Keep the result Postman API testing-oriented.
      - Do not output unrelated framework advice.
      - Avoid long code unless the user asks for runnable files.
      
  • references
    • framework-spec.md 688 B
      # Postman API Testing Framework Notes
      
      ## Primary Focus
      
      - collection structure
      - environment and variable strategy
      - pre-request and test scripts
      - Newman and CI execution
      - API regression risk coverage
      
      ## Recommended Structure
      
      - Start from business-critical flows or endpoints.
      - Group tests by product capability and execution risk.
      - Keep setup, data, assertions, and reporting visible in the plan.
      - Prefer maintainable naming and reusable helpers over large scripts.
      
      ## Decision Rules
      
      - Use this skill when Postman is the chosen or likely tool.
      - Use the generic parent testing skill when the tool is still undecided.
      - Call out constraints that make another tool a better fit.
      
    • setup-and-ci.md 798 B
      # Postman API Testing Setup and CI Notes
      
      ## Local Setup
      
      - Confirm the tool version and runtime before proposing commands.
      - Keep secrets, tokens, and environment-specific values outside committed test files.
      - Store generated reports under a reports or build-artifacts folder ignored by version control.
      
      ## Suggested Run Command
      
      ```bash
      newman run "${COLLECTION:-collection.json}" -e "${ENVIRONMENT:-environment.json}" --reporters cli,json --reporter-json-export "$REPORT_JSON"
      ```
      
      ## CI Guidance
      
      - Run smoke coverage on pull requests.
      - Run broader regression on release branches or scheduled jobs.
      - Preserve reports, logs, screenshots, traces, or result files as CI artifacts when the tool produces them.
      - Fail the pipeline on clear assertion failures, not on missing optional artifacts.
      
  • scripts
    • run-tests.sh 454 B
      #!/usr/bin/env bash
      set -euo pipefail
      
      SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
      REPORT_DIR="$SCRIPT_DIR/../reports"
      mkdir -p "$REPORT_DIR"
      TS="$(date +%Y%m%d-%H%M%S)"
      REPORT_JSON="$REPORT_DIR/api-test-postman-$TS.json"
      
      echo "Running api-test-postman lightweight entry point"
      echo "Report path: $REPORT_JSON"
      
      newman run "${COLLECTION:-collection.json}" -e "${ENVIRONMENT:-environment.json}" --reporters cli,json --reporter-json-export "$REPORT_JSON"
      
  • README.md 740 B
    # api-test-postman (EN)
    
    ## Skill Overview
    
    Design Postman collections, environments, scripts, and Newman-ready API regression plans.
    
    ## How to Use
    
    1. Open `SKILL.md` in this folder and confirm this skill fits your task.
    2. In your AI tool, call `@skill api-test-postman`, then add your real project context and goal.
    3. If you need a specific output shape, include it directly in your request.
    
    ## One-Click Install Script
    
    Run from the repository root:
    
    ### macOS / Linux
    
    ```bash
    bash ./scripts/install-skills-mac.sh --tool codex --lang en --skill api-test-postman
    ```
    
    ### Windows PowerShell
    
    ```powershell
    powershell -ExecutionPolicy Bypass -File .\scripts\install-skills-windows.ps1 -Tool codex -Lang en -Skill api-test-postman
    ```
    
  • SKILL.md 1.6 KB
    ---
    name: api-test-postman
    description: Use this skill when you need to design Postman collections, environments, scripts, and Newman-ready API regression plans; triggers include Postman API testing, API testing, and api-test-postman.
    ---
    
    # Postman API Testing (EN)
    
    **Chinese version:** See the corresponding Chinese skill.
    
    ## When to Use
    
    - Need outputs that should land in a Postman API testing workflow.
    - The project already uses Postman or wants Postman-ready planning.
    
    ## Output Format Options
    
    Markdown by default unless the request explicitly asks for another format.
    
    ## How to Use
    
    1. Open `prompts/api-test-postman.md` and use it as the main prompt.
    2. Add the real project context: scope, environment, constraints, risks, dependencies, and expected deliverable.
    3. If the input is incomplete, return a usable first version and mark missing information and assumptions.
    
    ## Reference Files
    
    - `prompts/api-test-postman.md`: main prompt for this skill.
    - `references/framework-spec.md`: tool-specific structure and coverage notes.
    - `references/setup-and-ci.md`: setup, execution, and CI notes.
    - `examples/sample-context.md`: sample request context.
    - `scripts/run-tests.sh`: lightweight local execution entry point.
    
    ## Common Pitfalls
    
    - Do not use it with vague scope and no context.
    - Do not treat every area as equally important.
    - Do not skip assumptions and missing information.
    
    ## Best Practices
    
    - Start from the prompt file, then add only the context that matters.
    - Keep the output risk-driven and executable.
    - If the request is incomplete, return a usable first version and mark gaps.
    

Comments (0)

Sign in to join the conversation.

No comments yet.

Reviews (0)

No reviews yet.

Related