================================================================================ TUTORIAL Introduction to Claude AI-Assisted Web Development for Beginners (v3) Date: November 29, 2026 ================================================================================ ================================================================================ PHASE 1: GETTING STARTED ================================================================================ -------------------------------------------------------------------------------- STEP 1: Subscribe to "Claude Pro" -------------------------------------------------------------------------------- Visit https://claude.ai/upgrade, or go to https://claude.ai/, sign in, and choose the Pro plan. -------------------------------------------------------------------------------- STEP 2: Install the Claude Desktop App -------------------------------------------------------------------------------- Download the Claude desktop app for Windows from https://claude.ai/download. Install the app, launch it, and sign in with your Claude account. You will work in the app's Code tab (). -------------------------------------------------------------------------------- STEP 3: Configure Claude Permissions -------------------------------------------------------------------------------- Open Settings > Code, scroll to Local development, and turn on Allow bypass permissions mode. [NOTE] Bypass permissions mode lets Claude run commands and edit files without asking you each time. Only use it on your own computer for projects like this one. ================================================================================ PHASE 2: THE SETUP MAGIC SPELL - INSTALL & UPGRADE TOOLS (ONE-TIME OR WHENEVER UPDATING) ================================================================================ -------------------------------------------------------------------------------- STEP 4: Exit Claude Completely & Restart as Administrator -------------------------------------------------------------------------------- The Setup Magic Spell installs (or upgrades) the Hearth Portable Web Server as a background Windows Service, which requires Windows Administrator permission. [IMPORTANT: Clicking [X] does NOT exit Claude!] Clicking the top-right [X] button only hides the window in the background. If Claude is still running in the background when you click "Run as administrator", Windows will simply reopen the old non-admin window instead of granting Administrator access. 1. Exit Claude from the System Tray: Look at the bottom-right corner of your Windows taskbar near the clock (click the small "^" arrow if icons are hidden), right-click the Claude icon, and click Exit. 2. Reopen with "Run as administrator": Open the Windows Start menu, right-click Claude, and choose More > Run as administrator. Click Yes when Windows asks for permission. -------------------------------------------------------------------------------- STEP 5: Cast the Setup Magic Spell (2-in-1 Install + Upgrade Prompt) -------------------------------------------------------------------------------- Claude has two modes at the top of the sidebar: Chat mode (for general conversation) and Code mode (, for coding and working with local files). Switch to Code mode - we will be using Code mode throughout this tutorial, as Bypass permissions is only available in Code mode. Start a New session in Code mode. Select Sonnet 5.5 (Low) as your model, and set the permission mode to Bypass permissions. [NOTE: Choosing a model] Sonnet 5.5 (Low) is recommended as your everyday default. It gives strong, reliable results for everyday coding while keeping token usage and quota consumption efficient. If you want extra capability for especially complex tasks, you can switch to Claude Opus. Copy and paste The Setup Magic Spell below into the chat box. You can run this exact same prompt on Day 1 for a brand-new PC, and run it again anytime in the future to upgrade your tools to the latest release without wiping your existing websites or saved FTP accounts: >>> BEGIN PROMPT: The Setup Magic Spell (Install & Upgrade Environment) <<< Perform a 2-in-1 fresh installation or safe version upgrade of my AI web development environment: 1. Check, Download & Upgrade Tools in C:\tools\: Check the latest GitHub release version against any existing local installation for each tool below (install if missing, upgrade if a newer release exists, or skip download if already on the latest version): - Hearth Portable Web Server (choose the zip with "Bundled-PHP-Python-NodeJS" in its name; ships with both HearthPortableWebServer.Manager.exe and mcp-webserver.exe): https://github.com/ASP-NET-Web-Forms-Club/Hearth-ASPNET-Server/releases/latest -> C:\tools\hearth-web-server\ - MCP-Browser: https://github.com/adriancs2/MCP-Browser/releases/latest -> C:\tools\mcp-browser\ - MCP-SQLite: https://github.com/adriancs2/MCP-SQLite/releases/latest -> C:\tools\mcp-sqlite\ - MCP-FTP: https://github.com/adriancs2/MCP-FTP/releases/latest -> C:\tools\mcp-ftp\ Upgrade safety rules: - Before extracting an update to Hearth, back up C:\tools\hearth-web-server\manager_sites.json if it exists, stop HearthManagerService if running so files are not locked, extract the update, and restore my backed-up manager_sites.json. If this is a brand-new install with no prior user sites, initialize manager_sites.json as an empty JSON array [] (do NOT create any sample or default websites yet). - When upgrading MCP-FTP, preserve the existing C:\tools\mcp-ftp\profiles\ folder so saved FTP accounts and encrypted passwords are never overwritten. - Ensure the root folder C:\www\ exists (leave it empty if new; do not create any website yet). 2. Verify & Configure Bundled Runtimes in User PATH: Test whether python, pip, and node work from any directory via python --version, pip --version, and node --version (ignore the Microsoft Store WindowsApps stub). For each one that does not work, add the bundled Hearth runtime path to the User PATH environment variable (skip any that already work): - C:\tools\hearth-web-server\runtimes\python - C:\tools\hearth-web-server\runtimes\python\Scripts - C:\tools\hearth-web-server\runtimes\node 3. Verify & Install All 4 MCP Servers in Claude Desktop: Locate my Claude Desktop config file at %USERPROFILE%\AppData\Local\Claude-Data\claude_pzs8sxrjxfjjc\claude_desktop_config.json (older/standard installs: %APPDATA%\Claude\claude_desktop_config.json - find whichever path exists on this computer; create the file if it does not exist). Merge the following entries into "mcpServers" (UTF-8 without BOM, preserving any other existing settings and MCP servers): - "mcp-webserver": command "C:\\tools\\hearth-web-server\\mcp-webserver.exe", args [] - "mcp-browser": command "C:\\tools\\mcp-browser\\MCP-Browser.exe", args [] - "mcp-sqlite": command "C:\\tools\\mcp-sqlite\\MCP-SQLite.exe", args [] - "mcp-ftp": command "C:\\tools\\mcp-ftp\\mcp-ftp.exe", args [] 4. Verify & Install Hearth Windows Service + Desktop Shortcut: - First check whether this session is already running with Administrator (elevated) privileges: * If ALREADY running as Administrator, proceed directly to install/update and start the service without interrupting me. * If NOT running as Administrator, pause and explain to me in plain beginner-friendly language BEFORE running the elevated command that a Windows permission window ("User Account Control - Do you want to allow this app to make changes to your device?") will pop up on screen (or blink on the taskbar) and that I should click "Yes" to continue. - Install (or update) and start the Windows Service "HearthManagerService" with BinaryPathName: "C:\tools\hearth-web-server\HearthPortableWebServer.Manager.exe" --service and StartupType: Automatic. - Confirm HearthManagerService status is Running. - Create a shortcut on the Desktop named "Hearth Server Manager" pointing to C:\tools\hearth-web-server\HearthPortableWebServer.Manager.exe. - Report a clear summary of installed/upgraded versions and service status. Do NOT create any website yet. >>> END PROMPT <<< -------------------------------------------------------------------------------- STEP 6: Restart Claude Normally & Verify All 4 MCP Tools -------------------------------------------------------------------------------- Once The Setup Magic Spell completes, exit Claude from the system tray (right-click the Claude tray icon > Exit) and reopen Claude normally. Administrator permission is no longer needed for everyday web development! Switch to Code mode (), start a New session, and enter this quick verification check: >>> BEGIN PROMPT: Verification Prompt <<< Are you able to see mcp-webserver, mcp-browser, mcp-sqlite, and mcp-ftp? >>> END PROMPT <<< Expected Outcomes: - If the AI answers "No", restart your computer once so Windows applies the updated PATH environment variables, then test again. - If the AI answers "Yes", your development machine is 100% ready! ================================================================================ PHASE 3: BEGIN YOUR WEB DEVELOPMENT PROJECT ================================================================================ -------------------------------------------------------------------------------- STEP 7: Begin Your Web Development Project (The 3 Project Magic Spells) -------------------------------------------------------------------------------- There are 3 main magic spells (prompts) involved in this section: - First spell: The tech stack - 2nd spell: Your project info - 3rd spell: Upload your files to the web server Explanation in a nutshell: - The tech stack: * Tells the AI to use specific technology, system architecture, and engineering patterns. * This text is provided right below in this tutorial. - Your project info: * Your project name: Any name related to your project (e.g., personal-blog, shop website, billing, stock inventory). * Online web server or shared hosting FTP info (optional for local-only development). * Your project folder on your computer (optional). The default location is C:\www\{your-chosen-project-name}. [IMPORTANT] The First spell (Tech Stack) and 2nd spell (Your Project Info) are cast together in the same prompt! 7.1. First Spell: The Magic Spell for the Tech Stack ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>> BEGIN PROMPT: Magic Spell - Tech Stack <<< This is a specially arranged combination of local tech stack and tools designed to work in orchestration with you for developing and deploying web applications. Follow these standards throughout this conversation: Core Web Tech Stack: php, sqlite (high concurrency: wal mode, sync normal, temp=ram, foreign key off, busy time 10s, transaction BEGIN IMMEDIATE), universal OS font Segoe UI, icon=local host font awesome. Sqlite db auto-created inside /App_Data/ (use "local.db" on localhost/127.0.0.1 and "prod.db" on live server; auto-generate .htaccess & web.config in /App_Data/ to deny public download). Save all code and config files as standard UTF-8 without BOM. Auto-upgrade the SQLite schema on startup: track the schema version with PRAGMA user_version and apply only the new changes in order (new tables, new columns, indexes), so an existing prod.db on the live server is upgraded without losing data. Never require deleting the database. Local runtimes: python, pip, and node.js are already installed and available in user PATH for running scripts or custom tasks. Code structure: keep files modular and under ~600 lines each (split by logical responsibility: shared DB/layout, page views, API endpoints, CSS, and JS, without over-fragmenting). Place page-specific CSS in /assets/css/.css and static JavaScript in /assets/js/.js (loaded with ?v= using the filesystem path for cache busting) instead of inlining large