LearnThatStack Ace your next interview
AI-Assisted Development

AI Coding Assistants.

Start free Change topic Change

Practise AI Coding Assistants one question at a time. Answer out loud or in writing, get graded, and see exactly what you missed.

Try one question

What is an AI coding assistant, and how does it differ from traditional IDE autocomplete?

The answer

An AI coding assistant uses a language model to draft, explain or change code from plain-language instructions and nearby project files. It can suggest a whole function, write tests or describe unfamiliar code.

Traditional autocomplete works from the language server and static analysis. It mainly suggests real symbols, methods and types that are valid at the cursor. Its suggestions are narrow but usually grounded in the codebase.

An assistant can invent new code, so it is more flexible but less reliable. It may call an API that does not exist, misread a requirement or write insecure code. Use autocomplete as a source of known facts, and treat AI output as a draft that still needs review and testing.

Example · what grading looks like
What is a hallucinated API or package, and how would you catch one?

“It's when the model makes up a function or a config option that doesn't exist, just because the name sounds plausible. I'd catch it by letting the compiler or type checker complain, or by running a quick test if it's Python or JavaScript, since the code usually looks fine until you run it.”

Knew it

They have the core idea, a plausible-sounding name that doesn't exist, and how to catch it with compiler checks or tests. They skip vetting a suggested package before installing it, which matters more since that's where real damage happens.

Missed: Doesn't mention checking a suggested package's registry page, maintainers, and release history before installing.

Missed: Leaves out that attackers register package names models commonly invent, so unvetted installs are a real security risk.

Missed: No mention of requiring human approval before an agent installs a new dependency.


Get your own answers graded

Sign up free. Your account comes with 50 credits for grading, and it remembers what you missed.

What it covers

All 51 questions

Each on its own page

Assistant basics and interaction modes

What coding assistants are, how inline completion works, the chat, edit and agent modes, and which tasks they help with most and least.

7 questions

  1. What is an AI coding assistant, and how does it differ from traditional IDE autocomplete?
  2. What are the main interaction modes of modern coding assistants?
  3. When would you reach for inline autocomplete versus chat mode?
  4. Which kinds of tasks are AI coding assistants best at, and why?
  5. What is good autocomplete etiquette when pair programming? Pro
  6. Where do AI assistants help least, and how does that change how you work? Pro
  7. How does inline code completion work, and what is fill-in-the-middle? Pro

Choosing tools and models

How the major assistants differ, IDE versus terminal tools, open-source options, choosing a model per task, pricing and running a bake-off.

7 questions

  1. Can you give an overview of the major AI coding assistants in 2026 and how they broadly differ?
  2. How would you choose between GitHub Copilot, Cursor, and Claude Code for your daily work? Pro
  3. Most tools now let you pick between models. How do you choose a model for a given task? Pro
  4. How are AI coding tools priced for teams in 2026, and what should a team consider beyond sticker price? Pro
  5. When would you choose open-source options like Aider or Continue over commercial tools? Pro
  6. Compare terminal-based agents with IDE-native assistants. When does each workflow win? Pro
  7. How would you run a bake-off to evaluate a new assistant for your team? Pro

Context and codebase awareness

What context an assistant sees, how tools index and search large codebases, and how to use assistants to explore unfamiliar code.

4 questions

  1. What context does a coding assistant typically see, and why does context matter so much? Pro
  2. How do tools give models awareness of a large codebase, and what are the tradeoffs of each approach? Pro
  3. How can an assistant help you understand an unfamiliar codebase? Pro
  4. How do you manage context effectively when working with assistants in a very large codebase? Pro

Prompting and rules files

Writing clear prompts for code, using examples, constraints and @-mentions, and giving standing instructions through rules files.

5 questions

  1. What makes a good prompt when asking an assistant to write code? Pro
  2. What are @-mentions and context attachments in tools like Cursor and Copilot? Pro
  3. How do examples and constraints improve prompts for code generation tasks? Pro
  4. What are rules files like CLAUDE.md and .cursor/rules, and how do you use them well? Pro
  5. What prompt patterns do you use for tightly constrained edits? Pro

Agent mode and coding workflows

Using agents and assistants in TDD, refactoring and commit workflows, constraining large multi-file agent changes, and how team workflows change as agents gain autonomy.

6 questions

  1. What is agent mode, and when is it appropriate versus risky? Pro
  2. Describe a test-driven development workflow using an AI assistant. Pro
  3. How would you run a refactoring loop with an assistant safely? Pro
  4. How do you use assistants for commit messages and PR descriptions, and what are the pitfalls? Pro
  5. How do you constrain and verify large multi-file changes made by an agent? Pro
  6. As agents become more autonomous, how should team software workflows evolve? Pro

