Tutorial
The tutorial at a glance
Purpose: The tutorial takes you step by step through a round of work with CodeDeck, in more detail than the tour in the program and with pictures from CodeDeck.
How to work through the tutorial
The tutorial follows a single round of work: you give an AI session a task, follow how it works, check its result, tell it what is still to be done, and at the end you secure your work with a commit. Each chapter covers one part of CodeDeck that helps you at one of these stops.
You learn the most when you have CodeDeck open while reading and try everything out on a small project of your own. If you have no suitable project at hand, simply create an empty folder and add it to CodeDeck. CodeDeck then offers to make it a git repository with one click. The first chapter shows how. Such a folder is enough for the first steps.
The chapters build on each other, so read them in order the first time. At the end of each chapter you find a small exercise under Try it out, and under More on this the pages where you can go deeper into a topic.
CodeDeck itself contains a short version: the entry Tutorial: project window in the CodeDeck menu takes you through the window from left to right and highlights each part as it goes. The tour is a good way to refresh your memory quickly later on. The tutorial here, on the other hand, explains in more detail why something is the way it is and shows you each step one by one.
The sample project
The pictures in the tutorial come from a sample project called orbit-api. In it, you work on the branch feature/rate-limit on a limit for how many requests a program accepts within a certain time. Several AI sessions take part: one builds the limit itself, one writes the documentation for it, and another one takes care of the configuration.
The names of the sessions, their questions and their closing words appear in the pictures as the AI wrote them. The CodeDeck interface is set to English. On your computer, everything looks a little different, depending on what you are working on and which colour scheme you have chosen.
The chapters
A turn is everything an AI session does in response to one of your prompts, until it is finished and waits for you again. You can learn more about turns, prompts and AI sessions in the AI basics. The tutorial goes through the following chapters:
- Preparation: you set up CodeDeck, connect your coding agent and add your first project.
- The project window: you get to know the parts of the window and switch between your projects.
- Start an AI session: you start a session, follow what it does and answer it when it asks you something.
- Files, references and comments: you find your way around the files of your project and tell the AI exactly which file and which place you mean.
- Changes: you look at what the AI changed, commit and push the result, and go back to an earlier state if you need to.
- Workbench: you see what’s next in your project’s plan and look through the AI’s drafts.
- Second opinion: you have another AI check the work and pass its findings on.
- Activity and notifications: you look back over the last few hours, keep an eye on your accounts’ usage and decide when CodeDeck lets you know.