AI coding for beginners: finish your first change
Use Codex or Claude Code for a small first change. Learn simple prompts, relevant context, checks, and how Mikie helps find the code.
The quick answer
Start with one small behavior you can check, such as a broken button or error message. Describe where it happens, what should happen instead, and the check. Review the patch before publishing and use Mikie to help find relevant code.
Pick something you can see working
Choose a button, form message, display rule, or reproducible bug. The first goal is learning the cycle: describe, change, check, review. Save a rewrite for when success is easier to judge.
You need not know every file. Describe screen, input, and result; ask the agent to find and explain its starting point.
- Problem is reproducible.
- Desired result fits a sentence.
- You can check it yourself.
- Scope has a clear boundary.
Describe behavior plainly
Say what you tried, what happened, and what you wanted. Include an example, retain normal behavior, and ask for checks actually run.
Saving an empty name looks like it worked. Show a clear message asking for a name and keep the form open. A valid name should still save. Find the relevant code, change it, test both cases, and explain simply.Ask for an explanation you can review
Read changed labels, messages, and conditions. Ask which files changed and why. If an unrelated screen changed, ask how it supports this request.
Keep credentials and personal data out of prompts. Use normal sign-in and permission flows for integrations.
Explain changed behavior simply. List changed files and actual checks. Tell me what to verify in the browser before publishing.Check the problem and the normal path
Repeat the original failure and the valid path. For a form, try empty, valid, and corrected input. For a button, check relevant mouse and keyboard use. Ask for the repository's automated check.
After acceptance, keep a handoff and choose the next behavior. Mikie setup needs Node.js 22 or newer: install the CLI, log in, connect your agent, and run mikie doctor. Everyday prompts can stay simple.
- Problem fixed.
- Normal behavior retained.
- Checks and uncertainty visible.
- Next task separate.
| Check | Example |
|---|---|
| Original failure | Empty name shows error |
| Normal path | Valid name saves |
| Second attempt | Correction clears the problem |
| Automated check | Relevant test reports actual result |
Put it into practice
- Choose a small visible behavior.
- Describe current and desired results.
- Inspect relevant code and implement.
- Check behavior and review before publishing.
| Area | What it means | Who controls it |
|---|---|---|
| Task size | Choose a visible behavior and finish line. | Your workflow |
| Prompt | Describe current behavior, desired result, and an example. | Your workflow |
| Review | Ask for a simple explanation and check the result. | Your workflow |
| Verification | Check the actual changed behavior. | The provider or measurement |
| Permissions | Keep secrets private and approve sensitive changes deliberately. | The provider or measurement |
How Mikie helps
Mikie helps Codex and Claude Code start with relevant context. Install and log in, connect with mikie setup codex or mikie setup claude, and run mikie doctor. Inspect mikie usage after accepted work.
Sources
- OpenAI ↗
Goals, relevant context, output requirements, and task boundaries.
- Anthropic ↗
Verification, focused sessions, /clear, and /compact.
Provider plans and prices can change. Source dates show when this guide was checked. How Mikie measures results.
Common questions
Do I need to code before using Codex?
Start with a small behavior you can verify and ask for simple explanations. Review changes and use checks; complex work benefits from experienced review.
What goes in a first prompt?
Current behavior, desired result, example, and a check. Keep the task small and visible.
Should an agent publish every change?
Review the patch and check behavior first. Publishing and sensitive actions should use permissions you intentionally approve.
Put better context to work.
Keep your coding agent. Give it a clearer view of the code it needs.
Set up Mikie →