start-3-3

GitHub

引导用户构建并迭代测验应用。通过初始化 Next.js 项目结构,演示“先规划后执行”工作流,最终根据需求文档生成完整的测验应用代码。

codex-pm-course/.agents/skills/start-3-3/SKILL.md carlvellotti/free-ai-courses

触发场景

需要初始化 Next.js 测验项目结构 希望展示先规划再编码的开发流程 要求基于 REQUIREMENTS.md 构建完整测验应用

安装

npx skills add carlvellotti/free-ai-courses --skill start-3-3 -g -y
更多选项

非标准路径

npx skills add https://github.com/carlvellotti/free-ai-courses/tree/main/codex-pm-course/.agents/skills/start-3-3 -g -y

不安装直接使用

npx skills use carlvellotti/free-ai-courses@start-3-3

指定 Agent (Claude Code)

npx skills add carlvellotti/free-ai-courses --skill start-3-3 -a claude-code -g -y

安装 repo 全部 skill

npx skills add carlvellotti/free-ai-courses --all -g -y

预览 repo 内 skill

npx skills add carlvellotti/free-ai-courses --list

SKILL.md

Frontmatter
{
    "name": "start-3-3",
    "description": "Module 3.3: Build & Iterate. Scaffolds and builds the quiz app, then iterates with feedback."
}

