# Prompt: open houses this weekend

Source: https://help.ruuster.com/idx/prompt-open-houses

> An /open-houses page with every home in your market area that has an open house this weekend.

This prompt builds the [open houses this weekend](https://help.ruuster.com/idx/recipe-open-houses) page, rendered on your server.

## The prompt

```text
Read RUUSTER_IDX.md first and follow its MUST and NEVER rules. Ask me if it doesn't cover something.

Build an "Open houses this weekend" page at /open-houses that follows <https://help.ruuster.com/idx/recipe-open-houses>. Call GET /v1/listings with openHousePeriod=this_weekend and my market area's where object on the server with my secret key, and revalidate the page every 5 minutes. Show each open house time in the listing's own time zone, and keep the MLS disclaimers under the results.

Use these environment variables: IDX_SECRET_KEY (server only), SITE_ORIGIN and SITE_NAME. Never paste a secret key into a chat, and never put IDX_SECRET_KEY in browser code, a URL or a log. No key goes in any page: my pages call my own /api/idx route, made with createListingsRoute from @ruuster/idx/route, which adds my secret key on the server (on a site with no server, the widgets call the API with no key from my approved website address).

Fair housing: describe homes, places and amenities only. Never describe the people who live in an area or who a home or area suits, and never rank schools as a reason to buy.

When you are done, show me what the page says when no open houses are scheduled.
```

## What it builds

- `app/open-houses/page.tsx` with `openHousePeriod=this_weekend` and your market area
- open house times in each listing's own time zone

## How to check it

1. Open `/open-houses` and compare a card's open house time with its listing page.
2. Check the empty state the assistant shows you for a weekend with no open houses.

## Before you paste it

Follow the setup on [Build it with your AI coding assistant](https://help.ruuster.com/idx/build-with-ai) once: `RUUSTER_IDX.md` at the root of your project, the two lines in `CLAUDE.md` or `AGENTS.md`, and your keys in `.env.local`. Never paste a secret key into a chat. Replace the text in square brackets with your own before you send the prompt.
