Stanford University · Fall 2026

CS146S: The Modern Software Developer

每周课表 · 讲次材料 · 阅读清单

Time
周二、周四 17:30–18:20
每周两次课
Classroom
Tue 370-370 · Thu STLC 111
以官网最新通知为准
Units
3 units
CS111/CS161 同等编程经验
Instructor
Mihail Eric
Head TA:Isaac Kan

每周课表

点击 Slides、Transcript、Prompts、主页或阅读材料即可打开

周次 / 日期 周二 周四 主题 阅读
W1 Tue 9/22、Thu 9/24
课程介绍 + 用 200 行代码实现 Claude Code
顶尖 coding agent 如何设计:系统提示词深入解析
Coding Agent 内部机制
  • LLM 到底是什么,以及 agent loop 在底层如何运转
  • 核心工具集(read、write、edit、bash)与任务流转
  • 生产级 coding agent 的 system prompt 与 tool definitions
Building a Coding Agent 视频Lessons from Building Claude Code 中译Dive into Claude Code 中译
W2 Tue 9/29、Thu 10/1
高级提示技巧 + Agentic 开发框架(RePPIT、spec-driven development)
MCP 与 tool calling 完整入门(理论、配置、进阶工具设计)
高级上下文工程
  • 高级提示技巧及适用场景
  • RePPIT 与 spec-driven development
  • MCP:servers、clients、tools、transport
  • 面向 agent 使用体验的工具设计
The Context Tax: When to Compact 中译OpenSpec 中译Superpowers 中译Enterprise MCP (Cloudflare) 中译
W3 Tue 10/6、Thu 10/8
Agent Skills 全解(含 web skills)
嘉宾:Lee Robinson(Model Behavior @ SpaceX)
Agent Skills 与 CLI
  • Skill 与 SKILL.md + scripts 如何编码工作流
  • Web skills 与仓库之外的 agent 能力
  • 在 CLI 中高效工作
pstack 中译Matt Pocock's Skills 中译browse.sh 中译
W4 Tue 10/13、Thu 10/15
定制 Agentic 配置(CLAUDE.md、AGENTS.md、hooks)
嘉宾:Boris Cherny(Creator of Claude Code @ Anthropic)
定制 Agent 与代码仓库
  • CLAUDE.md 与 AGENTS.md 的分工
  • 用 hooks 做 lint gate、测试与护栏
  • Subagent 模式:planner / implementer / reviewer
I Still Prefer MCP Over Skills 中译AGENTS.md (Factory Docs) 中译Steering Claude Code: Skills, Hooks, Rules, Subagents, and More 中译Writing a Good CLAUDE.md 中译
W5 Tue 10/20、Thu 10/22
让仓库达到 Agent-ready(结构、文档与检查)
嘉宾:Eno Reyes(CTO @ Factory)
Agent-Ready 代码库
  • Agent-ready 仓库的结构、文档、测试与检查
  • 评估与审计仓库 readiness
  • 真实仓库中阻碍 agent 的常见缺口
Making Codebases Agent Ready 视频Making Ergonomic Repositories 中译
W6 Tue 10/27、Thu 10/29
Agentic code review:最佳实践与架构
嘉宾:Silas Alberti(Chief Research Officer @ Cognition)
Agent 代码审查
  • AI review 擅长什么、容易漏什么
  • 审查架构与自定义规则
  • 把 AI review 嵌入团队 PR 流程
Layered Code Review and Risk-Based Human Oversight 中译Coordinating Specialist Review Agents at Scale 中译Beyond the Diff: Context, Testing, and Model Selection 中译
W7 Tue 11/3、Thu 11/5
停课:学校假期
嘉宾:Isaac Evans(CEO @ Semgrep)
安全(Security)
  • SAST / SCA、依赖与密钥泄露漏洞
  • Prompt injection 与 agent 特有攻击面
  • Agent 辅助的漏洞分诊与修复
—
W8 Tue 11/10、Thu 11/12
Background agents:异步启动任务
嘉宾:Rajesh Bhatia(Senior Director @ Cloudflare)
后台 Agent
  • 异步、云端委派的 agents
  • 管理并行 agent fleet
  • Issue-to-PR 流水线与 Slack / Linear / GitHub 触发器
Spotify: From Migration Scripts to Agent Fleets 中译Stripe: From Slack Message to Review-Ready PR 中译Ramp: Giving Agents the Tools to Prove Their Work 中译LangChain: Inside an Open-Source Software Factory 中译
W9 Tue 11/17、Thu 11/19
The Software Factory and self-improving software systems
嘉宾:Michele Catasta(President @ Replit)
The Software Factory
  • The software factory as an operating model
  • Self-running, self-improving software systems
  • Running and securing agents post-deployment
From Issue to Pull Request: A Warp Factory Example 中译The Software Factory 中译OpenInspect 中译WarpBench: Evaluating Coding Agents 中译
W10 Tue 12/1、Thu 12/3
Building the AI-native team(MCP portal、LLM gateway、组织模式、成本优化、模型路由)
Software taste and what's left for humans
The AI-Native Team + The Future
  • MCP portal 与集中化、带权限的工具访问
  • LLM gateway、模型路由与成本优化
  • 组织级落地模式
  • Software taste 与人类判断力的长期价值
—
说明:根页面当前为 Fall 2026;Fall 2025 归档的课表与本期不同。 Syllabus 中暂未列出 Fall 2026 的作业;第 8–9 周已补充阅读材料,第 10 周暂无阅读材料。
访问权限:部分 Google Slides 标记为 gated,需要 Stanford 账号权限;Transcript 与课程官网可直接访问。