Level 1

Getting Started with Claude Code

A step-by-step guide for beginners who just installed Claude Code or have never used Beamer before.

📚 What You'll Create

By the end of this guide, you will have generated a complete set of lecture notes for a your lecture.

🛠 Step-by-Step Instructions

Follow these steps carefully to generate your lecture materials.

1

Create a folder for your course

Create a new folder with your course name. This will be the working directory for Claude Code.

terminal
mkdir DataStructure
💡 Replace DataStructure with your actual course name (e.g., Algorithms, MachineLearning).
2

Open Terminal and navigate to the folder

Use the cd command to change directory to your newly created folder.

terminal
cd DataStructure
3

Execute Claude Code

Start Claude Code in your project folder.

terminal
claude
If this is your first time running Claude Code, it will open your browser for authentication. Log in with your Claude.ai account.
4

Type the following prompt

Copy and paste this prompt into Claude Code.

This structured prompt will guide Claude to generate your lecture materials.

prompt
Context:
I will teach data structure for undergraduate students. 
I need to generate lecture note and slides.

Role:
You are an instructor who generate lecture note and slide for data structure lecture.
The slide is generated using beamer. Use a basic beamer template.

Command:
I need you to sequentially do the following three steps:

1. Generate a roadmap.md file that illustrate a roadmap for learning data structure course.

2. Generate a folder 'topics/' and do the following three in the folder:

  2-1. Based on the learning roadmap, create a list of markdown files for each topic.
  2-2. For each topic, write an introduction and list of knowledge points.
  2-3. In each file, explain the knowledge points in detail.

3. Generate a folder 'slides/Topic1' and write a Beamer Latex file for the first topic.
   Use the contents in 'topics/' folder (i.e., topic1) as the source.

Format:
Lecture notes written in markdown files as follows:

roadmap.md
topics/topic1.md
topics/topic2.md
....

Beamer Latex file for the first topic:

slides/Topic1/slide.tex
Claude Code will ask for permission to create files and folders. Type y or press Enter to allow each action.
5

Check the output lecture notes and slides

After Claude Code finishes, verify the generated files in your folder.

terminal
# List all files in the current directory
ls -la

# List all files in the topics folder
ls -la topics/

# List all files in the slides/Topic1 folder
ls -la slides/Topic1/
💡 You can also open the folder in your file explorer or code editor to review the generated content.
You should see files like:
roadmap.md — Learning roadmap for the course
topics/
  ├── topic1.md — First topic (e.g., Introduction)
  ├── topic2.md — Second topic (e.g., Arrays)
  ├── topic3.md — Third topic (e.g., Linked Lists)
  └── ... — More topic files
slides/
  └── Topic1/
      └── slide.tex — Beamer slides for Topic 1
6

Compile the slide.tex to generate PDF

Convert your Beamer LaTeX file to a PDF presentation.

Option A: Using local LaTeX compiler

If you have LaTeX installed (e.g., TeX Live, MiKTeX), run:

terminal
cd slides/Topic1
pdflatex slide.tex
💡 Run pdflatex twice if your slides contain a table of contents or cross-references.

Option B: Using online LaTeX compilers

If you don't have LaTeX installed locally, use one of these free online compilers:

To use online compilers: Create a new project, upload your slide.tex file, and click the compile button to generate the PDF.
After compilation, you should have:
slides/Topic1/
  ├── slide.tex — Source LaTeX file
  ├── slide.pdf — Your presentation!
  ├── slide.aux — Auxiliary file
  └── slide.log — Compilation log
7

Review lecture notes in Notion or Obsidian

Open the generated markdown files in Notion or Obsidian to review and refine your lecture notes with rich formatting.

Option A: Using Notion

  1. Open Notion and create a new page for your course.
  2. Click ImportMarkdown and select your roadmap.md and files from the topics/ folder.
  3. Notion will render the markdown with rich formatting, tables, and headings.

Option B: Using Obsidian

  1. Open Obsidian and choose Open folder as vault.
  2. Select your course folder (e.g., DataStructure).
  3. Obsidian will automatically detect all markdown files and display them with rich preview.
💡 Obsidian works directly with local markdown files, so any edits you make are saved in place. Notion imports a copy, so you can freely reorganize without affecting the originals.
🚀 Next Steps

After completing Level 1, generate slides for the remaining topics:

Generate slides for other topics

In Claude Code, ask it to generate slides for the remaining topics:

prompt
Generate a folder 'slides/Topic2' and write a Beamer Latex file for topic2 based on the contents in 'topics/topic2.md'.

Repeat for each topic (Topic3, Topic4, etc.) or ask Claude to generate all at once:

prompt
Generate Beamer slides for all remaining topics. For each topic file in 'topics/', create a corresponding folder in 'slides/' (e.g., slides/Topic2, slides/Topic3, ...) and write a slide.tex file based on the topic content.
Final folder structure:
roadmap.md
topics/
  ├── topic1.md
  ├── topic2.md
  ├── topic3.md
  └── ...
slides/
  ├── Topic1/slide.tex, slide.pdf
  ├── Topic2/slide.tex, slide.pdf
  ├── Topic3/slide.tex, slide.pdf
  └── ...