Free & open · no paywall, ever

IntegrAuth Academy

Identity, security and practical AI — free, from zero. Byte-sized lessons, real diagrams, hands-on labs, zero fluff. Two programs, each with its own exam and certificate.

20 tracks 241 lessons 242 hands-on labs 230+ diagrams 100% free

English is hard? Your browser can translate this page into Tamil, Telugu, Kannada, Malayalam or Hindi. Tech words stay in English so you learn the real names.

How?
  • Chrome on phone: ⋮ menu → Translate
  • Chrome on computer: right-click → Translate to …
  • Edge: the translate icon in the address bar
Practical AI Track 4 · Coding with AI
0/75 lessons read
CODING WITH AI · LESSON 11

Cheat sheet & pop quiz

You finished the track. Here it is on one page, plus 5 quick questions. Your goal: answer each one before you reveal it.

If you remember nothing else

LessonThe idea to keep
Set up your coding assistantGit is your undo button, not the agent. Start on a new branch and run the tests first. Begin in the most careful mode. Set a spend limit on an API key.
Give it the right contextKeep the instruction file short. Put in only what the agent can't find or gets wrong. Use one session per task.
Plan before it codesExplore, plan, implement, verify. Write a spec with acceptance criteria. Read the plan before any code changes.
Tests, checks and debuggingTest first. Watch the test fail, then commit it. Ask for a fix that does not change the tests. Trust test output, not claims.
Review AI-written codeAI code can look right and still be wrong. Check every new package before you install it. Never merge a line you can't explain.
Extend your assistantText only asks. Hooks enforce. A rule that must always hold goes in a hook or a permission rule.
Permissions, sandboxes and secretsExpect the agent to be fooled sometimes. Rules catch known bad commands. A sandbox blocks the rest. Narrow keys limit the damage.
Build an app without codingGreat for a prototype. Browser code is public, so keep secret keys on the server. Test as a second user: can B read A's data?
Many agents at onceOne agent, one worktree, one branch. Run only as many agents as you can review.

Pop quiz: 5 questions

Q1 · Priya asks an agent to add dark mode to the admin pages. She comes back to 14 changed files and a new styling library. It also rewrote a shared layout that other teams use. What should she have done first?

Q2 · The agent says, "Fixed, all 42 tests pass." The diff changes one line of code. It also changes one line in the test file: toBe(19.99) became toBeCloseTo(20, 0). Is the bug fixed?

Q3 · A script from an assistant starts by installing a package called excel-merge-tools. The name sounds right. The assistant says it is well known. What do you check, and when?

Q4 · Priya's rules block the curl command and block reading .env. A hidden order in an issue fools her agent. It writes a small script that reads .env and sends it to an outside server. What stops it? Why did the rules miss it?

Q5 · Priya has 5 tickets. Two change the same dependency file. One renames a field across the whole project. Two are separate bug fixes with failing tests. How should she run agents on them?

Go deeper: a checklist before you hand an agent real work
Track complete 🎉

That's Coding with AI. You can set up an agent with a safety net and give it good context. You can plan with it and make it prove its work. You can catch made-up packages and keep a fooled agent harmless. You can check an app builder's work for leaks. You can run several agents and stay in control. Next up — Building with AI: build AI features of your own and run them for real. Start the track here.

🧪 Try it free

Try the whole track on a small project of your own. Make a branch and run the tests. Write a short AGENTS.md. Write a spec for one feature and read the plan. Add one hook that blocks edits to .env. Then read the diff before you merge.

Want more? Browse our free security tools on the tools shelf.