ENFR
8news

Tech • IA • Crypto

TodayTopicsVideosCryptoArchivesFavorites

Your first Claude Code prompt

4/10
AnthropicClaudeMay 15, 2026 at 02:42 PM2:25
Audio player
0:00 / 0:00

TL;DR

A coding assistant introduces a “plan mode” and configurable approval settings to safely automate multi-step code changes, exemplified by implementing a full-app dark mode toggle.

KEY POINTS

Adjustable Approval Modes

The tool allows developers to choose between automatic acceptance of file edits and manual approval for each change. In auto-accept mode, file modifications are applied instantly, while command execution still requires user consent. This flexibility lets users balance speed with control depending on their workflow.

Plan Mode for Complex Tasks

A dedicated plan mode analyzes the codebase using read-only access before making changes. It generates a structured implementation strategy and asks clarifying questions where needed. This approach is particularly useful for multi-step features or sensitive refactoring.

Shift-Tab Navigation

Users can quickly toggle between modes using a keyboard shortcut, streamlining transitions between planning and execution. This reduces friction when iterating on feature development or reviewing proposed changes.

Example: Dark Mode Implementation

A sample task demonstrates the system’s capabilities by adding a dark mode toggle across an application. The assistant plans the feature, including UI placement in the header and selection of accessible contrast colors aligned with the existing light theme.

Transparency in Execution

After planning and execution, the system provides a clear breakdown of what changes were made and why. This visibility helps developers audit decisions and maintain confidence in automated edits.

Encouragement of Detailed Prompts

Effectiveness depends heavily on prompt clarity. Detailed instructions improve both the quality of the plan and the final implementation, especially for design-sensitive features like theming.

CONCLUSION

Configurable automation combined with structured planning tools enables developers to safely delegate complex coding tasks while maintaining visibility and control over the outcome.

Full transcript

More from Anthropic