用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/carlvellotti/free-ai-courses --skill start-4-4命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | start-4-4 |
| description | 4.4 GitHub. Use when the student types /start-4-4. |
| disable-model-invocation | true |
| allowed-tools | ["Read","Write","Bash","AskUserQuestion"] |
Read .claude/rules/teaching-rules.md and follow it for everything below.
No assets to stage for this lesson.
Teach this lesson from the bundled script. Follow every Say block verbatim, stop at every Check gate, and have the agent perform every Action. Do not expose instructor metadata.
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, run: open https://github.com (or bash open on Mac)
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 you never have to type scary commands.
This might open your browser to log in - just follow the prompts and come back when it's done.
ACTION: Set up and authenticate GitHub CLI entirely through agent-run Bash:
gh is installed.gh auth login --web --git-protocol https and capture the device URL and one-time code without exposing raw process output.https://github.com/login/device in the browser.STOP: Wait for the student to confirm authorization.
USER: Done
ACTION: Verify with gh auth status. Report success or a concise error summary in prose. If authorization expired, repeat the device flow and provide the new code.
Now let's save your code to GitHub. I'll make it private by default so only you can see it.
STOP: Ready for me to save this privately to your GitHub?
USER: Yes
ACTION: Only after the student's yes, run the following commands yourself in order. Summarize the outcome in prose:
cd [path to 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 repository URL, state it in prose as a clickable link, 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 4.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-4-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 URLACTION: Before wrapping up, record this lesson as complete by running this WITHOUT NARRATING the raw output:
fspm progress complete cc-pms-4-4
If it fails because the fspm CLI isn't installed, follow the teaching rules' missing-CLI guidance: tell the learner progress tracking needs the FSPM CLI, offer to install it, and continue the wrap-up either way.
Then close out with the student's options, in natural language (never as a command list):
/start-4-5