spacehub

surshar / claude-code

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

Built by Anthropic · github.com/anthropics

claude-code / plugins / plan-auto-show / README.md
45 lines · 1.4 KBPreviewCodeRaw
1# Plan Auto-Show Plugin
2
3Automatically displays the plan content when it's updated in plan mode, eliminating the need to type `/plan` to preview changes.
4
5## Problem
6
7When in plan mode, Claude updates the plan file and may ask follow-up questions. Users can't see the plan without typing `/plan`, but they also can't type `/plan` while being asked questions - they need to respond to the questions first.
8
9## Solution
10
11This plugin instructs Claude to automatically display the plan content in its response whenever it updates the plan file. The plan is shown before any follow-up questions, giving users the context they need to answer.
12
13## Installation
14
151. Enable the plugin in your Claude Code settings
162. The SessionStart hook will automatically add instructions for plan auto-display
17
18## How It Works
19
20The plugin adds a SessionStart hook that provides additional context to Claude:
21- After updating the plan file, Claude will display the full plan content
22- The plan is shown in a markdown code block
23- The plan appears before any follow-up questions
24
25## Example
26
27Before this plugin:
28```
29Claude: I've updated the plan file. Would you prefer approach A or B?
30User: (Can't see the plan without typing /plan, but needs to answer the question)
31```
32
33After this plugin:
34```
35Claude: I've updated the plan file:
36
37## Current Plan
381. Implement feature X
392. Add tests
403. Deploy
41
42Would you prefer approach A or B?
43
44User: (Can see the plan and answer the question)
45```