Practise AI Coding Assistants one question at a time. Answer out loud or in writing, get graded, and see exactly what you missed.
What is an AI coding assistant, and how does it differ from traditional IDE autocomplete?
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.
Missed:
“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 itThey 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
- Assistant basics and interaction modes
- Choosing tools and models
- Context and codebase awareness
- Prompting and rules files
- Agent mode and coding workflows
- Reviewing and testing generated code
- Security, privacy and licensing
- Measuring productivity and ROI
- Organizational rollout and governance
- Ownership, skills and codebase health
All 51 questions
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.
- What is an AI coding assistant, and how does it differ from traditional IDE autocomplete?
- What are the main interaction modes of modern coding assistants?
- When would you reach for inline autocomplete versus chat mode?
- Which kinds of tasks are AI coding assistants best at, and why?
- What is good autocomplete etiquette when pair programming? Pro
- Where do AI assistants help least, and how does that change how you work? Pro
- 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.
- Can you give an overview of the major AI coding assistants in 2026 and how they broadly differ?
- How would you choose between GitHub Copilot, Cursor, and Claude Code for your daily work? Pro
- Most tools now let you pick between models. How do you choose a model for a given task? Pro
- How are AI coding tools priced for teams in 2026, and what should a team consider beyond sticker price? Pro
- When would you choose open-source options like Aider or Continue over commercial tools? Pro
- Compare terminal-based agents with IDE-native assistants. When does each workflow win? Pro
- 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.
- What context does a coding assistant typically see, and why does context matter so much? Pro
- How do tools give models awareness of a large codebase, and what are the tradeoffs of each approach? Pro
- How can an assistant help you understand an unfamiliar codebase? Pro
- 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.
- What makes a good prompt when asking an assistant to write code? Pro
- What are @-mentions and context attachments in tools like Cursor and Copilot? Pro
- How do examples and constraints improve prompts for code generation tasks? Pro
- What are rules files like CLAUDE.md and .cursor/rules, and how do you use them well? Pro
- 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.
- What is agent mode, and when is it appropriate versus risky? Pro
- Describe a test-driven development workflow using an AI assistant. Pro
- How would you run a refactoring loop with an assistant safely? Pro
- How do you use assistants for commit messages and PR descriptions, and what are the pitfalls? Pro
- How do you constrain and verify large multi-file changes made by an agent? Pro
- 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.
- Why should you never blindly trust code from an AI assistant?
- What is a hallucinated API or package, and how would you catch one?
- How do you review an AI-generated change before accepting it? Pro
- What testing strategies do you apply specifically to AI-generated code? Pro
- How should code review norms change as more code is AI-generated? Pro
- 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.
- What is the risk of pasting secrets or credentials into an AI assistant prompt? Pro
- What is slopsquatting, and how do you defend against it? Pro
- What licensing and intellectual property concerns come with AI-generated code? Pro
- What enterprise privacy controls should you look for before letting an assistant see proprietary code? Pro
- 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.
- How would you measure the productivity impact of AI assistants using DORA-style metrics? Pro
- Is suggestion acceptance rate a good metric? Argue both sides. Pro
- What are the pitfalls of naive productivity metrics for AI tools, and what would you measure instead? Pro
- 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.
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.
- How do you keep your own engineering skills sharp while using assistants heavily? Pro
- What are the long-term codebase health risks of heavy AI generation, and how do you counter them? Pro
- Who is accountable when AI-generated code causes a production incident, and how do you build norms around that? Pro
- 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
All questions
Showing of 51What is an AI coding assistant, and how does it differ from traditional IDE autocomplete?
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:
Last attempt -
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.
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 ↓
Can you give an overview of the major AI coding assistants in 2026 and how they broadly differ?
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:
Last attempt -
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.
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 ↓
What are the main interaction modes of modern coding assistants?
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:
Last attempt -
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.
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 ↓
When would you reach for inline autocomplete versus chat mode?
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:
Last attempt -
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.
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 ↓
Why should you never blindly trust code from an AI assistant?
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:
Last attempt -
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.
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 ↓
What is a hallucinated API or package, and how would you catch one?
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:
Last attempt -
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.
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 ↓
Which kinds of tasks are AI coding assistants best at, and why?
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:
Last attempt -
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.
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 ↓
What context does a coding assistant typically see, and why does context matter so much?
What makes a good prompt when asking an assistant to write code?
What are @-mentions and context attachments in tools like Cursor and Copilot?
What is the risk of pasting secrets or credentials into an AI assistant prompt?
How do you review an AI-generated change before accepting it?
What is good autocomplete etiquette when pair programming?
How would you choose between GitHub Copilot, Cursor, and Claude Code for your daily work?
What is agent mode, and when is it appropriate versus risky?
How do tools give models awareness of a large codebase, and what are the tradeoffs of each approach?
How do examples and constraints improve prompts for code generation tasks?
Describe a test-driven development workflow using an AI assistant.
How would you run a refactoring loop with an assistant safely?
How can an assistant help you understand an unfamiliar codebase?
How do you use assistants for commit messages and PR descriptions, and what are the pitfalls?
What testing strategies do you apply specifically to AI-generated code?
What is slopsquatting, and how do you defend against it?
What licensing and intellectual property concerns come with AI-generated code?
What enterprise privacy controls should you look for before letting an assistant see proprietary code?
Where do AI assistants help least, and how does that change how you work?
Most tools now let you pick between models. How do you choose a model for a given task?
How are AI coding tools priced for teams in 2026, and what should a team consider beyond sticker price?
When would you choose open-source options like Aider or Continue over commercial tools?
What are rules files like CLAUDE.md and .cursor/rules, and how do you use them well?
How does inline code completion work, and what is fill-in-the-middle?
Compare terminal-based agents with IDE-native assistants. When does each workflow win?
How would you measure the productivity impact of AI assistants using DORA-style metrics?
Is suggestion acceptance rate a good metric? Argue both sides.
What are the pitfalls of naive productivity metrics for AI tools, and what would you measure instead?
Design a rollout plan for introducing AI assistants to a fifty-engineer organization.
How should code review norms change as more code is AI-generated?
What security vulnerability patterns show up in AI-generated code, and how do you mitigate them at scale?
How do you keep your own engineering skills sharp while using assistants heavily?
How do you manage context effectively when working with assistants in a very large codebase?
What should an organizational AI usage policy for engineers cover?
How do you constrain and verify large multi-file changes made by an agent?
What prompt patterns do you use for tightly constrained edits?
How would you run a bake-off to evaluate a new assistant for your team?
How do you adapt CI and static analysis pipelines when a large share of code is AI-generated?
How would you present the ROI of assistant licenses to an executive without resorting to vanity metrics?
What are the long-term codebase health risks of heavy AI generation, and how do you counter them?
How would you architect enterprise-wide controls for AI coding tools across a large organization?
Who is accountable when AI-generated code causes a production incident, and how do you build norms around that?
As agents become more autonomous, how should team software workflows evolve?
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?
This answer is part of Pro.
The full written answer, with the trade-offs and follow-ups an interviewer will probe.
No matches
Try a different filter or search term.
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.
AI Coding Assistants cheatsheet
- How assistants work01
- Choose tools & models02
- Context & prompts03
- Coding workflows04
- Review & verify05
- Secrets, IP & policy06
- Rollout & metrics07
- The model08
- + 2 more inside
This picture is part of Pro. The first chapter is free to play; the other 31 pictures come with Pro.
Get Pro · $10/mo Already Pro? Sign in44 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.
MEAN
MongoDB, Express, Angular, Node.jsMERN
MongoDB, Express, React, Node.jsDjango
Python Full-Stack DevelopmentRuby on Rails
Convention over ConfigurationServerless on AWS
Serverless Architecture on AWSInterviewers also test these - they're common to every stack, whichever one you picked above.
Flutter Mobile
Flutter Cross-Platform Mobile DevelopmentInterviewers also test these - they're common to every stack, whichever one you picked above.
Spring Boot
Enterprise Java Development.NET
Microsoft EcosystemVue
Vue.js, Vite, TypeScript, Tailwind, Node.jsGo Backend
Golang, gRPC, PostgreSQL, Redis, RabbitMQInterviewers also test these - they're common to every stack, whichever one you picked above.
FastAPI
Python, FastAPI, SQLAlchemy, PostgreSQLReact Native
React, TypeScript, Redux, FirebaseiOS Native
Swift, SwiftUI, UIKit, FirebaseAndroid Native
Java, Jetpack Compose, FirebaseDevOps / Platform
Docker, Kubernetes, Terraform, CI/CDInterviewers also test these - they're common to every stack, whichever one you picked above.
AI Engineer
LLMs, RAG, Agents, EvalsAI-Powered Developer
Claude Code, Copilot, Agentic WorkflowsCore SWE Interview Prep
Data structures, algorithms, OS, concurrency, networking, gitInterviewers also test these - they're common to every stack, whichever one you picked above.
Interviewers also test these - they're common to every stack, whichever one you picked above.