仕込まれた問題を直す
このレッスンはまだ翻訳されていないため、英語で表示しています。
Draft: this lesson is an outline and will be expanded.
Real projects always have problems. In this lesson the course gives you an app with a problem planted in it, and you practise the most useful skill of this course: noticing a problem, describing it to the AI assistant, and checking that the fix really works.
What you will do
- Open the app that the course provides for this lesson, and run it as you ran yours.
- Use it until you find the problem. Use your done checklist: which “I can” sentence fails?
- Describe the problem to your AI assistant in three parts: what you did, what you expected, and what happened. If an error message appears, copy it exactly.
- Read the fix that the AI proposes. Ask: “What did you change, and why?” Do not accept a fix you cannot explain in one sentence.
- Run the app again and repeat the steps that showed the problem. It must be gone.
- Check that nothing else broke, by going through the whole checklist again.
- If the same problem is still there after three tries, stop. Go back to your last commit in GitHub Desktop, and describe the problem in a different way.
Never run a command you do not understand just because an AI suggested it, especially one that deletes files or changes system settings.
Check yourself
- You found the problem yourself, from the checklist.
- The problem is gone after the fix, and the rest of the checklist still passes.
- You know what to do when three tries do not work: go back to the last commit and start again.