Navan Contract-Bound Adapter
SkillMediaDesign an application-owned Navan adapter pinned to the tenant's actual integration contract. Use when wrapping Booking API, Expense API, SFTP, or direct integration behavior. Trigger with "build a Navan client", "wrap Navan API", or "type Navan responses".
Use Navan Contract-Bound Adapter in Claude, ChatGPT or Ahel Desktop
Free. Sign in, add Navan Contract-Bound Adapter and connect your AI. About a minute.
Also: Claude Code · Cursor · Codex
Then ask your AI: use the Navan Contract-Bound Adapter skill
Details
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; ahel provides instructions and does not run this skill.
No other account needed.
Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
What this skill tells your AI
The instructions your AI receives, as published by jeremylongshore/tons-of-skills-marketplace in skills/.curated/navan-sdk-patterns/SKILL.md and read by ahel’s review.
Overview
Design an application-owned Navan adapter pinned to the tenant's actual integration contract. This workflow produces an auditable decision or artifact before any live action.
Prerequisites
- Access to the selected tenant's current Navan Help Center and contracted integration documentation.
- A named business owner and data owner for the travel or expense workflow.
- A non-production evidence set with secrets and traveler data removed.
Current Contract
Do not assume a public SDK, base URL, pagination model, or error envelope. Preserve the vendor payload at the boundary, then map it into versioned application types backed by captured schemas and fixtures.
Authentication
Accept a secret-provider callback or file-transfer credential reference, never a literal secret. Bind credentials, tenant identity, and host allowlist together so configuration cannot cross environments.
Instructions
- Inventory the enabled operation or file contract and record its revision.
- Define transport-neutral input, result, page, and error types.
- Implement authentication, timeout, size limit, and redacted telemetry at one boundary.
- Preserve raw identifiers as opaque strings and money with explicit currency.
- Add fixture tests for success, empty data, pagination, denial, throttling, and drift.
- Expose writes only as separate methods with idempotency and approval requirements.
Tool Discipline
Use Read, Glob, and Grep to inspect documentation, schemas, configuration, code, fixtures, and evidence. Use Write and Edit only for approved repository artifacts. Invocation alone does not authorize network access, credentials, traveler or expense data, bookings, payments, policy or identity changes, file transfers, deployments, or deletion.
Approval Boundaries
Reading docs and fixtures is local; live calls, secrets, package additions, generated clients, file transfers, and state changes need explicit approval.
Error Handling
- Unknown fields should be preserved or quarantined, not silently discarded.
- Do not guess retryability from status alone; follow the current tenant contract.
- Reject tenant/host mismatches before opening a connection.
Output
Return adapter interfaces, contract revision, fixture inventory, redaction policy, retry classification, and unsupported operations. Identify assumptions, owners, expirations, and evidence gaps explicitly.
Examples
- Wrap a contracted booking export behind an async iterator.
- Map expense money fields into amount-plus-currency values.
Validation
Test offline first, then use one separately approved non-production read to compare the captured schema with reality. Record expected and observed results, including fail-closed behavior.
Resources
- Current first-party evidence map — recheck dated sources and the selected tenant's in-account contract before relying on mutable endpoints, fields, entitlements, limits, or delivery behavior.
- Record tenant observations as environment-specific evidence, never universal Navan guarantees.
Signals
- GitHub stars
- 3k
- Forks
- 415
- Last commit
- Oct 2026
Advanced
- Item type
- skill
- Key
navan-sdk-patterns- Source
- github.com/jeremylongshore/tons-of-skills-marketplace