š“ [BUG] Claude Code UX Improvement - Preview-Before-Commit Workflow
Hi Anthropic Team,
I'm a Claude Pro subscriber ($100 plan) actively using Claude Code for development. I have critical UX feedback that could significantly improve the developer experience.
š“ CRITICAL UX ISSUE: Preview-Before-Commit Workflow
Current Problematic Workflow:
Claude suggests code changes
Developer must approve/reject without seeing live preview
Changes are applied immediately upon approval
Developer sees results in localhost after changes are committed
No easy rollback if changes break the application
Major Problems:
Blind approval required - Can't see actual impact before committing
Irreversible changes - No simple undo mechanism when things break
Development friction - Fear of approving changes due to potential breakage
Time waste - Must manually revert broken changes through git or manual edits
š¢ PROPOSED SOLUTION: Cursor-Style Preview Workflow
Ideal Workflow (like Cursor):
Claude suggests changes and automatically creates preview
Developer sees live preview in localhost with proposed changes
Developer can test and interact with the preview
Developer approves or rejects based on actual results, not speculation
Only approved changes are permanently applied
Key Benefits:
Visual validation before committing
Zero-risk experimentation
Faster iteration cycles
Increased confidence in accepting AI suggestions
Professional development experience
š” TECHNICAL IMPLEMENTATION SUGGESTION:
Use temporary file system overlay or git staging
Hot-reload preview environment with proposed changes
Simple approve/reject interface after preview testing
Automatic cleanup of rejected changes
This workflow improvement would make Claude Code substantially more competitive with tools like Cursor and dramatically improve developer confidence in AI-assisted coding.
Happy to discuss this further or participate in any beta testing for this feature.
10 Comments
I really don't know how you guys can deal with Claude Code without preview the approval of the file edit before it applies the changes and being able to revert/deny beforehand... it's such bad UX.
bump on this is it added? Really tough to have a bunch of changes in your branch and then get tons of changes applied. Love claude code but cursor is better in this area
+1
+1 An accept / reject workflow is missing in claude code (both terminal & extension)
I don't know why this issue is not popular.
This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.
+1
+1
This issue has been automatically closed due to 60 days of inactivity. If you're still experiencing this issue, please open a new issue with updated information.
This issue was closed incorrectly despite recent human comments. This behavior of the bot is reported at https://github.com/anthropics/claude-code/issues/16497. Please upvote that issue, so maybe it gets noticed.
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.