Beginner 11 min

Your first AI-assisted coding project

Plan a small feature, work with a coding agent, and verify what it changed.

Describe a behavior you can test

Start with a small project such as a command-line reading timer. Specify how it accepts minutes and how it handles zero, decimals, or text. Give the agent one acceptable input and several rejected inputs so that the request has a measurable outcome.

How it works

Start with one requirement a person can verify in a browser. Review the assistant’s proposed plan, keep the changes small, and confirm the behavior yourself. If the output surprises you, describe exactly what happened and make the next request about that one gap.

Use a short feedback loop

Ask for a plan. Read it, then have the tool make one change with clear boundaries. Review the diff line by line and ask the agent to explain decisions you cannot justify. Run the tests and try one edge case yourself before committing.

Know which guidance belongs in the project

Repository instructions hold project conventions such as the test command, supported runtime, and folder layout. A skill is a reusable workflow with instructions and any needed supporting files. Write a skill after you find a procedure you can verify and expect to repeat.

Practice with a review prompt

Ask the tool to list the cases that tests actually cover and identify one behavior worth testing next. Confirm its answer by opening the test file. Save a working Git checkpoint before you start another feature so you have a clear recovery path.

Check your understanding

A parser accepts positive whole minutes and rejects zero. Choose one value at the accepted boundary and one rejected value, then reveal the sample answers.

See the example and explanation
Example 1
Given Lowest accepted whole number
Answer 1
Example 2
Given A rejected whole number
Answer 0

One is the lowest positive integer. Zero is a whole number, but it is outside the allowed range. Together they check both sides of the boundary.

Open practice problem
Next lessonProject instructions and skills