hospitable-api
Installation
SKILL.md
Hospitable.com Public API (v2) Skill
π Source Files β Read These First
Before writing any code, the agent MUST read the following files:
| File | Purpose |
|---|---|
types.ts |
All TypeScript interfaces and enums for API entities |
client.ts |
Ready-to-use typed HTTP client β always use this, never raw fetch() |
Agent rules:
- Do NOT redefine types. Import from
types.ts. - Do NOT write custom fetch wrappers. Use
client.ts. - Do NOT manually implement pagination loops. Use the built-in
listAll()helpers. - Always pass
crypto.randomUUID()as theidempotencyKeyfor allPOST/PATCH/PUTcalls.