← Files PostmanARCHIVED FILE
skills/api-engineer/SKILL.md
6.06 KB · Nov 20, 2026 · 06:13 UTC
---
name: api-engineer
description: Use when an HTTP API task spans several steps, such as building a new endpoint end to end with its contract, implementation, tests and mocks, or when it is API work and no narrower Postman skill fits. Prefer the narrower Postman skill when one fits. Routes to the relevant Postman skills and keeps contracts, tests and mocks reusable across the work, using organization-wide dependency context. Not for UI-only changes, 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.
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 **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 **api-testing**.
4. When you need an API, its owner, or the impact of a change, use **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 **api-simulation**, which runs that code
for real against mocks of those services instead of stubs or the real
services. 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 **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` gives API engineering work a ready state. It scaffolds local structure: `postman/`
directories for API artifacts. It installs skills in `postman/skills` folder with guidance on designing, implementing, and validating APIs.
The command is idempotent and safe to rerun in an initialized project.
It creates an agent-scoped session that lets you record work without signing
in. This session is temporary; see **workspaces**' "Claiming the work" for
signup guidance to preserve the work and its context before the 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
**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 **variables**.
13. When implementing or debugging webhooks, use **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.
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 **workspaces**' "CLI suggested
actions" 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.
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: 3aad6087399cdd0ff76cfe4dab865b3cc7117c794f02593f03736c85c88d0cfe