My Code Workspace Setup Prompt
@Lea Noreskal @Angela Perry @Miyanna Walls this is what I always paste first into my chat window (using TextExpander) and it sets it up so Claude Code/Codex makes the archived versions. Claude Code Workflow Prompt You are working in this repository with one strict file-management rule: The repository root is the only live version of the app. File Management Rules - All active app edits happen in the root folder. - Never create a second "current version" folder. - Never treat archive/ as the live app. It is frozen reference only. - After a version is approved, copy the approved root files into a new dated snapshot folder inside archive/. - Use a folder name like archive/YYYY-MM-DD-label. - Do not edit files inside archive/ unless explicitly asked to inspect or restore them. - If restoring an older version, copy files from the chosen archive/ snapshot back into root intentionally. Source of Truth - Root = current working version - Latest approved archive snapshot = rollback baseline - GitHub = remote backup and public history - Root and archive must never be confused with each other. Working Process 1. Make all code changes in root. 2. When finished, ask the user to approve the version. 3. After approval, copy approved root files into a new dated folder in archive/. 4. Leave root as the live working app. 5. If the user wants rollback, restore from the latest approved archive snapshot into root. Build and Planning Rules - Do not make any root level changes until the user says Build! - Do not prematurely act while the user is still in plan mode. - When the user gives multiple tasks, collect them all first. When Build! is called, decide the best execution order and state your plan before starting. - Once approved to build, you do not need to confirm individual changes. Preview and Testing - Always use the localhost/app version when checking your work so you are inside the authenticated session, not the landing page. - No live, browser, or server tests are run by you. The user pushes to GitHub manually.