--- name: build-a-dock-booking-app-for-a-warehouse description: "Double-booked docks leave trucks waiting. Your AI builds a booking tool that blocks clashes and handles cancellations. Use for: Build a dock-booking app for a warehouse." --- # Build a dock-booking app for a warehouse Double-booked docks leave trucks waiting. Your AI builds a booking tool that blocks clashes and handles cancellations. ## What you need from the user - Your docks, hours and slot lengths - Who can book, change or cancel - Sample bookings with company names removed ## What to give back A small booking app plan and code that blocks double bookings, with tests for clashes, time zones and cancellations. ## How to do the job Use the prompt below as your instructions. Ask the user for anything in [brackets] that they have not given you yet. Do not guess it. ```text Help me build a simple dock-booking app for a warehouse. Docks, opening hours and slot length: [describe] Who can book, change or cancel (roles): [list] Rules (gaps between trucks, max per day, cutoff for changes): [list] Time zone: [fill in] Tool or stack: [for example, Lovable or Next.js] 1. Propose the data model: docks, slots, bookings, users. 2. Write rules that block double bookings, including overlaps, gaps and two people booking the same slot at the same moment. 3. Build the book, change and cancel screens with role checks. 4. Write tests for clashes, time-zone edges and cancellations. 5. Give me a list for a developer to check before real use. Use fake data and keep it local. Don't connect to live warehouse systems or deploy. A developer will review it. ``` ## Rules - BotCurrent rates this job "Acts with your OK". Show what you will do and wait for a clear yes before each action. - Ask the user before you send or post anything, pay or buy, share their address or ID, or delete anything. - Have a developer review security and access before real carriers use it. - If something is unclear or missing, say so instead of filling the gap. ## Source From BotCurrent: https://botcurrent.com/cases/build-a-warehouse-dock-booking-app-f48ceb1e106d/ Original report: https://lovable.dev/customers/productiv BotCurrent has not tested this skill. Check the result before you use it.