Skip to content

Create your own bookings funnel

Want a booking engine that lives inside your own website instead of on booking.camping.care? You can build one on the Camping.care API. The quickest way is to let an AI coding agent do it with our Booking Engine skill.

starfish-booking-engine is an agent skill: a folder of Markdown that teaches a coding agent (such as Claude Code) how to build a booking engine on our API. It’s the same skill we use in-house. It works in any stack: React, Vue, Svelte, Next.js, Laravel, Rails, Django or plain HTML.

The skill covers the whole funnel:

  1. Search: availability and prices for all accommodations in one call.
  2. Accommodation detail: photos, description and a price calendar.
  3. Checkout: price calculation, options, promo codes and guest details.
  4. Reservation: the reservation is created, and the guest is sent to the Camping.care confirmation page for payment and confirmation.

You don’t build the payment step yourself. Payment, invoices and the confirmation e-mail stay on Camping.care.

The skill is free to use, including commercially, under the Apache-2.0 license. You can find it, along with our other skills, in CampingCare/public-claude-skills.

  • Your admin ID: the administration (campsite or park) you want to take bookings for. You’ll find it in your Camping.care account settings.
  • A public API key (pub_…): create one yourself in the beta at beta.camping.care under Settings > API keys (type Public). Add every domain that will call the API, for example localhost:5173 and www.your-site.com, because the key only works on those domains. See Create a public key.
  • An AI coding agent that supports skills, such as Claude Code.

Copy the skill into your project’s .claude/skills folder:

Terminal window
git clone https://github.com/CampingCare/public-claude-skills.git /tmp/cc-skills
mkdir -p .claude/skills
cp -R /tmp/cc-skills/skills/starfish-booking-engine .claude/skills/

To use it in all your projects, copy it to ~/.claude/skills/ instead.

Using a different agent? The skills are plain Markdown. Point your agent’s skills directory at the skills/ folder, or paste the contents of SKILL.md into its instructions.

You don’t need a special command. Describe what you want, and the agent loads the skill on its own. For example:

Build a booking engine for our campsite in this Next.js site: a search page
with a date picker and guest selector, an accommodation detail page, and a
checkout. Admin ID: 12345, public key: pub_...

If you leave out your admin ID or API key, the agent asks for them first. From there, build it step by step: start with search, then add the detail page and checkout, and ask for changes as you go (“show the cheapest accommodations first”, “match our brand colours”).

Make a test booking and check that:

  • the price at checkout matches the price in Camping.care,
  • after booking you land on the Camping.care confirmation page,
  • the reservation appears in your administration.

Getting a 401 or 403 error in the browser, while the same request works from curl? The domain you’re testing on probably isn’t added to your public key yet. Add it under Settings > API keys in beta.camping.care.

Found something in the skill that’s wrong or out of date? Open an issue.