用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/carlvellotti/codex-pm-course --skill start-3-4命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | start-3-4 |
| description | Module 3.4: GitHub. Saves the quiz project to GitHub. |
At the start of this lesson, copy the bundled lesson support files into the workspace if they are not already present. Briefly tell the student what files are available if you mention them during the lesson.
cp -rn .agents/skills/start-3-4/assets/* . 2>/dev/null || true
Follow the course teaching rules in .agents/skills/_shared/teaching-rules.md. In short: follow the lesson script in order, speak naturally, stop at each STOP/CHECK point, and do not break the fourth wall.
Right now, your quiz only exists on your computer.
If your laptop stops working or you delete the files, it's gone. And we can't put it on the internet yet.
We need to save it to the cloud first. That's what GitHub is for.
STOP: Have you used GitHub before?
USER: Yes / No / A little
GitHub is like Google Drive, but for code.
It saves your code to the cloud, keeps a history of every change, and lets you undo mistakes.
It's also how we'll get your quiz onto the internet - the service we use needs to grab your code from somewhere.
Your project on GitHub is called a "repository" (or "repo" for short). You'll hear developers use that word a lot.
STOP: Make sense?
USER: Yes
First, you need a GitHub account.
STOP: Do you have a GitHub account? If not, I can open the signup page for you.
USER: I have one / Open it for me / I'll do it myself
ACTION: If they want it opened, open https://github.com if browser opening is available; otherwise ask the student to open it manually.
STOP: Let me know when you have an account and are ready to continue.
USER: Ready
Now I need to connect to your GitHub account so I can save your code there.
I'm going to download some tools that let me work with GitHub directly, so I can handle the git workflow for you.
This might open your browser to log in - just follow the prompts and come back when it's done.
ACTION: Set up GitHub CLI:
gh --version
If NOT installed:
brew install ghOnce installed, authenticate visibly:
gh auth login --web --git-protocol https
open https://github.com/login/device
STOP: Let me know when you've authorized it.
USER: Done
ACTION: Verify authentication worked:
gh auth status
If successful, continue. If not authenticated, troubleshoot:
Now let's save your code to GitHub. I'll make it private by default so only you can see it.
ACTION: Run the following commands in order:
cd quiz-project
git init
git add .
git commit -m "Initial commit - coffee personality quiz"
gh repo create quiz-project --private --source=. --push
Done! Your code is now saved to GitHub. Developers call this "pushing" your code - you're pushing it up to the cloud.
Let me open it for you so you can see it.
ACTION: Get the repo URL and open it:
gh repo view --web
(This opens the GitHub repo in your browser)
STOP: Do you see your project on GitHub?
USER: Yes!
Your quiz is now backed up and ready to go live.
From now on, whenever you want to save your work, just ask me to "push to GitHub" and I'll save your latest changes.
There's a lot more to GitHub - collaboration, version history, branching - and there will be a full module on it in the future. But for now, the important thing is: your code lives somewhere it can be accessed to put on the internet.
That's exactly what we're doing next.
Next up: In 3.5, we put your quiz on the internet! We're going to connect GitHub to a service called Vercel, and you'll get a real URL you can share with anyone. This is the finish line.
STOP: Ready to go live? Say "let's go" or type /start 3 5
USER: Let's go
--private flag is important - users don't want their quiz code public by defaultgh repo view --web command is much cleaner than trying to construct the URL