Build with AI
Prompt: open houses this weekend
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 page, rendered on your server.
The prompt
Prompt
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.tsxwithopenHousePeriod=this_weekendand your market area- open house times in each listing's own time zone
How to check it
- Open
/open-housesand compare a card's open house time with its listing page. - 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 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.