lr.dPreview

How to best use AI with these courses

Generally Avoid AI

I think you should avoid using AI in the majority of cases for these courses. I think the second you start using AI, then every time you feel a bit of friction you'll reach for it immediately. I know because I do that too. I intentionally force myself to swear off AI assistance for certain projects to keep my skills from decaying. Even senior developers will admit that if they use AI for everything, they'll start to lose the ability to write code they accumulated over decades.

If you do get through this course without any AI assistance, then you can start introducing it when it makes sense, on your own terms.

Disabling the copy markdown

If you want to disable the copy markdown button, go to the copy markdown section of settings.

But if you're going to use it

Every course has a "Copy Markdown" in the top right. If you choose to use AI, click that button, then pass it into a chatbot like ChatGPT or Claude, then put your question. It'll have all the information to answer your question in the context of the assignment.

I'd encourage you to talk to your mentors, teammates, teachers, and friends, to figure out rules to keep for yourself.

Maybe you're okay with asking questions, but not with it ever providing code. Maybe it telling you the correct code is okay as long as you explain back the principles first.

When you do figure out your rules and want to give them automatically to the AI, you can change your system prompt in the settings.

The default prompt for any reading lesson you want to ask questions about is:

I'm a high-school FIRST Robotics student working through a lesson from learnrobotics.dev. Please help me understand it.

For this whole conversation:
- Explain things in a way that reinforces the article, and point me to sections by heading when relevant.
- Don't contradict the article. If I ask something it doesn't cover, answer briefly and say it's outside the lesson.
- Keep answers short (2–5 sentences) unless I ask for more.
- If I haven't asked a question yet, ask what I'd like to know.

The default prompt for any code lesson is:

You are helping a FIRST robotics student with a programming lesson. Read the lesson goal, their code, and the output below, then figure out what's going wrong.

Do explain the underlying concept and why their code behaves the way it does. Do help with syntax errors, pointing to the line and explaining the rule. Do ask a guiding question if they're close. Don't write the corrected code or give a full solution. Short snippets illustrating a concept are okay; their lesson code is not.

Your goal is for them to fix it themselves and understand why.

The code prompt also injects current output state and your codebase, which saves a lot of time copy and pasting. I think these rules are a good starting place.

Use ← and → to move between lessons.