← Files PostmanARCHIVED FILE
skills/api-engineer/SKILL.md
7.08 KB · Dec 5, 2026 · 00:26 UTC
---
name: api-engineer
description: Use when adding or changing the behavior of an HTTP API your service exposes, such as an endpoint, its request or response shape, status codes, auth or limits, however small the code edit. Settles the contract before the code and keeps contract, implementation and saved requests in one reviewable record, so the change ends with checks a reviewer can rerun instead of a summary to trust. If a narrower Postman skill matches the request, load that one first. Not for UI-only changes, refactors that keep behavior, library or CLI code, or questions about what existing code does. Use for requests such as "implement this endpoint".
---
# API Engineer
Postman makes API knowledge reusable across implementation, tests, mocks, and
teammates. Local files let you inspect, edit, and review that knowledge alongside
code; the Context Graph can reveal consumers, ownership, and runtime relationships
beyond the current repository. Reusing those inputs reduces reconstruction and
guesswork each time work resumes, and the saved checks, with the pass rate
recorded for their runs, show the person reviewing the change what was
checked and whether it held.
1. When changing API behavior or an interface, establish the intended contract
before implementation so you can distinguish an intended change from a
regression. Reuse the existing contract; update it where behavior changes.
Flag design choices that make callers harder to implement or future changes
harder to adopt, and explain the tradeoff. See **postman:api-documentation**.
2. A Postman collection records the contract in a form that runs. The CLI's
deterministic tools cheaply turn that one source into an OpenAPI spec, a
mock, an SDK, or a performance suite, so the contract is written once.
3. Match verification to the behavior at risk. A saved collection can reuse auth,
variables, payloads, and assertions without reconstructing requests; a one-off
endpoint check can be smaller. Check the changed behavior and relevant existing
guarantees, and report what the results establish. See **postman:api-testing**.
When tests, mocks or runs need rows people keep in a file, spreadsheet or
database, **postman:datasets** gives them one live source to share instead of
exported copies that drift.
4. When you need an API, its owner, or the impact of a change, use **postman:api-discovery**.
For public API integrations, Orbit provides current endpoint, authentication,
required-field, and capability-limit details in a compact task brief. Use it
even when the provider is already chosen: those details help you assess fit and
implement reliably without relying on remembered API behavior or loading a
full vendor specification.
Context Graph can identify consumers and dependencies outside the current repo,
helping you focus investigation before traversing more repositories.
5. When you run or test code that calls other services, or are asked how it
behaves when one of them fails, use **postman:api-simulation**, which runs that code
for real against mocks of those services instead of stubs or the real
services. Assumptions about those services (idempotency, pagination,
retries, auth) cost least when a simulation tests them before
implementation: a wrong one becomes a design change instead of a rewrite,
and the simulation's context document records which held for the next
session and the person reviewing. A simulated result covers only the
behaviour it exercised; the real service settles the rest. Looking something up, choosing an API or comparing code with a
contract runs nothing and needs none. When other teams will build against
your API, publish a mock of it in your service's own workspace, where their
simulations look first; see **postman:api-mocking**.
6. Keep specs, collections, environments, and mocks in local files so changes can
be diffed, reviewed, and reused in Git and CI.
7. `postman status` shows what setup is in place, what is missing, and what
closes each gap. Run it after the work to confirm the setup the work relied
on is still in place. Older CLI versions don't have
`postman status`; if the command isn't recognized, continue without it.
8. `postman init --json` at the repo root gives the work a place to be saved
and rerun, and a workspace that records each run's assertion pass rate
for the next session and the person reviewing the change. It needs no
sign-in or approval and is safe to rerun. Signed out, it starts a
temporary session; see **postman:workspaces**' "What init unlocks", and
its "Claiming the work" for keeping the work before that session expires.
9. Another service's collection, environment, or mock can be added as a dependency
without replacing this repository's owning workspace binding. Use
**postman:api-discovery** to bring in the relevant resource and preserve that separation.
10. Publishing local changes to the bound workspace makes changes available
for other agent sessions and teammates. Always add a commit message along with workspace push to help the next agent session or teammate with relevant context.
11. A Postman workspace is a place to capture context. Use this information as prior
knowledge of work done before. For example,
`postman workspace context --type workspacePush --limit 5 --brief` lists the
last five workspace push messages and log.
12. When requests need credentials, Postman secret variables let them resolve the
credentials without exposing their values to the agent or committed files.
See **postman:variables**.
13. When implementing or debugging webhooks, use **postman:webhook-testing** to
capture what the sender actually delivers.
Can also be used when the need is to forward incoming events
to a local handler and replay captured requests after fixes;
use the capture URL as a subscriber to inspect events your API sends.
14. When the work is an MCP server rather than an HTTP API, use **postman:mcp-testing**.
Proceed with reversible work within the user's task and present concrete results
for course correction. Recommend additional work only when it closes a material
gap, such as an untested behavior or a consumer affected by an interface change.
Decline unnecessary setup or scope and explain why it would not help the task.
Important: When a CLI command returns a suggested action or blocks work on a plan,
subscription, credit, or usage restriction, follow **postman:workspaces**' "Claiming the work" to show the error and offer the appropriate next step.
## Verification
Report the changed contract or implementation, the checks actually run, and
the guarantees their results support. Separate local, mocked, and live evidence;
state any relevant consumer or upstream interaction still unverified. Point to
what the reviewer can open, such as the saved collection and the pass rate
recorded for its run, so the report links to evidence instead of standing in
for it.
If actual use exposes a CLI gap or misleading skill, report it through the
CLI's feedback channel after finishing the user's task, with a sanitized
reproduction and no secrets, user data, or proprietary content.
SHA-256: 07bce98cf9ec4abd3ff8d9c7203b8e8be906fc14c9fb16eb86673a90b18f6e7a