Setup

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-3/assets/* . 2>/dev/null || true

Teaching Rules

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.

3.3 Build & Iterate

This is it. Time to build your quiz.

I'm going to handle all the technical setup. You just watch the magic happen.

STOP: Ready?

USER: Yes


First, I need to set up the project structure - this creates all the starter files we need.

ACTION: Run the following command in quiz-project/:

npx create-next-app@latest . --typescript --tailwind --eslint --app --no-src-dir --import-alias "@/*" --yes

(The --yes flag accepts all defaults automatically)

Done! Open Files and look inside:

quiz-project/

You should see a bunch of new files there. Don't worry about understanding all of them. The quiz-project/app/ folder is where your quiz will live. Everything else is just configuration.

STOP: Do you see the new files?

USER: Yes


Before I build, let me show you something useful: plan-first workflow.

For big tasks, it helps to see what I'm going to do before I do it. In Codex, you can ask me to propose a plan first, review it, then approve execution.

STOP: Ready to have me plan before building?

USER: Ready

Perfect. I'll show you my plan, you approve it, then I execute. Let's do it.

STOP: Ask me to build the quiz based on the requirements.

USER: Build my quiz based on quiz-project/REQUIREMENTS.md

ACTION: Read quiz-project/REQUIREMENTS.md, then create a plan showing:

  • Components to create (quiz page, question component, results page)
  • Styling approach based on their chosen style
  • Quiz logic implementation (how answers map to results)
  • Any images/icons to include

Present the plan clearly with bullet points.

Here's my plan. I'll create the quiz page, the question components, the results page, and style everything according to your preferences.

STOP: Does this look right? Any questions before I start?

USER: Looks good / [Questions]

ACTION: Answer any questions they have, then ask for approval to execute the plan.


Building now. This takes a minute or two. You'll see me creating and editing files. Just let me work.

ACTION: Build the full quiz application based on quiz-project/REQUIREMENTS.md:

  1. Create the main quiz page in quiz-project/app/page.tsx
  2. Create quiz components (QuizQuestion, Results, etc.)
  3. Implement the quiz logic (tracking answers, calculating results)
  4. Apply the visual style they chose
  5. Add any images/icons based on their preference
  6. Make sure the result display matches their choice (single vs percentages)

Take your time and build it properly. This is the core deliverable.

Done! Your quiz is built. Now let's see it in action.


I'm going to start your quiz running and open it in your browser.

ACTION: Run npm run dev in background in quiz-project/

ACTION: Wait a few seconds for the server to start, then open http://localhost:3000 if browser opening is available, otherwise ask the student to open it manually in browser

Your quiz should now be open in your browser:

http://localhost:3000

This "localhost" link only works on YOUR computer - it's a temporary local version. We'll make it public later when we deploy.

STOP: Do you see your quiz?

USER: Yes! / [Issues]

ACTION: If they have issues:

  • Browser didn't open → Tell them to manually go to http://localhost:3000
  • Build errors → Check the terminal output, fix errors
  • Blank page → Check for JavaScript errors in browser console

Look at that! You have a working quiz!

Take it for a spin - answer the questions and see your result.

STOP: Try the quiz. Does it work? Do you get a result at the end?

USER: Yes it works! / [Something's wrong]

ACTION: If something's wrong, debug together. Common issues:

  • Result not showing → Check the logic implementation
  • Wrong personality mapping → Review the answer mappings
  • Style issues → Can fix in iteration

This is normal - first versions often need fixes. Let's get it working first, then polish.

Amazing! You just built a web app. Let that sink in.


The first version is never perfect. Let's iterate - make 2-3 changes until you love it.

Here's a trick: you can take a screenshot, attach it, drag it into the chat, or paste it here, then tell me what to change.

Circle something, point at it, whatever - just show me what you want different.

This is also a great way to show me bugs. If something looks wrong, screenshot it and paste it here.

If you're not sure what to change, here are some ideas:

  • Add confetti or animation when you get your result
  • Change the colors or fonts
  • Tweak the wording on questions or results
  • Add images for each result
  • Change the layout or spacing
  • Add a progress bar

STOP: Take a screenshot of your quiz, attach or paste it into chat, and tell me what you'd like to change.

USER: [Pastes screenshot and describes change]

ACTION: Make the requested change to the code

Done! Refresh your browser to see the update.

STOP: How's that? Want to change anything else?

USER: [More changes / Happy with it]

ACTION: Keep iterating until they're satisfied. 2-3 rounds is typical. Common requests:

  • Visual tweaks (colors, spacing, fonts)
  • Animation additions
  • Wording changes
  • Layout adjustments

Look at that - it's YOUR quiz, exactly how you want it.

This is the iteration loop: screenshot → describe → change → refresh → repeat.

This is how real product development works. And with AI, each iteration takes seconds instead of days.

STOP: Happy with how it looks?

USER: Yes


What you just learned: How to go from requirements to working product, then iterate until it's exactly what you want.

Where else this applies:

  • Building any web project - landing pages, tools, prototypes
  • Testing ideas quickly before investing in "real" development
  • Working with designers/developers - clear visual feedback speeds everything up

Next up: In 3.4, we save your code to GitHub. Right now it only exists on your computer. We're going to put it in the cloud so it's backed up and ready for deployment.

STOP: Ready to save your work? Say "let's do GitHub" or type /start 3 4

USER: Let's do GitHub


Sendoff

ACTION: Before wrapping up, record this lesson as complete by running this WITHOUT NARRATING the raw output:

fspm progress complete codex-pms-3-3

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):

  • Mention they can leave feedback on this lesson anytime — if they have some, collect it conversationally and submit it with the CLI (see teaching rules).
  • Remind them, briefly and only if it fits the moment, that they can always ask for a recap, a quiz on what they just did, a saved note, or where they stand in the course.
  • End with the next step: when you're ready for the next lesson, type:

/start 3 4


Important Notes for Codex

  • The npm run dev command should run in background so the user can keep talking
  • localhost:3000 is the default Next.js port - if something's already using it, Next.js will suggest another port
  • When they paste screenshots, actually look at them and make specific changes
  • In Codex Desktop App, screenshots can be attached, dragged into chat, or pasted
  • Keep iterations focused - don't suggest too many changes at once
  • If the quiz has bugs, fix them before moving to visual polish
  • The plan-first workflow matters: show the plan, wait for approval, then execute

Success Criteria

  • Next.js project is scaffolded in quiz-project/
  • Quiz is fully built based on quiz-project/REQUIREMENTS.md
  • Dev server is running and quiz is viewable at http://localhost:3000
  • User has done at least 1-2 iterations
  • User is satisfied with how their quiz looks
  • User is ready for GitHub

版本历史

  • 8a6f91b 当前 2026-07-31 07:45
  • 058c617 2026-07-23 00:53

同 Skill 集合

claude-code-everyone-course/course-materials/.claude/skills/start-1-1/SKILL.md
claude-code-everyone-course/course-materials/.claude/skills/start-1-2/SKILL.md
claude-code-everyone-course/course-materials/.claude/skills/start-1-3/SKILL.md
claude-code-everyone-course/course-materials/.claude/skills/start-1-4/SKILL.md
claude-code-everyone-course/course-materials/.claude/skills/start-1-5/SKILL.md
claude-code-everyone-course/course-materials/.claude/skills/start-1-6/SKILL.md
claude-code-everyone-course/course-materials/.claude/skills/start-1-7/SKILL.md
claude-code-everyone-course/course-materials/.claude/skills/start-1-8/SKILL.md
claude-code-everyone-course/course-materials/.claude/skills/start-2-1/SKILL.md
claude-code-everyone-course/course-materials/.claude/skills/start-2-2/SKILL.md
claude-code-everyone-course/course-materials/.claude/skills/start-2-3/SKILL.md
claude-code-everyone-course/course-materials/.claude/skills/start-2-4/SKILL.md
claude-code-everyone-course/course-materials/.claude/skills/start-2-5/SKILL.md
codex-for-pms-skills-bonus/.agents/skills/auq/SKILL.md
codex-for-pms-skills-bonus/.agents/skills/convert-doc/SKILL.md
codex-for-pms-skills-bonus/.agents/skills/draft-and-humanize/SKILL.md
codex-for-pms-skills-bonus/.agents/skills/draft-followups/SKILL.md
codex-for-pms-skills-bonus/.agents/skills/humanizer/SKILL.md
codex-for-pms-skills-bonus/.agents/skills/marketing-psychology/SKILL.md
codex-for-pms-skills-bonus/.agents/skills/news/SKILL.md
codex-for-pms-skills-bonus/.agents/skills/process-meetings-plus/SKILL.md
codex-for-pms-skills-bonus/.agents/skills/standup/SKILL.md
codex-for-pms-skills-bonus/.agents/skills/start-skills-1/SKILL.md
codex-for-pms-skills-bonus/.agents/skills/start-skills-2/SKILL.md
codex-for-pms-skills-bonus/.agents/skills/start-skills-3/SKILL.md
codex-for-pms-skills-bonus/.agents/skills/start-skills-4/SKILL.md
codex-for-pms-skills-bonus/.agents/skills/start-skills-5/SKILL.md
codex-for-pms-skills-bonus/.agents/skills/write-proposal/SKILL.md
codex-for-pms-skills-bonus/.agents/skills/writing-voice/SKILL.md
codex-pm-course/.agents/skills/start-1-1/SKILL.md
codex-pm-course/.agents/skills/start-1-2/SKILL.md
codex-pm-course/.agents/skills/start-1-3/SKILL.md
codex-pm-course/.agents/skills/start-1-4/SKILL.md
codex-pm-course/.agents/skills/start-1-5/SKILL.md
codex-pm-course/.agents/skills/start-1-6/SKILL.md
codex-pm-course/.agents/skills/start-2-1/SKILL.md
codex-pm-course/.agents/skills/start-2-2/SKILL.md
codex-pm-course/.agents/skills/start-2-3/SKILL.md
codex-pm-course/.agents/skills/start-3-1/SKILL.md
codex-pm-course/.agents/skills/start-3-2/SKILL.md
codex-pm-course/.agents/skills/start-3-4/SKILL.md
codex-pm-course/.agents/skills/start-3-5/SKILL.md
course-materials/.claude/skills/pptx/SKILL.md
course-materials/.claude/skills/start-1-1/SKILL.md
course-materials/.claude/skills/start-1-2/SKILL.md
course-materials/.claude/skills/start-1-3/SKILL.md
course-materials/.claude/skills/start-1-4/SKILL.md
course-materials/.claude/skills/start-1-5/SKILL.md
course-materials/.claude/skills/start-1-6/SKILL.md

元信息

文件数
0
版本
8a6f91b
Hash
bdb55c2e
收录时间
2026-07-23 00:53

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-31 20:57
浙ICP备14020137号-1 $访客地图$