postman
Skill15 starsChanged 42 days agoMITView on GitHub
Expert Postman assistance covering API collection design, pre-request scripts, Newman CI/CD test automation, mock servers, and environment variable management. Use when creating automated API test suites, running collections via Newman CLI, managing environment secrets, or generating API documentation.
- Reads credentials
- Installs packages
5 other projects use a version of this.
Adopted by
Most recently taken up by
- Ssoulisack/claude-skillstheir own version, first seen Oct 15, 2026
- phalbohr/skillstheir own version, first seen Oct 13, 2026
- soapgu/Postman-Skilltheir own version, first seen Aug 29, 2026
- jgamaraalv/delivery-looptheir own version, first seen Jul 4, 2026
- SterlingChin/postman-claude-skilltheir own version, first seen Nov 3, 2025
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- SterlingChin/postman-claude-skill★ 27same name
- phalbohr/skills★ 1same name
- jgamaraalv/delivery-loop★ 0same name
- soapgu/Postman-Skill★ 0same name
- Ssoulisack/claude-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository350 other files it gives its agents.
- airflowSkill
- catboostSkill
- claudeSkill
- comfyuiSkill
- cursor-aiSkill
- dalleSkill
- daskSkill
- dbtSkill
- deepseekSkill
- fastaiSkill
- geminiSkill
- github-copilotSkill
- huggingfaceSkill
- jaxSkill
- jupyterSkill
- kerasSkill
- langchainSkill
- lightgbmSkill
- llamaindexSkill
- llamaSkill
- matplotlibSkill
- midjourneySkill
- mistralSkill
- mlflowSkill
- nltkSkill
- numpySkill
- ollamaSkill
- openai-gptSkill
- opencvSkill
- pandasSkill
- perplexitySkill
- plotlySkill
- polarsSkill
- pytorchSkill
- raySkill
- scikit-learnSkill
- seabornSkill
- spacySkill
- sparkSkill
- stable-diffusionSkill
- tensorflowSkill
- vaexSkill
- weights-biasesSkill
- whisperSkill
- xgboostSkill
- api-gatewaySkill
- clean-architectureSkill
- cqrsSkill
- domain-driven-designSkill
- event-drivenSkill
- event-sourcingSkill
- graphqlSkill
- grpcSkill
- hexagonalSkill
- microservicesSkill
- modular-monolithSkill
- monolithSkill
- rest-apiSkill
- sagaSkill
- serverlessSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 148
Run collections via Newman in CI/CD workflows to prevent regressions before deployment.
- Distinctive: line 154
Commit environment files containing active production API keys to public repositories.
“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Postman
Postman is an API platform for building and using APIs, providing automated collection testing, mock servers, environment management, and Newman CLI integration for CI/CD.
When to Use
- REST, GraphQL, & gRPC API Testing: Designing requests, inspecting headers, and verifying streaming payloads.
- Automated CI/CD API Regression Suites: Running Postman Collections in automated pipelines using the Newman CLI.
- Dynamic Authentication Handling: Scripting OAuth 2.0 token refreshes, HMAC signatures, and AWS SigV4 in Pre-request scripts.
- Mock Servers & API Documentation: Creating instant mock endpoints and publishing interactive team API documentation.
Quick Start
1. Test Script in Postman
// Tests tab in Postman Request
pm.test("Status code is 200 OK", function () {
pm.response.to.have.status(200);
});
pm.test("Response time is under 400ms", function () {
pm.expect(pm.response.responseTime).to.be.below(400);
});
pm.test("Token returned and set in environment", function () {
const jsonData = pm.response.json();
pm.expect(jsonData.access_token).to.be.a("string");
pm.environment.set("AUTH_TOKEN", jsonData.access_token);
});2. Run via Newman CLI
npm install -g newman
newman run collection.json -e environment.json --reporters cli,junitCore Concepts
Pre-Request Script: Automated JWT / HMAC Signature
Generating dynamic cryptographic signatures and injecting timestamps before request execution:
// Pre-request Script (PM API)
const timestamp = Math.floor(Date.now() / 1000).toString();
const apiKey = pm.environment.get("API_KEY");
const apiSecret = pm.environment.get("API_SECRET");
const requestBody = pm.request.body.raw || "";
// Generate SHA256 HMAC
const message = `${pm.request.method}\n${pm.request.url.getPath()}\n${timestamp}\n${requestBody}`;
const signature = CryptoJS.HmacSHA256(message, apiSecret).toString(
CryptoJS.enc.Hex,
);
pm.request.headers.add({ key: "X-Auth-Key", value: apiKey });
pm.request.headers.add({ key: "X-Auth-Timestamp", value: timestamp });
pm.request.headers.add({ key: "X-Auth-Signature", value: signature });Automated Response Assertions & Variable Extraction
Validating HTTP response code, schema, and saving output for downstream requests:
// Tests Script
pm.test("Status code is 200 OK", function () {
pm.response.to.have.status(200);
});
pm.test("Response contains valid user session", function () {
const json = pm.response.json();
pm.expect(json).to.have.property("access_token");
pm.expect(json.expires_in).to.be.above(0);
// Propagate access token to active environment
pm.environment.set("AUTH_TOKEN", json.access_token);
});
pm.test("Response time is under 300ms", function () {
pm.expect(pm.response.responseTime).to.be.below(300);
});Newman CLI Execution in CI/CD Pipeline
Executing collection tests headlessly and generating JUnit reports:
# Run Postman collection with environment and HTML/JUnit reports
npx newman run ./collections/auth-api-tests.json \
-e ./environments/staging.postman_environment.json \
--reporters cli,junit \
--reporter-junit-export ./reports/newman-results.xml \
--bail \
--env-var "BASE_URL=https://staging-api.example.com"Common Patterns
Pre-Request HMAC Signature Generation
Problem: API requests require timestamp and SHA-256 HMAC signature headers calculated per request.
Solution: Generate headers dynamically in the Pre-request Script tab.
const secret = pm.environment.get("API_SECRET");
const timestamp = Math.floor(Date.now() / 1000).toString();
const payload = pm.request.body.raw || "";
const message = `${timestamp}.${pm.request.method}.${payload}`;
const signature = CryptoJS.HmacSHA256(message, secret).toString();
pm.request.headers.add({ key: "X-Timestamp", value: timestamp });
pm.request.headers.add({ key: "X-Signature", value: signature });Chained API Testing (Login -> Create -> Delete)
Problem: Execute multi-step end-to-end user workflows using dynamically extracted identifiers.
Solution: Set variables in pm.collectionVariables and trigger conditional next requests via postman.setNextRequest().
// Step 1: Capture created resource ID
const res = pm.response.json();
pm.collectionVariables.set("ITEM_ID", res.id);
// Conditionally skip to cleanup on error
if (pm.response.code !== 201) {
postman.setNextRequest("Cleanup Endpoint");
}Best Practices
Do:
- Parameterize environment URLs, tenant IDs, and credentials using
{{base_url}}variables. - Store sensitive credentials in Environment variables with type Secret to mask values from UI and exports.
- Run collections via Newman in CI/CD workflows to prevent regressions before deployment.
- Organize collections by domain resource with clear folder-level authorization inheritance.
Don't:
- Hardcode raw JWT tokens or passwords directly in request headers or body payloads.
- Commit environment files containing active production API keys to public repositories.
- Duplicate authentication headers manually; configure Auth at the Collection level.
Troubleshooting
| Error | Cause | Solution |
SSL Error: Self-signed certificate in certificate chain | Target endpoint uses local dev or untrusted SSL certificate | Turn off SSL certificate verification in Postman Settings > General, or pass --insecure to Newman. |
Variable not substituting ({{API_URL}} remains literal) | Active environment not selected in dropdown or variable misspelled | Ensure environment dropdown in top-right is selected and scope matches (environment vs collectionVariables). |
| Newman exit code failure in CI pipeline | Assertion failed in collection run | Check test summary output; run Newman with --bail to stop on first failure or inspect JUnit XML report. |
References
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

