Theo Marchand AI tutor portrait for this course

Guided course - 5 chapters

Terminal Coding Agents and Repository Automation: A Practical Course with Theo Marchand

Theo Marchand teaches Terminal Coding Agents and Repository Automation through five practical chapters that move from a clear foundation to guided work, applied decisions, and revision. You will finish with a working program, configuration, or technical walkthrough, a tutor-ready capstone, saved notes, and a repeatable way to continue practicing.

Developers, DevOps learners, maintainers, platform teams, technical founders, and experienced students using terminal-first coding agents 2 hrs 30 min Practice and checkpoints Free curriculum
Start or resume

Your course progress

0 of 5 chapters complete

0%
0%

Sign in is required to save progress, checkpoint answers, and notes. Sign in to continue.

Next: chapter 1

What you will learn

Build knowledge, use it, and leave with evidence of progress.

  • Explain the essential Terminal Coding Agents and Repository Automation vocabulary through a connected mental model.
  • Follow and explain a reliable technical problem solving workflow in guided practice.
  • Apply Terminal Coding Agents and Repository Automation to a realistic scenario with visible constraints and tradeoffs.
  • Evaluate and revise a working program, configuration, or technical walkthrough using evidence-based success criteria.
  • Complete a capstone and leave with a specific next-practice plan.

Before you start

  • Comfort using a web browser and basic files
  • No previous programming experience is required unless a chapter says otherwise

Useful materials

  • A laptop or desktop computer
  • A text editor or browser-based coding environment
  • A notes file for test cases and debugging observations

Suggested rhythm

Complete one 30-minute chapter at a time: learn for 10 minutes, practice for 15, then use 5 minutes for the checkpoint and notes.

Course capstone

Working Terminal Coding Agents and Repository Automation mini project

Build a focused Terminal Coding Agents and Repository Automation solution for a clear user need and show how you tested the important behavior.

What you will submit

  1. A working project or documented configuration
  2. Three test cases with results
  3. A concise README explaining decisions and next improvements

How it will be reviewed

  • Core behavior works as intended
  • The solution is understandable
  • Tests cover likely failures
  • Technical choices are explained

Course chapters

Learn, practice, check, and record what matters.

