heitorfonsatti

Generate Postman Tests Generic — Development skill for Claude Code

Development community

Claude Code skill that turns a ticket's acceptance criteria into a Postman collection, Newman run, and HTML report — for any HTTP API.

How to install Generate Postman Tests Generic

This entry records only its repository, not the path inside it, so there is no exact command to give. Open heitorfonsatti/generate-postman-tests-generic and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Generate Postman Tests Generic does

Claude Code skill that turns a ticket's acceptance criteria into a Postman collection, Newman run, and HTML report — for any HTTP API.

Alternatives in Development

  • HTML Report — /html-report - Generate Application Tracker Dashboard 36.6k ★
  • API Development Pack — API development skills collection 1.6k ★
  • Wx Favorites Report — 微信收藏可视化 Claude Code Skill — 从加密 DB 到交互式 HTML 报告的端到端管线 639 ★

README

generate-postman-tests-generic

A Claude Code skill that turns a ticket's **acceptance criteria** into a runnable Postman collection for **any HTTP API in any repository** — then runs it with Newman and hands you an HTML report plus a paste-ready ticket comment.

It figures out the repo's hosts, base path, auth, conventions and code layout by reading the repo itself (once), so there is nothing to hardcode per project.


What you get

File (in the repo, under postman/) What it is
config.json Discovered repo/API config — hosts, base path, auth command, conventions, code map. Written once, reused by later runs. No secrets; safe to commit.
.postman_collection.json The collection: three folders — Setup (create data) → Tests (one request per AC) → Cleanup (delete everything Setup created).
.postman_environment.json Environment with base_url, base_path, the auth token and fixtures. Holds the token → gitignored automatically.
.newman-report.json Raw Newman results.
.report.html Self-contained HTML report — summary tiles, per-request assertions, collapsible Request/Response, Bearer token redacted. Print-styled for PDF.

Requirements

  • Node (any recent version) — npx newman for the run, plain node for the report. Zero deps.
  • Whatever the repo uses to mint an access token (discovered in Step 0).
  • Optional: a Jira / Linear / GitHub MCP connector, to fetch the ticket automatically. Without one, it reads a local ticket file or asks you to paste the description.

Nothing to install for the skill itself — it lives in `~/.claude/skills/generate-postman-tests-generic/`.


How to use it

/generate-postman-tests-generic PROJ-1234

Also triggers on plain requests like *"how do I test PROJ-1234?"*, *"create Postman tests for the widgets endpoint"*. You can pass a ticket key, a ticket URL,