Foundations
Are your machine and basic tools ready?
Call a public API with Python, read JSON, and save your work with Git.
📌 Learning goals
- Get data from an API with Python and read the needed part of the JSON.
- Run a program from a terminal and find the file it created.
- Save a version with Git and return to that version when needed.
- Recognize YAML, JSON, and an API token (secret text that lets a program sign in), and know what must not be shared.
🏃 When to skip
Skip straight ahead if you can do all four: fetch public API data with Python and read the JSON; Git clone/branch/commit/push; move between folders and run a Python script from the command line; read YAML and JSON.
🧭 Lessons on this site
Read in the suggested order; checkboxes share the same browser progress as the /learn track pages.- 01What Is a Terminal: The Name of Everything in That Window You Just Opened
Every install guide's first line is 'open a Terminal.' You open it, see a dark window and a line of text, and don't know where to look next. This isn't a command list — it dissects the screen in front of you line by line: what that window is, why typing can make things happen, what the prompt is telling you, and the invisible but always-active 'current directory.'
13 min - 02Terminal, Shell, CLI: The Difference Between the Three Terms, and Ten Survival Commands
The first line of most AI-tool install guides is 'open a Terminal,' but nobody explains how Terminal, Shell, and CLI actually differ. This article separates the three terms, gives you ten commands that really are enough, shows you how to read error messages, and covers the habit that costs beginners the most.
11 min - 03File Paths: Why Your File 'Cannot Be Found'
The difference between absolute and relative paths, why macOS/Linux and Windows use different separators, what the home-directory shorthand is, why names with spaces need quotes, and how to find where a file actually is on your system. The five most common path errors with their verification methods.
8 min - 04Copying Commands from the Web into the Terminal: Why It Often Fails
You copy a command from a tutorial, paste it into your terminal, and get a syntax error or command not found — this article explains the four most common reasons: smart quotes, truncated multi-line commands, invisible whitespace characters, and pasting into the wrong shell. Each comes with an immediate verification method.
8 min - 05APIs, SDKs and All Those Abbreviations: What Each One Is and When You Will Need It
An API is a published agreement; an SDK is a toolkit in which someone has wrapped the details of calling that API for you. This piece spells out the difference between the two, why some tools require an API key and some do not, the distinction between REST and streaming, and whether you, as a user, ever need to write API calls yourself.
8 min - 06How the Web Talks: HTTP, Status Codes, Headers, and Invisible Protocols
Why API docs are full of status codes and headers. This article walks through a real request to clarify the four parts of HTTP — request, response, status code, header — then explains the difference between WebSocket and polling, why CORS blocks you, what a proxy does in the middle, and why SSH and private keys belong to the same family.
11 min - 07What Is an API Key: It's Both Your Identity and Your Wallet
An API key is a string that tells a remote service 'this request is yours, and the bill goes to you.' This article explains why it's a secret, where it belongs (environment variables or .env — never a chat window), what to do on leakage, why it's usually wired directly to money, and a distinction most beginners miss: logging into the web version is not the same as having an API key.
10 min - 08How to Read an Error Message: Anatomy, Stack Traces, and Exit Codes
Error messages aren't meant to be read word by word — they have a fixed shape: a concluding line, a stack trace, a filename with a line number, and an exit code. This article teaches why you read a stack trace bottom-up, how to find the line that actually failed, six real-shaped examples, and when to paste the whole thing into a search engine, when to give it to an AI Agent, and when to do neither.
19 min - 09Git and GitHub for Beginners: Why AI Tools Keep Asking You to Clone
Why every AI programming tool's installation guide assumes you know Git. This article explains what repository, commit, branch, clone, fork, and pull request each mean, how they connect, and why non-programmers need to understand the first three.
9 min - 10Config Files, Dotfiles, and Package Managers: What Are Those Files Starting with a Dot?
Why every tool asks you to edit a file starting with a dot, the difference between YAML and JSON, why wrong indentation breaks everything, what problems package managers like brew and apt solve, and how much regex you actually need to know.
11 min - 11Set Up Your LLM Dev Environment in Five Minutes
Build a development environment that can call an LLM API from scratch: installing Python, virtual environments, getting an API key, and managing environment variables, then verifying the whole chain with a single curl command. Complete commands for both macOS and Windows, with a focus on keeping your key safe and out of git.
15 min - 12Install Didn't Work: Five Checks to Complete Before Reinstalling
When a tool seems unresponsive after installation, it's almost always one of five reasons: not in PATH, insufficient permissions, network blocked, version mismatch, or low disk space. This guide provides a one-minute check for each reason and explains why 'reinstalling' is rarely the solution.
9 min
🎯 Curated resources
| Resource | Who it's for | Priority | Why |
|---|---|---|---|
Python Python Crash Course | Want to follow a book from the beginning | ⭐⭐⭐⭐ | Code and exercises are free; the complete book must be purchased. |
Python Real Python | Know a little and want to look up one topic | ⭐⭐⭐⭐ | Articles are grouped by topic, so they are easy to find when needed. |
Python Python 官方繁體中文教學 | Finished the first exercise and want correct syntax | ⭐⭐⭐⭐ | Official reference material; it expects some programming knowledge. |
Git Pro Git book | Want to understand Git fully | ⭐⭐⭐⭐ | Free, complete reference book. |
Git Atlassian Git Tutorials | Want to understand branch, merge, and work order with pictures | ⭐⭐⭐⭐ | Common workflows explained with diagrams. |
Git Pro Git — Undoing Things | Made a Git mistake and want to recover safely | ⭐⭐⭐⭐ | Explains which actions can lose data before showing how to recover. |
Git git-flight-rules | Need more answers than the basics give | ⭐⭐⭐ | Collects more Git problems and ways to handle them. |
CLI / Shell The Art of Command Line | Want to learn the command line in order | ⭐⭐⭐⭐ | Goes from beginner commands to more advanced use. |
CLI / Shell Microsoft Learn — PowerShell | Use Windows and want to start from the first step | ⭐⭐⭐⭐ | Microsoft's official PowerShell beginner course. |
CLI / Shell tldr pages | Only want to see how one command is used | ⭐⭐⭐⭐ | Short, copyable examples explain common commands. |
REST API MDN — HTTP | Want to know how an API sends data | ⭐⭐⭐⭐ | Mozilla's maintained reference for HTTP. |
REST API Postman Learning Center | Want to try an API with a graphical tool | ⭐⭐⭐⭐ | See sent requests and received data without writing code first. |
YAML / JSON YAML 官網 | Need to check the correct YAML syntax | ⭐⭐⭐ | Official entry point for syntax and the formal specification. |
YAML / JSON JSON 介紹 | Meeting JSON for the first time | ⭐⭐⭐⭐ | Short examples explain how JSON holds data. |
YAML / JSON jq | Want to organize JSON from the command line | ⭐⭐⭐⭐ | Filters and organizes data returned by an API. |
🛠 Hands-on practice (upstream)
Full exercises & starter codeSummaries from the upstream curriculum; full code, cost, and latency estimates live upstream.
- Main practice: build a small GitHub data tool — fetch public API data with Python, show it, write it to a file, and save the result with Git (no account, token, or paid service needed).
- Extra practice: drill only what you lack — rerun Python with another account, Git branch and push, create src/tests/docs folders from the command line, find JSON fields, write a small YAML config.
- Optional: try GitHub API authentication safely — create a fine-grained token, keep it in an environment variable, see the 401-vs-200 difference, then revoke the token when finished.
✅ Self-check
- The terminal shows a GitHub account and follower count.
- result.txt contains the same result.
- git log --oneline shows the commit you just made.
- The program and commit contain no password or API token.
Adapted from awesome-agentic-ai-zh (MIT, by Wenyu Chiou) v2026.09.23; links checked 2026-08-27. Stars mark learning priority (⭐⭐⭐⭐⭐ = you will get stuck without it), not popularity. MIT License · Curriculum structure last updated 2026-10-03. Content is still being filled in; lessons marked “in progress” are not live yet.