Reviewing and testing generated code

Why generated code can't be trusted blindly, catching hallucinated APIs, reviewing diffs, testing strategies, review norms and CI checks.

6 questions

  1. Why should you never blindly trust code from an AI assistant?
  2. What is a hallucinated API or package, and how would you catch one?
  3. How do you review an AI-generated change before accepting it? Pro
  4. What testing strategies do you apply specifically to AI-generated code? Pro
  5. How should code review norms change as more code is AI-generated? Pro
  6. How do you adapt CI and static analysis pipelines when a large share of code is AI-generated? Pro

Security, privacy and licensing

Secret leaks in prompts, slopsquatting, vulnerability patterns in generated code, enterprise privacy controls and licensing or IP risks.

5 questions

  1. What is the risk of pasting secrets or credentials into an AI assistant prompt? Pro
  2. What is slopsquatting, and how do you defend against it? Pro
  3. What licensing and intellectual property concerns come with AI-generated code? Pro
  4. What enterprise privacy controls should you look for before letting an assistant see proprietary code? Pro
  5. What security vulnerability patterns show up in AI-generated code, and how do you mitigate them at scale? Pro

Measuring productivity and ROI

Measuring AI impact with DORA-style metrics, the limits of acceptance rate and other simple metrics, and presenting ROI to executives.

4 questions

  1. How would you measure the productivity impact of AI assistants using DORA-style metrics? Pro
  2. Is suggestion acceptance rate a good metric? Argue both sides. Pro
  3. What are the pitfalls of naive productivity metrics for AI tools, and what would you measure instead? Pro
  4. How would you present the ROI of assistant licenses to an executive without resorting to vanity metrics? Pro

Organizational rollout and governance

Rolling out assistants across an organization, writing an AI usage policy and architecting enterprise-wide controls.

3 questions

  1. Design a rollout plan for introducing AI assistants to a fifty-engineer organization. Pro
  2. What should an organizational AI usage policy for engineers cover? Pro
  3. How would you architect enterprise-wide controls for AI coding tools across a large organization? Pro

Ownership, skills and codebase health

Who is accountable for AI-generated code, keeping your own skills sharp, long-term codebase health and judging engineering maturity in interviews.

4 questions

  1. How do you keep your own engineering skills sharp while using assistants heavily? Pro
  2. What are the long-term codebase health risks of heavy AI generation, and how do you counter them? Pro
  3. Who is accountable when AI-generated code causes a production incident, and how do you build norms around that? Pro
  4. A candidate says "AI writes most of my code." How do you assess their actual engineering maturity, and how would you present your own AI usage in an interview? Pro
Practice · Questions

All questions

Showing of 51
Beginner 13
01

What is an AI coding assistant, and how does it differ from traditional IDE autocomplete?

Visual

Beginner ·

Answer it yourself first - out loud, or typed below.

How should your speech become text?

Listening… your words appear above as you speak - tap Stop when you're done.

Recording · cr - tap Stop & transcribe when you're done.

Transcribing with AI…

Voice:

Keep going - a few more words and AI can grade it.

Last attempt -

Your answer

Re-explain
Visual

An AI coding assistant uses a language model to draft, explain or change code from plain-language instructions and nearby project files. It can suggest a whole function, write tests or describe unfamiliar code.

Traditional autocomplete works from the language server and static analysis. It mainly suggests real symbols, methods and types that are valid at the cursor. Its suggestions are narrow but usually grounded in the codebase.

An assistant can invent new code, so it is more flexible but less reliable. It may call an API that does not exist, misread a requirement or write insecure code. Use autocomplete as a source of known facts, and treat AI output as a draft that still needs review and testing.

Rewriting in plainer words…

This answer doesn't lend itself to a diagram - it reads best . No credits were charged.

Why there's no diagram: “”

The interactive diagram is below the answer - jump to diagram ↓ · Below it, the related concept . Jump to it ↓

Related concept

Tailored explanation · switch back to · ·
What should the new diagram focus on?
How well did you know this?
AI:

02

Can you give an overview of the major AI coding assistants in 2026 and how they broadly differ?

Beginner ·

Answer it yourself first - out loud, or typed below.

How should your speech become text?

Listening… your words appear above as you speak - tap Stop when you're done.

Recording · cr - tap Stop & transcribe when you're done.

Transcribing with AI…

Voice:

Keep going - a few more words and AI can grade it.

Last attempt -

Your answer

Re-explain

