Set up the workspace
Claude makes the folder, installs everything and gets a page on screen. You paste and wait.
You are going to build a web app with me. This first message is setup only — do not write any feature code yet. Do all of this yourself, including anything that needs a terminal. Do not ask me to choose a folder, a name or a path: pick sensible ones and tell me what you picked. 1. Create a new project folder called "halal-desk" somewhere sensible. Tell me the full path when it exists. 2. Scaffold a Next.js app in it — App Router, TypeScript, Tailwind CSS — and install the dependencies. 3. Run the dev server on port 3100, in case I already have something on 3000. 4. Give it a dark "trading terminal" look: near-black background, purple accent #533E98, no light mode. For now just a layout with a header and an empty home page. 5. Open the page yourself and confirm it actually loads. If it errors, fix it and try again before telling me it is ready. 6. Create PROJECT.md in the folder containing the brief below, the stack, and a "decisions" list you will append to as we go. Read this file at the start of every future message — when the conversation gets long, this is what stops you rebuilding things from memory. The brief, for PROJECT.md: "Halal Desk" — a research workspace for Muslim investors, with Shariah screening running through all of it. Paper trading only: fake money, no real broker. Six screens — dashboard, screener, company detail, portfolio, purification calculator, and a connect-your-API-key screen. The rule that matters most: buying a stock screened NOT HALAL is blocked outright, DOUBTFUL requires an explicit confirmation, and selling is NEVER blocked — trapping someone in a position that has just turned non-compliant is the opposite of helping. When it is running, tell me the folder path, the URL, and what you would build first.
Then check
- You get a folder path and a working localhost URL back — if you got instructions instead, reply “do it yourself”.
- PROJECT.md exists. This one file is why the later prompts still know the rules.