Module 1 of 6
Getting Started
Agentic AI fundamentals, required tools, VS Code, Claude Code, the terminal, Git and your first push to a private GitHub repository.
0% · 0 of 13 lessons
This module prepares your computer and accounts, explains how AI-assisted development actually works, and ends with your first commit pushed to a private GitHub repository. No prior programming experience is assumed.
End-to-end idea-to-production workflow
- Phase 1Set up
- 1. Install VS Code + Claude Code
- 2. Create project directory
- 3. Private GitHub repository
- Phase 2Plan
- 4. Plan app with ChatGPT
- 5. Generate consolidated sprint prompts (LOW GAS)
- Phase 3Build
- 6. Iterate ChatGPT ⇄ Claude Code
- 7. Test locally
- 8. Commit and push
- Phase 4Deploy
- 9. Log in to Railway with GitHub
- 10. Deploy from repository
- 11. Add database if needed
- 12. Configure variables and commands
- 13. Monitor logs and fix
- Phase 5Launch
- 14. Generate Railway domain
- 15. Add custom domain
- 16. Create DNS records
- 17. Validate production
- Phase 6Maintain
- 18. Enhance with the same feedback loop
Agentic AI versus traditional coding
In traditional coding, a developer writes every line by hand, looks up documentation, runs commands and fixes errors personally. Progress depends on the developer's typing speed and knowledge.
Agentic AI changes who does the mechanical work. An AI agent such as Claude Code can read your project files, write and edit code, run terminal commands, execute tests, read error messages and try again — all toward a goal you describe in plain language. It acts in multiple steps rather than answering one question at a time.
| Traditional coding | Agentic AI development | |
|---|---|---|
| Who writes the code | The developer | The AI agent, directed by you |
| Main human skill | Programming | Clear requirements, review and validation |
| Speed of first version | Days to weeks | Hours to days |
| Risk | Human error | Confident AI errors that look correct |
| Who is accountable | The developer | Still you |
What vibe coding means
Vibe coding is a popular term for building software by describing what you want in natural language and letting AI write the code. You focus on the outcome — the "vibe" — rather than the syntax.
Vibe coding works well for prototypes and focused applications. It becomes risky when people skip planning, accept every change without reading the summary, or deploy without testing. This guide teaches a disciplined form of vibe coding:
- Plan before building, so the agent has clear requirements.
- Work in a small number of consolidated sprints.
- Test every sprint yourself before moving on.
- Keep all code in version control so mistakes can be undone.
- Treat AI output as a draft that you verify, not a final answer.
Your role as the human product owner
You do not need to write code, but you do need to own the product. The product owner is accountable for what gets built and whether it works. Your responsibilities:
- Define the goal. What problem are you solving, and for whom?
- Make decisions. Approve scope, technology choices and trade-offs. AI recommends; you decide.
- Move information between agents. Copy prompts from ChatGPT to Claude Code and completion reports back.
- Validate. Run the application, click through workflows, and check that reported results are real.
- Protect secrets and data. Control which credentials exist, where they are stored and who can access them.
- Approve releases. Decide when something is ready for real users.
ChatGPT and Claude Code roles
This guide uses two AI tools with separate jobs. Keeping the roles separate produces better results than asking one tool to do everything.
| ChatGPT (or another capable assistant) | Claude Code | |
|---|---|---|
| Role | Product manager, architect, development coordinator | Engineering agent |
| Works with | Your ideas, plans and completion reports | Your actual project files and terminal |
| Produces | Plans, requirements, sprint prompts, reviews | Code, tests, builds, commits, completion reports |
| Sees your code? | Only what you paste into it | Yes, the project directory you open |
ChatGPT and Claude Code feedback loop
ChatGPT
You — product owner
Claude Code
Required tools and accounts
| Item | Purpose | Cost note |
|---|---|---|
| A Mac (or Windows/Linux computer) | Where you build and test | — |
| Visual Studio Code | Code editor with an integrated terminal | Free |
| Claude Code | Engineering agent | Requires a paid Claude plan or a Claude Console (API) account; the free Claude plan does not include it — check current options on Anthropic's site |
| ChatGPT account | Planning and review | Free and paid tiers exist — check OpenAI's site |
| GitHub account | Stores your code privately | Free tier includes private repositories |
| Railway account | Hosts the deployed application | Usage-based — check Railway's pricing page |
| Domain name (optional) | Custom web address | Annual fee from a domain registrar |
Install Visual Studio Code
- Go to code.visualstudio.com and download the macOS version.
- Open the downloaded file and drag Visual Studio Code into your Applications folder.
- Open VS Code from Applications. If macOS warns that it was downloaded from the internet, choose Open.
- Enable the
codeterminal command: open the Command Palette with Cmd+Shift+P, typeshell command, and choose Shell Command: Install 'code' command in PATH.
Verify it in a new terminal window:
code --versionYou should see a version number. If you see command not found, repeat step 4 and open a new terminal.
Install and authenticate Claude Code
Claude Code is Anthropic's agentic coding tool. It is available as an official VS Code extension and as a command-line tool. The installation method can change, so confirm the current steps in the official Claude Code documentation.
Option A: VS Code extension
- Make sure VS Code is up to date. The extension requires a recent version (1.94 or later when this guide was checked).
- Open the Extensions view with Cmd+Shift+X.
- Search for Claude Code. Confirm the publisher is Anthropic (extension id
anthropic.claude-code) before installing — avoid look-alike extensions. - Click Install.
- Open Claude Code from its icon or the Command Palette. A sign-in screen appears the first time: click Sign in and authorize in your browser. You need a paid Claude plan or a Claude Console account; the free Claude plan does not include Claude Code.
The extension includes what it needs to run inside VS Code. To also run the claude command in a terminal, install the command-line tool (Option B).
Option B: Command-line tool
The official documentation recommends the native installer on macOS and Linux. It updates itself automatically:
curl -fsSL https://claude.ai/install.sh | bashAlternatives documented when this guide was checked:
# Homebrew (does not auto-update; run "brew upgrade claude-code" periodically)
brew install --cask claude-code
# npm (requires Node.js 22 or later; do not use sudo)
npm install -g @anthropic-ai/claude-code@latestVerify the installation, then start Claude Code inside a project folder and follow the browser login:
claude --version
claudeIf something looks wrong, claude doctor prints diagnostics.
Terminal fundamentals
The terminal lets you control your computer by typing commands. On macOS, use the Terminal app (Applications → Utilities) or the VS Code integrated terminal (View → Terminal, or Ctrl + backtick).
| Command | What it does | Example |
|---|---|---|
pwd | Print the folder you are in | pwd |
ls | List files in the current folder | ls -la |
cd | Change folder | cd ~/projects |
mkdir | Make a new folder | mkdir my-app |
open . | Open the current folder in Finder | open . |
code . | Open the current folder in VS Code | code . |
clear | Clear the screen | clear |
Useful habits:
~means your home folder, for example/Users/yourname.- Press Tab to auto-complete file and folder names.
- Press the Up arrow to recall previous commands.
- Press Ctrl+C to stop a running command, such as a development server.
- Read error messages fully. They usually say exactly what went wrong.
Create your local project directory
Keep all projects in one place. This example creates a projects folder in your home directory and a folder for a new application.
mkdir -p ~/projects/my-first-app
cd ~/projects/my-first-app
code .VS Code opens with the empty folder. Open the integrated terminal (Ctrl + backtick) — it starts inside your project folder automatically, which is where Claude Code will work.
Git and GitHub fundamentals
Git is version control software on your computer. It records snapshots of your project called commits, so you can see what changed and return to any earlier version.
GitHub is an online service that stores Git repositories. It acts as the off-computer backup of your code and the source that Railway deploys from.
Key concepts:
- Repository (repo): a project tracked by Git.
- Commit: a saved snapshot with a message describing the change.
- Branch: an independent line of work.
mainis the primary branch. - Remote: a copy of the repository hosted elsewhere, usually called
originon GitHub. - Push: upload local commits to the remote.
- Pull: download new commits from the remote.
- .gitignore: a list of files Git must never track, such as
.envandnode_modules.
Local development and GitHub source control
Your computer
VS Code + Claude Code
Local Git repository
GitHub
Private repository
Railway
Build and deploy
Install Git and the GitHub CLI
Check whether Git is installed:
git --versionIf macOS prompts you to install the Command Line Developer Tools, accept. Alternatively run xcode-select --install.
The GitHub CLI (gh) makes authentication and repository creation easier. With Homebrew installed:
brew install ghWithout Homebrew, download the installer from cli.github.com.
Configure Git once
git config --global user.name "Your Name"
git config --global user.email "you@example.com"
git config --global init.defaultBranch mainAuthenticate with GitHub
gh auth loginChoose GitHub.com, HTTPS, agree to authenticate Git with your GitHub credentials, and log in with a web browser. Confirm:
gh auth statusCreate a private repository
You can create the repository with the GitHub CLI, with the GitHub website, or by asking Claude Code to do it.
Option A: GitHub CLI
Run this inside your project folder after the first commit (next section):
gh repo create my-first-app --private --source=. --remote=origin --pushOption B: GitHub website
- Sign in at github.com and choose New repository.
- Enter the name, choose Private, and do not add a README, .gitignore or license (your local project will provide them).
- Create the repository and copy its HTTPS URL.
Option C: Ask Claude Code
Paste this prompt into Claude Code from your project folder. Replace the placeholders.
GitHub Repository Initialization
- Purpose
- Initialize Git in the current project folder, create a private GitHub repository and push the first commit.
- When to use
- Once, right after creating and opening a new empty project directory in VS Code.
[REPOSITORY NAME][SHORT PROJECT DESCRIPTION]## Operating instructions Use LOW GAS throughout this task. Minimize token consumption, unnecessary analysis, repetitive audits, readiness checks and intermediate reports. Consolidate related implementation activities. Do not create additional planning phases or request approval for routine implementation decisions. Run essential tests, type checking and production builds. Do not compromise security or functionality to reduce model usage. ## Task Set up source control for this project. 1. Initialize the current directory as a Git repository with "main" as the default branch, if it is not already a repository. 2. Create an appropriate .gitignore for a [SHORT PROJECT DESCRIPTION] project. Always exclude .env files, secrets, dependency folders, build output and operating system files. 3. Create a minimal README.md containing the project name "[REPOSITORY NAME]" and a one-paragraph description. 4. Using the authenticated GitHub CLI (gh), create a PRIVATE GitHub repository named [REPOSITORY NAME] if it does not already exist, and set it as the "origin" remote. 5. Create the initial commit and push the main branch. ## Rules - Do not overwrite an existing repository and never force-push. - Never commit credentials, API keys or .env files. - If GitHub CLI authentication is unavailable, stop and give me the exact commands to authenticate (gh auth login) and to finish the setup manually. ## Completion report Report the repository URL, branch, commit hash and any manual actions required.
Initial commit and push
If you used Option A or B, create the first commit manually:
git init
printf ".env\n.env.*\n!.env.example\nnode_modules/\n.DS_Store\n" > .gitignore
echo "# My First App" > README.md
git add .
git commit -m "Initial commit"Then connect and push. With the GitHub CLI, use Option A above. With the website (Option B):
git remote add origin https://github.com/YOUR-USERNAME/my-first-app.git
git push -u origin mainRefresh the repository page on GitHub. You should see README.md and .gitignore.
Module 1 checklist
0 of 9 complete
Next, you will turn an idea into a plan that an AI agent can build reliably.