The major assistants differ in where they run, how much work they do alone, and which models they support.

  • GitHub Copilot covers the editor and GitHub, and its cloud agent can take a task and open a pull request.
  • Cursor and Windsurf are AI-focused editors with codebase search and agent features, and Windsurf is now called Devin Desktop.
  • Claude Code, OpenAI Codex and Gemini CLI are terminal agents, and Claude Code and Codex also run in IDEs and the browser.
  • JetBrains builds its AI tools into its IDEs.
  • Aider works from the terminal, and Continue is an open-source option that works with the model you choose.

Choose by workflow rather than brand. An editor assistant suits quick suggestions while typing, and a terminal agent suits multi-file changes, test runs and automation.

Rewriting in plainer words…

This answer doesn't lend itself to a diagram - it reads best . No credits were charged.

Why there's no diagram: “”

The interactive diagram is below the answer - jump to diagram ↓ · Below it, the related concept . Jump to it ↓

Related concept

Tailored explanation · switch back to · ·
What should the new diagram focus on?
How well did you know this?
AI:

03

What are the main interaction modes of modern coding assistants?

Beginner ·

Answer it yourself first - out loud, or typed below.

How should your speech become text?

Listening… your words appear above as you speak - tap Stop when you're done.

Recording · cr - tap Stop & transcribe when you're done.

Transcribing with AI…

Voice:

Keep going - a few more words and AI can grade it.

Last attempt -

Your answer

Re-explain

Most coding assistants provide four interaction modes:

  • Inline autocomplete shows a suggestion at the cursor, usually accepted with Tab.
  • Chat answers questions or drafts code without changing files.
  • Edit mode applies a requested change to selected code or a small set of files.
  • Agent mode can search the repository, edit several files, run commands, and react to test failures.

Each mode gives the tool more freedom. Autocomplete is fast and has a small impact. Chat is useful for learning and discussing options. Edit mode is good for a focused change with a visible diff. Agent mode suits a clear, testable task, but it also has the largest risk.

Select the least powerful mode that can complete the job, then review everything it produces.

Rewriting in plainer words…

This answer doesn't lend itself to a diagram - it reads best . No credits were charged.

Why there's no diagram: “”

The interactive diagram is below the answer - jump to diagram ↓ · Below it, the related concept . Jump to it ↓

Related concept

Tailored explanation · switch back to · ·
What should the new diagram focus on?
How well did you know this?
AI:

04

When would you reach for inline autocomplete versus chat mode?

Beginner ·

Answer it yourself first - out loud, or typed below.

How should your speech become text?

Listening… your words appear above as you speak - tap Stop when you're done.

Recording · cr - tap Stop & transcribe when you're done.

Transcribing with AI…

Voice:

Keep going - a few more words and AI can grade it.

Last attempt -

Your answer

Re-explain

Use inline autocomplete when you already know what to write and only want to type it faster. Good examples include repeated test cases, simple mappings, boilerplate, and a loop whose pattern is clear from nearby code. You can accept only the useful part and keep working without changing focus.

Use chat when the problem needs discussion or extra context. It is better for explaining an error, comparing designs, understanding a library, or planning a change across several files. A useful rule is simple: choose autocomplete when the intent is already clear, and choose chat when you still need to reason about the intent. Chat also works well for safe exploration because its answer does not change project files unless you ask it to.

Rewriting in plainer words…

This answer doesn't lend itself to a diagram - it reads best . No credits were charged.

Why there's no diagram: “”

The interactive diagram is below the answer - jump to diagram ↓ · Below it, the related concept . Jump to it ↓

Related concept

Tailored explanation · switch back to · ·
What should the new diagram focus on?
How well did you know this?
AI:

05

Why should you never blindly trust code from an AI assistant?

Beginner ·

Answer it yourself first - out loud, or typed below.

How should your speech become text?

Listening… your words appear above as you speak - tap Stop when you're done.

Recording · cr - tap Stop & transcribe when you're done.

Transcribing with AI…

Voice:

Keep going - a few more words and AI can grade it.

Last attempt -

Your answer

Re-explain

AI-generated code can look polished and still be wrong. A model predicts likely text, and nothing in that process proves the code meets your requirements. It may invent an API or miss an edge case. It may also use an old library pattern or add a security weakness. Its generated tests can pass while checking the wrong behavior.

You stay responsible for any code you commit, so treat the assistant as a fast contributor whose work always needs review. Read the full diff, confirm unfamiliar APIs and run suitable tests, with extra care around authentication, user input and secrets. If you cannot explain a generated line or show how it was verified, it is not ready to merge.

