Docs

Agent skills and prompts

Fetchable Markdown playbooks and ready-to-use prompts for Lovable, Claude Code and Cursor.

Early access. Use the API base, channel key and allowed origins supplied by Buchung before running examples. Interactive API requests are disabled here.

Every page on docs.buchungapp.com is available as clean Markdown by appending .md to its URL (or sending Accept: text/markdown), and /llms.txt lists the full index. Hand your coding agent the exact playbooks below so it follows both the Storefront API contract and Buchung's booking UX standards from the first prompt.

Fetchable playbooks (Markdown URLs)

Point your agent directly at these .md URLs (or include them in your repo's AGENTS.md / CLAUDE.md):

PlaybookMarkdown URLWhen to attach
Mental modelhttps://docs.buchungapp.com/docs/developers/mental-model.mdEvery new project: core nouns, invariants and v1 scope.
API runbookhttps://docs.buchungapp.com/docs/developers/quickstart-agents.mdWiring Storefront API calls, auth, locales and checkout handoff.
Site blueprintshttps://docs.buchungapp.com/docs/developers/use-cases.mdPicking the right architecture for expeditions, camps, rentals or drops.
Booking UX principleshttps://docs.buchungapp.com/docs/developers/booking-ux.mdDesigning cards, first phone screen, date rows, scarcity and trust.
Component crafthttps://docs.buchungapp.com/docs/developers/component-craft.mdBuilding filter bars, mobile sheets, scroll={false} and carousels.
Storefront MCPhttps://docs.buchungapp.com/docs/developers/mcp.mdIntegrating or testing an operator's /mcp endpoint.
OpenAPI schemahttps://docs.buchungapp.com/openapi.jsonGenerating a typed TypeScript SDK with @hey-api/openapi-ts.

Starter prompt: build a custom storefront (Lovable / Claude Code / Cursor)

Copy this prompt and fill in your supplied values and business type:

Build a custom booking storefront powered by the Buchung Storefront v1 API.

Configuration (publishable browser config):
- API base: https://api.buchungapp.com/v1
- Channel key: <YOUR_bg_st_KEY>
- Business archetype: <expeditions | seasonal camps | rentals | courses>

Before writing code, read these Buchung Markdown guides in full:
1. https://docs.buchungapp.com/docs/developers/mental-model.md
2. https://docs.buchungapp.com/docs/developers/quickstart-agents.md
3. https://docs.buchungapp.com/docs/developers/use-cases.md
4. https://docs.buchungapp.com/docs/developers/booking-ux.md
5. https://docs.buchungapp.com/docs/developers/component-craft.md

Strict rules:
- Call the Storefront API directly from the browser with X-Buchung-Channel-Key
  (do not add a backend proxy unless asked).
- Start with GET /site to discover locales, currency, timeZone, brand and
  trust signals. Never send Accept-Language; send Buchung-Locale explicitly.
- Never invent activity handles, UUIDs, SKUs, prices or dates.
- Never sum remaining across availability options; show remaining per option
  only, keep sold-out rows dimmed, and use bookingUnitNounForms for units.
- Format money from minor units with Intl.NumberFormat and format times in
  departure/arrival location timezones (falling back to AA timeZone, never
  the browser timezone).
- Put title, headline price (from BookingOptions.priceSummary), next date
  and decision facts above media on mobile; render visible date rows and
  inline option cards instead of blind dependent dropdowns.
- Use scroll: false on filter/option URL updates and keep filter panels
  sized to content with removable active-filter chips.
- For a configured collection listing, read facets from each response and
  honor optionsTruncated. Clear the cursor on filter changes. If the
  collection returns 404 not_found, check the collection and booking channel.
- Hand off checkout via POST /checkout/handoff with returned SKUs and
  quantities only (never prices), show warnings and listedTotal, then
  navigate to handoff.url unchanged.
- Stop and ask me only on 401, 403 forbidden_origin, 404 on GET /site, or
  409 storefront_domain_missing.

Starter prompt: UX audit of an existing storefront

Use this prompt to have an agent review an existing custom site against Buchung's booking UX and component standards:

Audit this booking storefront against Buchung's conversion and UI standards:
1. Read https://docs.buchungapp.com/docs/developers/booking-ux.md
2. Read https://docs.buchungapp.com/docs/developers/component-craft.md

Inspect the listing page, activity detail page, date/option picker, empty
and sold-out states, and checkout handoff on both desktop (1440px) and
mobile (375px). Prioritize high-impact, low-effort fixes before redesigning,
and report findings grouped as:
- P1: costs bookings today (blind dropdowns, hidden price or missing
  what-the-price-buys context, dead-end sold out, broken mobile first
  screen, summed shared capacity, cluttered buy box)
- P2: meaningful friction (missing decision facts or staged timeline,
  missing trust/policy near CTA, generic button/error microcopy, scroll
  jumps on filter clicks, missing OG image for sharing)
- P3: polish (currency decimals, gallery image diversity and peeking next
  slide, empty media/waiting states, copy buttons, labels)

Propose concrete code fixes for each P1 and P2 issue.

Repo AGENTS.md snippet

If your team maintains a custom storefront repository, add this short block to your AGENTS.md or CLAUDE.md:

## Buchung Storefront API

- Canonical docs index: https://docs.buchungapp.com/llms.txt
- Integration runbook: https://docs.buchungapp.com/docs/developers/quickstart-agents.md
- Mental model & invariants: https://docs.buchungapp.com/docs/developers/mental-model.md
- Booking UX & component rules: https://docs.buchungapp.com/docs/developers/booking-ux.md and https://docs.buchungapp.com/docs/developers/component-craft.md
- OpenAPI spec: https://docs.buchungapp.com/openapi.json

Never sum `remaining` across options, never send prices to `/checkout/handoff`, never alter signed media URLs, and never render activity timestamps in the visitor's browser timezone.