2 hrs 30 min total
  1. Chapter 1

    Terminal Coding Agents and Repository Automation: Foundations and vocabulary

    Build a dependable mental model for Terminal Coding Agents and Repository Automation before trying to memorize isolated details. You will define the essential vocabulary, inspect a worked example, and turn the ideas into a reference you can actually use.

    27 min Not complete

    Learning objectives

    • Explain the purpose of Terminal Coding Agents and Repository Automation in your own words.
    • Use the chapter vocabulary accurately in a short example.
    • Distinguish a strong example from a common misconception.
    • Create a compact reference for later practice.

    Key terms

    1

    Start with the purpose

    Place Terminal Coding Agents and Repository Automation inside a small but realistic software or digital-safety task. Name the result a learner is trying to produce and the constraints that make the skill useful.

    2

    How Terminal Coding Agents and Repository Automation actually works

    These are the load-bearing ideas. Everything later in the course is an application of one of them, so it is worth reading slowly and returning to when something stops making sense.

    • Programs are state changing over time. Most confusion comes from not knowing what a variable holds at a given moment. Reading code as a sequence of state changes, rather than as instructions, is what makes unfamiliar programs understandable.
    • Make it work, then make it clear. Working code that nobody can read becomes unmaintainable within weeks, including for its author. Naming and structure are not decoration; they are how future changes stay cheap.
    • A bug is a disagreement between belief and behaviour. Debugging is the process of finding which of your beliefs about the program is false. Printing or inspecting values converts an argument with the computer into an observation.
    3

    Misconceptions worth clearing early

    Each of these is common, understandable, and expensive to leave in place. Recognising them now saves rework later.

    • Changing several things at once when something breaks. It feels faster than testing one change at a time. Fix: Change one thing, observe, and revert it if the behaviour does not move; keep the loop small.
    • Reading code without running it. Code looks like it does what it was named to do. Fix: Run it with a value you can predict by hand, then compare the real output with your prediction.
    • Treating an error message as noise. Long stack traces look intimidating and unspecific. Fix: Read the first line and the file and line number; that pair usually names the actual problem.
    4

    Build the mental model

    Connect the key terms as a process rather than a word list. Use this sequence: decompose the problem, build one testable step, inspect the result, and debug deliberately.

    5

    Catch the common miss

    Compare a surface-level attempt with one that shows correct behavior, readable structure, useful tests, and an explained decision. Explain the single difference that matters most.

    CHAPTER 1 OF 5 · FOUNDATIONSTerminal Coding Agentsand Repository…Leaves you with a working program, configuration, or techni…COURSE PROGRESSinputlogicstateKEY TERMS
    Visual model

    Terminal Coding Agents and Repository Automation at a glance

    Terminal Coding Agents and Repository Automation at a glance Use this map to connect the purpose, vocabulary, example, and quality check before memorizing details. 1 Purpose 2 Key ideas 3 Example 4 Check

    Use this map to connect the purpose, vocabulary, example, and quality check before memorizing details.

    Side-by-side comparison

    Two programs that both "work"

    Both attempts look plausible from a distance. Toggle the highlights and study where they part ways.

    Aspect Fragile script Dependable program
    Behavior Right answer for the one input tried so far Right answer for normal, empty, and extreme inputs
    Readability Single-letter names; the intent lives in the author's head Names describe the data; the next reader needs no tour guide
    Failure Crashes or returns nonsense on an empty list Guards the edge case and proves it with a test

    The difference is invisible on the happy path and decisive everywhere else.

    Practice round

    Match the Terminal Coding Agents and Repository Automation vocabulary

    Tap a term, then the definition it belongs to. Wrong guesses cost nothing but honesty.

    Retrieval beats rereading: pulling a definition from memory strengthens it far more than recognizing it on the page.

    • Clear the board once, shuffle, and beat your attempt count.
    • Say each definition aloud before tapping — then check yourself.
    Practice activity - 12 min

    Make a one-page field guide

    Create a compact field guide that would help a new learner recognize and begin using Terminal Coding Agents and Repository Automation.

    1. Write a one-sentence definition and purpose.
    2. Add the four key terms with a plain-language example.
    3. Include one non-example and explain why it misses.
    4. Finish with a three-step starter checklist.
    Deliverable

    One annotated page or slide that can be reused in later chapters.

    Success looks like
    • The definition is specific.
    • Examples match the vocabulary.
    • The checklist is usable without extra explanation.
    Knowledge check

    Which response best shows a usable foundation in Terminal Coding Agents and Repository Automation?

    1 question
    Which response best shows a usable foundation in Terminal Coding Agents and Repository Automation?
    Not started

    Sign in to save chapter notes to your account.

    Ready to complete this chapter? Complete the field guide and answer the checkpoint before moving to guided practice.
  2. Chapter 2

    Claude Code and Codex CLI: Guided demonstration

    Follow a complete Claude Code and Codex CLI example from setup to result, pausing at the decisions that experts often make silently. Then repeat the process with support and check your work against visible criteria.

    29 min Not complete

    Learning objectives

    • Sequence the main steps in a reliable Claude Code and Codex CLI workflow.
    • Explain why each important decision is made.
    • Complete a supported example without skipping verification.
    • Use a checklist to identify one correction.

    Key terms

    1

    Watch the whole process

    Trace a model from the initial prompt to a working program, configuration, or technical walkthrough. Mark each point where the learner must observe, choose, or verify rather than act automatically.

    2

    The method, one step at a time

    This is the working sequence experienced practitioners follow. Do it in order the first few times, even where a step feels unnecessary.

    1. Decompose the problem
    2. Build one testable step
    3. Inspect the result
    4. Debug deliberately

    The order matters: each step produces the information the next one needs.

    3

    Where this usually goes wrong

    Watch for these while you work through the demonstration rather than afterwards.

    • Changing several things at once when something breaks. It feels faster than testing one change at a time. Fix: Change one thing, observe, and revert it if the behaviour does not move; keep the loop small.
    • Reading code without running it. Code looks like it does what it was named to do. Fix: Run it with a value you can predict by hand, then compare the real output with your prediction.
    • Treating an error message as noise. Long stack traces look intimidating and unspecific. Fix: Read the first line and the file and line number; that pair usually names the actual problem.
    4

    Practice with scaffolding

    Repeat the model with one detail changed. Keep the prompts visible and say or write the reason for each choice before continuing.

    5

    Check before feedback

    Use correct behavior, readable structure, useful tests, and an explained decision as the quality test. Make one self-correction before asking the tutor to review the result.

    CHAPTER 2 OF 5 · GUIDED DEMOClaude Code and CodexCLILeaves you with a working program, configuration, or techni…COURSE PROGRESSlogicstatetest caseKEY TERMS
    Guided flowchart

    A complete Claude Code and Codex CLI practice run

    Pause at each arrow and explain the decision before moving to the next step.

    Step 1 of 4: Read the task
    Practice round

    Rebuild the Claude Code and Codex CLI method

    The steps of this chapter's method, shuffled. Arrange them so they would actually work.

    A method is a sequence, not a bag of tips — if the order surprises you, that is exactly the gap worth closing now.

    • Order the steps, then explain to yourself why step 2 cannot go last.
    • Shuffle again and solve it in fewer moves.
    Practice activity - 15 min

    Complete the guided run

    Use the chapter workflow to produce a working program, configuration, or technical walkthrough for a slightly changed Claude Code and Codex CLI example.

    1. Restate the task and constraints.
    2. Follow the model one decision at a time.
    3. Record the reason for two key choices.
    4. Check the result and revise one issue.
    Deliverable

    A completed guided example with two decision notes and one correction.

    Success looks like
    • The workflow is complete.
    • Decisions have reasons.
    • The final check produces a visible correction.
    Knowledge check

    During guided Claude Code and Codex CLI practice, when is the best time to explain a choice?

    1 question
    During guided Claude Code and Codex CLI practice, when is the best time to explain a choice?
    Not started

    Sign in to save chapter notes to your account.

    Ready to complete this chapter? Submit the guided example with decision notes, one self-correction, and the checkpoint response.
  3. Chapter 3

    Permissions, approvals, and sandboxing: Applied scenario

    Transfer Permissions, approvals, and sandboxing into a realistic scenario where the prompt is less tidy and more than one option may be reasonable. You will define the constraints, choose an approach, and defend the tradeoff.

    32 min Not complete

    Learning objectives

    • Extract the relevant facts and constraints from a realistic scenario.
    • Generate at least two plausible approaches to Permissions, approvals, and sandboxing.
    • Choose an approach using explicit criteria.
    • Explain the likely consequence of the choice.

    Key terms

    1

    Read the situation

    Translate the scenario into a clear task. Separate facts, assumptions, constraints, and information that is interesting but not relevant to Permissions, approvals, and sandboxing.

    2

    Choosing well under real constraints

    Applied work is mostly judgement under limits: less time, less information, and more competing goals than a textbook example allows. These are the decision rules that hold up in practice.

    • Two approaches both look workable: Choose the one you can test more easily; testability compounds faster than elegance.
    • The task feels too large to start: Cut it until one piece can be finished and verified in under an hour, then build outward.
    • You are unsure whether something is a real bug: Write the smallest input that reproduces it; if you cannot reproduce it, you cannot claim to have fixed it.
    3

    Reading the situation before acting

    Before choosing an approach, state three things explicitly: what result the situation actually requires, which constraints are fixed rather than preferences, and what evidence would tell you the approach is working. Skipping this step is the most common reason competent work solves the wrong problem.

    • Programs are state changing over time. Most confusion comes from not knowing what a variable holds at a given moment. Reading code as a sequence of state changes, rather than as instructions, is what makes unfamiliar programs understandable.
    4

    Compare real options

    Generate two workable approaches and test both against the purpose. Do not hide the tradeoff; name what each option improves and what it gives up.

    5

    Make the reasoning visible

    Produce a working program, configuration, or technical walkthrough and attach a short decision note. The note should make the result auditable, not merely confident.

    CHAPTER 3 OF 5 · APPLIED SCENARIOPermissions, approvals,and sandboxingLeaves you with a working program, configuration, or techni…COURSE PROGRESSstatetest casedebuggingKEY TERMS
    Visual model

    From scenario to decision

    From scenario to decision A realistic task becomes manageable when facts and constraints are separated before options are compared. 1 Facts 2 Constraints 3 Options 4 Decision

    A realistic task becomes manageable when facts and constraints are separated before options are compared.

    Practice round

    Match the Permissions, approvals, and sandboxing vocabulary

    Tap a term, then the definition it belongs to. Wrong guesses cost nothing but honesty.

    Retrieval beats rereading: pulling a definition from memory strengthens it far more than recognizing it on the page.

    • Clear the board once, shuffle, and beat your attempt count.
    • Say each definition aloud before tapping — then check yourself.
    Practice activity - 18 min

    Solve the scenario

    Apply Permissions, approvals, and sandboxing to a scenario from school, work, home, or community life that includes at least two constraints.

    1. Write the task, audience, and constraints.
    2. Sketch two possible approaches.
    3. Choose using three criteria from the chapter.
    4. Produce the result and explain one tradeoff.
    Deliverable

    A scenario response with an option comparison and a short decision note.

    Success looks like
    • Constraints are visible.
    • Both options are plausible.
    • The final choice follows the stated criteria.
    Knowledge check

    What makes an applied Permissions, approvals, and sandboxing decision defensible?

    1 question
    What makes an applied Permissions, approvals, and sandboxing decision defensible?
    Not started

    Sign in to save chapter notes to your account.

    Ready to complete this chapter? Finish the scenario response, compare two options, and explain the selected tradeoff.
  4. Chapter 4

    MCP servers and hooks: Review and improve

    Learn to diagnose and improve MCP servers and hooks work with a focused rubric instead of vague judgment. You will separate symptoms from causes, revise the highest-value issue, and document the before-and-after difference.

    30 min Not complete

    Learning objectives

    • Evaluate a draft using explicit MCP servers and hooks criteria.
    • Identify the cause behind the most important weakness.
    • Choose a revision with high impact and reasonable effort.
    • Explain how the revision changes the result.

    Key terms

    1

    Use the rubric, not a feeling

    Review the work for correct behavior, readable structure, useful tests, and an explained decision. Record evidence for each judgment so feedback points to something observable.

    2

    Diagnostic checklist

    Run this before you revise anything. Diagnosing first prevents the common failure of polishing the parts that were already fine.

    • Check: Changing several things at once when something breaks — is this present in your work?
    • Check: Reading code without running it — is this present in your work?
    • Check: Treating an error message as noise — is this present in your work?
    3

    The quality bar

    This is what finished work looks like in this field. Use it as the standard for your revision rather than a general sense of improvement.

    • The behaviour is correct on ordinary input and on at least one awkward edge case
    • Names describe intent, so the code can be read without the author present
    • There is a concrete way to demonstrate that it works, not just an assurance
    4

    Diagnose before editing

    Name the symptom, then ask what decision or missing step produced it. Choose the cause you can address rather than changing everything at once.

    5

    Revise and compare

    Make one purposeful revision and compare the two versions. Keep the change only if it improves the intended result without creating a larger problem.

    CHAPTER 4 OF 5 · REVIEW & IMPROVEMCP servers and hooksLeaves you with a working program, configuration, or techni…COURSE PROGRESStest casedebugginginputKEY TERMS
    Revision flowchart

    Evidence-led improvement loop

    Revise the cause of the highest-value issue, then compare the new result with the original criteria.

    Step 1 of 4: Inspect evidence
    Side-by-side comparison

    Two programs that both "work"

    Use this pair as your revision rubric: find which column your current draft sits in, one row at a time.

    Aspect Fragile script Dependable program
    Behavior Right answer for the one input tried so far Right answer for normal, empty, and extreme inputs
    Readability Single-letter names; the intent lives in the author's head Names describe the data; the next reader needs no tour guide
    Failure Crashes or returns nonsense on an empty list Guards the edge case and proves it with a test

    The difference is invisible on the happy path and decisive everywhere else.

    Practice round

    Rebuild the MCP servers and hooks method

    The steps of this chapter's method, shuffled. Arrange them so they would actually work.

    A method is a sequence, not a bag of tips — if the order surprises you, that is exactly the gap worth closing now.

    • Order the steps, then explain to yourself why step 2 cannot go last.
    • Shuffle again and solve it in fewer moves.
    Practice activity - 16 min

    Run a focused revision cycle

    Review a previous MCP servers and hooks artifact or the supplied flawed example, then improve the most consequential issue.

    1. Score the draft against three criteria.
    2. Quote or point to evidence for the weakest score.
    3. Name the likely cause and revise it.
    4. Write a before-and-after comparison.
    Deliverable

    A marked-up draft, revised version, and four-sentence change note.

    Success looks like
    • Feedback cites evidence.
    • The revision addresses a cause.
    • The comparison explains a measurable or observable improvement.
    Knowledge check

    Which feedback is most useful for improving MCP servers and hooks?

    1 question
    Which feedback is most useful for improving MCP servers and hooks?
    Not started

    Sign in to save chapter notes to your account.

    Ready to complete this chapter? Document one evidence-based diagnosis, revision, and before-and-after comparison.
  5. Chapter 5

    Git safety, secrets, logs, and recovery: Capstone integration

    Integrate the course methods in a compact Git safety, secrets, logs, and recovery capstone. You will define the brief, plan milestones, produce a complete result, gather tutor feedback, and leave with a repeatable next-practice plan.

    36 min Not complete

    Learning objectives

    • Translate the capstone brief into milestones and checks.
    • Combine the course methods without losing the central purpose.
    • Present evidence for the quality of the final result.
    • Choose the next skill to practice from the final review.

    Key terms

    1

    Define a finishable brief

    Choose a specific audience, result, and boundary for the Git safety, secrets, logs, and recovery capstone. Reduce scope until the project can be finished and reviewed in one focused cycle.

    2

    Bringing the parts together

    A capstone is judged on coherence, not on the number of techniques it includes. Return to the core ideas and make sure the work demonstrates them rather than decorating them.

    • Programs are state changing over time. Most confusion comes from not knowing what a variable holds at a given moment. Reading code as a sequence of state changes, rather than as instructions, is what makes unfamiliar programs understandable.
    • Make it work, then make it clear. Working code that nobody can read becomes unmaintainable within weeks, including for its author. Naming and structure are not decoration; they are how future changes stay cheap.
    • A bug is a disagreement between belief and behaviour. Debugging is the process of finding which of your beliefs about the program is false. Printing or inspecting values converts an argument with the computer into an observation.
    3

    Standards that make the work credible

    These are the marks of work that would be taken seriously by someone who does this professionally.

    • The behaviour is correct on ordinary input and on at least one awkward edge case
    • Names describe intent, so the code can be read without the author present
    • There is a concrete way to demonstrate that it works, not just an assurance
    4

    Build with checkpoints

    Plan foundation, first draft, verification, and revision milestones. At each checkpoint, save evidence instead of relying on memory.

    5

    Present and continue

    Present a working program, configuration, or technical walkthrough with a concise rationale. Use the final rubric to choose one strength to retain and one next practice target.

    CHAPTER 5 OF 5 · CAPSTONEGit safety, secrets,logs, and recoveryLeaves you with a working program, configuration, or techni…COURSE PROGRESSdebugginginputlogicKEY TERMS
    Sleep lab

    Recovery is scheduled, not hoped for

    Training adapts you while you sleep. Plan tonight's cycles like part of the program, because it is.

    Sleep runs in cycles, not hours: waking between cycles feels lighter than waking inside deep sleep, which is why 7.5 hours can beat 8.

    • Plan tonight: find the 5-cycle wake time for your real bedtime.
    • Push lights-out 30 minutes later and watch every window shift.
    Visual model

    Capstone learning loop

    Capstone learning loop The capstone is a complete cycle: define a finishable brief, build, review evidence, then choose the next practice target. 1 Brief 2 Build 3 Review 4 Continue

    The capstone is a complete cycle: define a finishable brief, build, review evidence, then choose the next practice target.

    Practice round

    Match the Git safety, secrets, logs, and recovery vocabulary

    Tap a term, then the definition it belongs to. Wrong guesses cost nothing but honesty.

    Retrieval beats rereading: pulling a definition from memory strengthens it far more than recognizing it on the page.

    • Clear the board once, shuffle, and beat your attempt count.
    • Say each definition aloud before tapping — then check yourself.
    Practice activity - 22 min

    Complete the capstone sprint

    Create a complete Git safety, secrets, logs, and recovery artifact for a defined audience and purpose, using the course rubric to review it.

    1. Write a brief with scope and success criteria.
    2. Create the first complete version.
    3. Run a self-check and request focused tutor feedback.
    4. Revise, present, and set one next-practice target.
    Deliverable

    A finished capstone, evidence of one revision, and a next-practice note.

    Success looks like
    • The result answers the brief.
    • Course methods are visible.
    • Revision follows feedback or evidence.
    • The next step is specific and achievable.
    Knowledge check

    When is the Git safety, secrets, logs, and recovery capstone ready to finish?

    1 question
    When is the Git safety, secrets, logs, and recovery capstone ready to finish?
    Not started

    Sign in to save chapter notes to your account.

    Ready to complete this chapter? Submit the completed capstone, revision evidence, rubric review, and one concrete next-practice target.

Make it personal

Turn the public curriculum into your own learning path.

Ask Theo Marchand to adapt the sequence to your level, available time, and goal. The personalized path can then be saved in your workspace.