Rewriting in plainer words…

This answer doesn't lend itself to a diagram - it reads best . No credits were charged.

Why there's no diagram: “”

The interactive diagram is below the answer - jump to diagram ↓ · Below it, the related concept . Jump to it ↓

Related concept

Tailored explanation · switch back to · ·
What should the new diagram focus on?
How well did you know this?
AI:

06

What is a hallucinated API or package, and how would you catch one?

Beginner ·

Answer it yourself first - out loud, or typed below.

How should your speech become text?

Listening… your words appear above as you speak - tap Stop when you're done.

Recording · cr - tap Stop & transcribe when you're done.

Transcribing with AI…

Voice:

Keep going - a few more words and AI can grade it.

Last attempt -

Your answer

Re-explain

A hallucinated API or package is a name that the model invents even though it does not exist. It may suggest a believable method, configuration option, or dependency because the name fits common patterns. The generated code can appear correct until it is compiled or run.

  • Use the compiler, type checker, and language server as the first check.
  • For dynamic languages, run focused tests immediately.
  • Confirm unfamiliar methods in the official documentation for the version your project uses.
  • Before installing a suggested package, inspect its official registry page, repository, maintainers, release history, and usage. Attackers sometimes register names that models often invent.
  • Require human approval for new dependencies, especially when an agent can run package-install commands.
Rewriting in plainer words…

This answer doesn't lend itself to a diagram - it reads best . No credits were charged.

Why there's no diagram: “”

The interactive diagram is below the answer - jump to diagram ↓ · Below it, the related concept . Jump to it ↓

Related concept

Tailored explanation · switch back to · ·
What should the new diagram focus on?
How well did you know this?
AI:

07

Which kinds of tasks are AI coding assistants best at, and why?

Beginner ·

Answer it yourself first - out loud, or typed below.

How should your speech become text?

Listening… your words appear above as you speak - tap Stop when you're done.

Recording · cr - tap Stop & transcribe when you're done.

Transcribing with AI…

Voice:

Keep going - a few more words and AI can grade it.

Last attempt -

Your answer

Re-explain

AI assistants work best on familiar patterns whose results are easy to check. Examples include:

  • boilerplate
  • simple data transformations
  • unit-test drafts
  • documentation
  • configuration
  • common framework code
  • translations between similar languages

They can also summarize code or explain a stack trace quickly.

These tasks have many public examples, so the model has strong patterns to follow. A compiler, test, or short review can usually verify the result.

Assistants are less reliable for new architecture, subtle concurrency, hidden business rules, and performance work that needs real measurements. Use them when the cost of checking the answer is low. Keep human judgment in charge when a mistake would be expensive or when correctness cannot be demonstrated with clear evidence.

Rewriting in plainer words…

This answer doesn't lend itself to a diagram - it reads best . No credits were charged.

Why there's no diagram: “”

The interactive diagram is below the answer - jump to diagram ↓ · Below it, the related concept . Jump to it ↓

Related concept

Tailored explanation · switch back to · ·
What should the new diagram focus on?
How well did you know this?
AI:

08

What context does a coding assistant typically see, and why does context matter so much?

Part of Pro Visual
09

What makes a good prompt when asking an assistant to write code?

Part of Pro
10

What are @-mentions and context attachments in tools like Cursor and Copilot?

Part of Pro
11

What is the risk of pasting secrets or credentials into an AI assistant prompt?

Part of Pro
12

How do you review an AI-generated change before accepting it?

Part of Pro
13

What is good autocomplete etiquette when pair programming?

Part of Pro
Intermediate 19
14

How would you choose between GitHub Copilot, Cursor, and Claude Code for your daily work?

Part of Pro
15

What is agent mode, and when is it appropriate versus risky?

Part of Pro Visual
16

How do tools give models awareness of a large codebase, and what are the tradeoffs of each approach?

Part of Pro
17

How do examples and constraints improve prompts for code generation tasks?

Part of Pro
18

Describe a test-driven development workflow using an AI assistant.

Part of Pro
19

How would you run a refactoring loop with an assistant safely?

Part of Pro Visual
20

How can an assistant help you understand an unfamiliar codebase?

Part of Pro
21

How do you use assistants for commit messages and PR descriptions, and what are the pitfalls?

Part of Pro
22

What testing strategies do you apply specifically to AI-generated code?

Part of Pro Visual
23

What is slopsquatting, and how do you defend against it?

Part of Pro Visual
24

What licensing and intellectual property concerns come with AI-generated code?

Part of Pro
25

What enterprise privacy controls should you look for before letting an assistant see proprietary code?

