Prompt Suggestions - Claude Code
Context-aware follow-up suggestions derived from git history.
Prompt suggestions surface likely next prompts based on your repo's git history and recent work.
What it does
When Claude finishes a turn, it may show a short list of suggested follow-ups - things like "write tests for this", "open a PR", or "revert the last change" - informed by your commit log, staged changes, and current branch. Press a number or arrow key to select one instead of typing it yourself.
When to use it
- You want a nudge toward natural next steps without thinking hard.
- Onboarding to a new repo where you're not sure what's idiomatic.
- Batch sessions where you want to pattern-match on common workflows.
- Keeping momentum through a long debugging or refactoring session.
Gotchas
- Suggestions are best-effort. They can be off-base in unusual repos or fresh clones with no history.
- Accepting a suggestion still runs a full turn - it's not free. Treat them like prompt starters.
- They won't surface when your git state is ambiguous (detached HEAD, empty repo).
Official docs: https://code.claude.com/docs/en/interactive-mode.md#prompt-suggestions
Technical content at the intersection of AI and development. Building with AI agents, Claude Code, and modern dev tools - then showing you exactly how it works.
Get the weekly deep dive
Tutorials on Claude Code, AI agents, and dev tools - delivered free every week.
Was this helpful?




