AI-Assisted Coding · Module 4Lesson 7

Study explanation · Lesson 07 · 14 min

The technical note and the closeout

Code shows what exists, not always why. Write a six-section decision note with Claude drafting the structure and you owning the trade-offs and open questions, link it from the README, and close the module with an evidence check and a tool-fit reflection.

Listen to this lesson

Hear the lesson read aloud, with each sentence highlighted as you go.

Narrated by an AI voice.

Why a decision note

Code tells a reader what exists, but not always why. A future teammate may look at the status rules, the CI choices or the Docker design and wonder why the project works that way. A short note captures the reasoning before it disappears.

  • An architecture choice for the Task Tracker.
  • Status transition rules and why they are enforced this way.
  • The refactor approach from Module 3.
  • DevOps decisions such as CI scope or Docker design.
  • The lecture’s example: In-Memory Dict as the Task Storage Layer.

Key ideaClaude drafts. You own the voice.

The required structure

Six sections, each answering one question. Keep the Decision clear and unhedged.

Decision note structure · Lecture notes p. 13
SectionQuestion it answers
ContextWhat situation or problem led to the decision?
DecisionWhat did we decide? State it clearly.
Alternatives ConsideredWhat other options were possible?
Trade-offsWhat did the chosen option make easier, and what did it make worse?
ConsequencesWhat changes for the codebase or team because of this choice?
Open QuestionsWhat remains unresolved or worth revisiting later?

Division of labor with Claude

The notes split the work in four pairs. Claude helps with evidence and structure; the judgment stays with you.

Claude drafts, you own · Lecture notes p. 13

Claude

  • Reads the evidence files
  • Drafts the six headings
  • Lists alternatives
  • Suggests open questions

You

  • Choose the evidence that matters
  • Rewrite in your own voice
  • Explain the real trade-offs
  • Write the open questions yourself

Prompt T1 marks Trade-offs and Open Questions “DRAFT - REWRITE IN MY OWN WORDS”; T2 reviews your rewrite without replacing it.

Division of labor with Claude · Lecture notes p. 13
Claude can help with...You must own...
Reading evidence files such as app/main.py, app/models.py, Dockerfile, .github/workflows/ci.yml, and README.md.Choosing which evidence matters and rejecting generic claims.
Drafting the six headings and a first-pass summary.Rewriting the prose so it sounds like your reasoning, not a model-generated summary.
Listing possible alternatives.Explaining the real trade-offs and constraints from this project.
Suggesting open questions.Writing open questions from scratch based on what you would actually revisit.

Close the module with evidence

Prompt X1 closes the module. It uses only the evidence you paste in, marks each deliverable Complete or Missing, lists the evidence you still need, and drafts a tool-fit reflection with one short paragraph per tool. The reflection compares Copilot, Cursor and Claude Code for different kinds of task and does not declare a single winner. Check every item against files, logs, screenshots or notes before you submit.

  • Claude Code setup and CLAUDE.md verification notes.
  • CI green, red and green-again evidence.
  • Docker /health and whoami evidence, and the security log.
  • Documentation claim-vs-reality log.
  • AI review triage summary.
  • Technical note path and working README link.
  • Tool-fit reflection comparing Copilot, Cursor and Claude Code.

Optional: capture a workflow you repeat

The library’s optional OE1 turns a workflow you keep repeating, such as the CI safety review or the claim-vs-reality audit, into a reusable checklist or a project-scoped Claude Code Skill, with explicit safety limits on what it may read, edit and run. The library is clear that this is outside the core lecture sequence. Use it only after the core deliverables are done, and prefer a plain Markdown checklist if Skills are not available in your setup.

Read with careOE1 is optional extension work, not a Module 4 deliverable. Skills are described as the library describes them at its date.

Key takeaways

  • A decision note keeps the why that code cannot show.
  • Use the six sections: Context, Decision, Alternatives, Trade-offs, Consequences, Open Questions.
  • Claude can draft structure; you own the evidence, voice, trade-offs and open questions.
  • Link the note from the README and close the module with evidence, not claims.

Built from the Module 4 lecture notes, prompt library and additional readings; page references are to the supplied PDFs.

Your study checkpoint

Ready to continue?

Mark the lesson complete once you have read it and tried its idea on something real.

Next · Summary