Part of Pro
26

Where do AI assistants help least, and how does that change how you work?

Part of Pro
27

Most tools now let you pick between models. How do you choose a model for a given task?

Part of Pro
28

How are AI coding tools priced for teams in 2026, and what should a team consider beyond sticker price?

Part of Pro
29

When would you choose open-source options like Aider or Continue over commercial tools?

Part of Pro
30

What are rules files like CLAUDE.md and .cursor/rules, and how do you use them well?

Part of Pro Visual
31

How does inline code completion work, and what is fill-in-the-middle?

Part of Pro Visual
32

Compare terminal-based agents with IDE-native assistants. When does each workflow win?

Part of Pro
Expert 19
33

How would you measure the productivity impact of AI assistants using DORA-style metrics?

Part of Pro
34

Is suggestion acceptance rate a good metric? Argue both sides.

Part of Pro
35

What are the pitfalls of naive productivity metrics for AI tools, and what would you measure instead?

Part of Pro
36

Design a rollout plan for introducing AI assistants to a fifty-engineer organization.

Part of Pro
37

How should code review norms change as more code is AI-generated?

Part of Pro
38

What security vulnerability patterns show up in AI-generated code, and how do you mitigate them at scale?

Part of Pro
39

How do you keep your own engineering skills sharp while using assistants heavily?

Part of Pro
40

How do you manage context effectively when working with assistants in a very large codebase?

Part of Pro
41

What should an organizational AI usage policy for engineers cover?

Part of Pro
42

How do you constrain and verify large multi-file changes made by an agent?

Part of Pro
43

What prompt patterns do you use for tightly constrained edits?

Part of Pro
44

How would you run a bake-off to evaluate a new assistant for your team?

Part of Pro
45

How do you adapt CI and static analysis pipelines when a large share of code is AI-generated?

Part of Pro
46

How would you present the ROI of assistant licenses to an executive without resorting to vanity metrics?

Part of Pro
47

What are the long-term codebase health risks of heavy AI generation, and how do you counter them?

Part of Pro
48

How would you architect enterprise-wide controls for AI coding tools across a large organization?

Part of Pro Visual
49

Who is accountable when AI-generated code causes a production incident, and how do you build norms around that?

Part of Pro
50

As agents become more autonomous, how should team software workflows evolve?

Part of Pro
51

A candidate says "AI writes most of my code." How do you assess their actual engineering maturity, and how would you present your own AI usage in an interview?

Part of Pro

No matches

Try a different filter or search term.

Know someone prepping for AI Coding Assistants? Send them this set.
Quick recap

AI Coding Assistants in pictures.

A quick recap of AI Coding Assistants in 36 short animated pictures, one idea at a time. About 9 min to get the whole topic back in your head before you walk in. Pause any picture, slow it down, or step through it.

Pro The first chapter is free to play. The other 31 pictures come with Pro.

Get Pro · $10/mo
Pro · $10/mo

44 of 51 AI Coding Assistants answers are in Pro.

Full answers, code samples, and AI explanations that go simpler or deeper. Cancel anytime.

  • Full answers + code
  • AI explanations, simpler or deeper
  • 1,000 AI credits / month
  • Cancel anytime

Change topic

Pick a different technology or stack. Your current topic stays put until you choose a new one.

Technologies
No technologies match “”.
Cross-cutting topics
No topics match “”.
By role
Stacks & frameworks

MEAN

MongoDB, Express, Angular, Node.js

MERN

MongoDB, Express, React, Node.js

LAMP

Linux, Apache, MySQL, PHP

Django

Python Full-Stack Development

Ruby on Rails

Convention over Configuration

Serverless on AWS

Serverless Architecture on AWS

Flutter Mobile

Flutter Cross-Platform Mobile Development

Spring Boot

Enterprise Java Development

.NET

Microsoft Ecosystem

Vue

Vue.js, Vite, TypeScript, Tailwind, Node.js

Go Backend

Golang, gRPC, PostgreSQL, Redis, RabbitMQ

FastAPI

Python, FastAPI, SQLAlchemy, PostgreSQL

React Native

React, TypeScript, Redux, Firebase

iOS Native

Swift, SwiftUI, UIKit, Firebase

Android Native

Java, Jetpack Compose, Firebase

DevOps / Platform

Docker, Kubernetes, Terraform, CI/CD

AI Engineer

LLMs, RAG, Agents, Evals

AI-Powered Developer

Claude Code, Copilot, Agentic Workflows

Core SWE Interview Prep

Data structures, algorithms, OS, concurrency, networking, git