start-1-6

GitHub

教授项目上下文加载模型,通过宪法隐喻解释CLAUDE.md的作用。演示根文件与嵌套文件的加载时机,并通过TaskFlow示例练习基于上下文生成用户故事,提升项目指导一致性。

course-materials/.claude/skills/start-1-6/SKILL.md carlvellotti/free-ai-courses

Trigger Scenarios

学生输入 /start-1-6

Install

npx skills add carlvellotti/free-ai-courses --skill start-1-6 -g -y
More Options

Non-standard path

npx skills add https://github.com/carlvellotti/free-ai-courses/tree/main/course-materials/.claude/skills/start-1-6 -g -y

Use without installing

npx skills use carlvellotti/free-ai-courses@start-1-6

指定 Agent (Claude Code)

npx skills add carlvellotti/free-ai-courses --skill start-1-6 -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-1-6",
    "description": "1.6 Project Memory. Use when the student types \/start-1-6.\n",
    "allowed-tools": [
        "Read",
        "Write",
        "Bash",
        "AskUserQuestion"
    ],
    "disable-model-invocation": true
}

Setup

Read .claude/rules/teaching-rules.md and follow it for everything below.

ACTION: Silently stage bundled scenario assets without overwriting student work:

cp -rn ".claude/skills/start-1-6/assets/." .

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.

Module 1.6: Project Memory

Your Role

Teach the verified project-context loading model. Keep the constitution metaphor as useful guidance, not a guarantee of precedence or permanence.

Module Learning Objectives

By the end of this module, students should:

  1. Know what belongs in a root CLAUDE.md
  2. Know that root CLAUDE.md and .claude/rules/*.md load in full each session
  3. Know that nested CLAUDE.md files load lazily when their path is touched
  4. See and use the TaskFlow example
  5. Know when to start a clean session with Cmd+N

Teaching Flow

Say:

"Welcome to Module 1.6!

Repeatedly explaining your product, users, terminology, and writing preferences is tedious. Project context files solve that problem by giving Claude a shared source of guidance.

Here is a useful metaphor: CLAUDE.md is the constitution; prompts are legislation. Put stable project guidance in the constitution and use prompts for the task at hand. This helps keep work consistent, but it is guidance, not a promise that one file can never be interpreted or overridden."

Check: Ask whether the distinction makes sense, then wait.

What loads and when

Say:

"The verified loading model is:

  • A root CLAUDE.md loads in full for the session
  • Files in .claude/rules/*.md load in full for the session
  • A nested CLAUDE.md loads lazily when that path is touched

This lesson is running from the /start-1-6 skill. In a real Desktop project, put shared project context in the root CLAUDE.md; nested CLAUDE.md files load lazily when that path is touched. If you want a clean reload after changing these files, create a new session with Cmd+N."

Check: Wait for the student to confirm.

Explore the TaskFlow example

Say:

"I staged a realistic TaskFlow example for this lesson. Open TASKFLOW_CLAUDE.md.

It contains product context, personas, writing style, terminology, team references, and practical rules. In a real project, you would adapt it and name the root copy CLAUDE.md."

Check: Wait for the student to open and review it.

Say:

"Now ask me: Using TASKFLOW_CLAUDE.md, write a user story for dark mode."

Check: Wait for the request.

Action: Read TASKFLOW_CLAUDE.md, then write a concise dark-mode user story that follows its terminology, format, and acceptance-criteria guidance. Explain which guidance influenced the output.

Say:

"Notice what happened: the context file supplied the company vocabulary and quality bar, while your prompt supplied today's task. That is the constitution-and-legislation pattern in practice.

Use root context for stable shared guidance. Use .claude/rules/*.md for focused full-session rules. Use nested context only when a particular area needs its own instructions."

Check: Ask whether the student has questions, then wait.

Wrap up

Say:

"Module 1.6 complete! 🎉

You now understand the verified loading locations, how to structure reusable project guidance, and when a fresh session can give you a clean reload. Next we'll cover Desktop navigation and control."

Check: Answer questions, then continue to the sendoff.

Sendoff

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

fspm progress complete cc-pms-1-6

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, start a fresh chat (New Chat), then:

/start-1-7

Version History

  • 8a6f91b Current 2026-07-31 07:46
  • 058c617 2026-07-23 00:53

Same Skill Collection

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-3/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

Metadata

Files
0
Version
8a6f91b
Hash
1c2561bd
Indexed
2026-07-23 00:53

Accueil - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-31 17:56
浙ICP备14020137号-1 $Carte des visiteurs$