This guide explains how to start a new AI-assisted SaaS project using AI Dev Operating System.
The intended flow is:
Clone repo → open in IDE → run Claude Code in terminal → paste the first prompt → follow the Project Genesis WizardYou need Git to clone the repository.
Check if Git is installed:
git --versionYou can use any IDE that lets you open a folder and use an integrated terminal.
Recommended options:
- Antigravity — https://antigravity.google/
- Visual Studio Code — https://code.visualstudio.com/
- Cursor — https://cursor.com/
- Windsurf — https://windsurf.com/
The repo is IDE-agnostic. The important part is that you can open the project folder and run Claude Code in the terminal.
Install Claude Code using Anthropic's official documentation:
- Claude Code docs: https://code.claude.com/docs
After installing, confirm it works from your terminal.
Depending on your installation method, you should be able to run Claude Code from inside your project folder.
There are two paths. Path A is strongly recommended.
-
Open https://github.com/lglucas/ai-dev-operating-system in your browser.
-
Click the green "Use this template" button (top right) → "Create a new repository".
-
Pick a name (e.g.
my-new-saas). Recommend setting it Private for early-stage projects (you can flip to public later). -
Don't add a README,
.gitignore, or license — the template already has those. -
Click "Create repository". GitHub creates a NEW repo in your account, with no shared history with our OS repo.
-
Now clone YOUR new repo locally:
git clone https://github.com/SEU-USUARIO/my-new-saas.git cd my-new-saasPowerShell on Windows:
git clone https://github.com/SEU-USUARIO/my-new-saas.git cd my-new-saas
originis already pointing to YOUR repo. No detach needed. No risk of accidentally pushing to the OS repo.
If for some reason you can't use the template button (no GitHub account yet, working offline, etc.):
git clone https://github.com/lglucas/ai-dev-operating-system.git my-new-saas
cd my-new-saasPowerShell on Windows:
git clone https://github.com/lglucas/ai-dev-operating-system.git my-new-saas
cd my-new-saasorigin now points to our OS repo. Before any commit, you MUST detach. Either:
-
Run the detach script (educational + interactive):
bash scripts/detach-os.sh # Linux/macOS powershell scripts/detach-os.ps1 # Windows
-
Or let WIZARD Stage 0.5 walk you through it on first run.
The script (and the wizard) will explain what origin is, how to create a new GitHub repo, how to swap remotes, and how to keep .env out of the repo.
Open the cloned folder in your IDE.
For example:
my-new-saas/Make sure you can see files such as:
START-HERE.md
WIZARD.md
CLAUDE.md
.claude/
docs/
README.mdOpen the integrated terminal inside your IDE.
Make sure the terminal is located inside the project folder.
Check with:
pwdOn Windows PowerShell:
pwdYou should be inside your cloned project folder.
Then start Claude Code.
Paste this prompt into Claude Code:
Claude, vamos iniciar um novo projeto. Leia primeiro o arquivo START-HERE.md e siga exatamente as instruções dele.Claude should then:
- Read
START-HERE.md. - Read the operating-system structure.
- Understand the
.claude/rules, agents, skills, and commands. - Read
WIZARD.md. - Start the Project Genesis Wizard.
- Ask you to introduce yourself and describe your project.
The wizard will guide you through:
- Project ideation.
- Ideation polish.
- Exactly 10 strategic questions.
- Research plan approval.
- Competitor and market research.
- Red-team critique.
- Business Plan v0.0.1.
- Human review.
- Business Plan v0.0.2.
- Product Brief.
- Technical Plan.
- 14–20 sprint roadmap.
- Prototype Lab with 3 HTML directions.
- Sprint 0 / first coding sprint.
The wizard intentionally prevents coding too early.
The repo includes optional scripts.
Windows PowerShell:
.\scripts\init-project.ps1Mac/Linux/Git Bash:
chmod +x ./scripts/init-project.sh
./scripts/init-project.shThese scripts are optional. The primary workflow is still Claude Code + START-HERE.md.
Do not do this.
First run the Project Genesis Wizard. The wizard exists to avoid chaotic AI-generated code.
The Business Plan is not just for investors. It helps the AI understand the product, market, positioning, pricing, and risks.
The Product Brief is the operational product document. It guides implementation more directly than the Business Plan.
Keep prototypes inside prototype-lab/. They are disposable references, not the real app.
Never commit .env, API keys, credentials, private keys, database passwords, or service tokens.
Use .env.example for variable names only.
When Claude asks about your project, answer naturally.
Example:
Meu nome é Ana. Quero criar um SaaS chamado ExampleOS para pequenos escritórios organizarem atendimento, cobrança e documentos.
A ideia é vender assinatura mensal. O cliente principal seria o dono de um pequeno negócio que hoje controla tudo no WhatsApp e planilhas.
Ainda não tenho certeza sobre o stack, mas gostaria de algo simples, barato de manter e fácil de evoluir com IA.The wizard will polish the idea and ask the next 10 questions.