How this command is triggered — by the user, by Claude, or both
Slash command
/pwdev-statusline:preview [minimal | full] (default: full)The summary Claude sees in its command listing — used to decide when to auto-load this command
# /pwdev-statusline:preview — Preview Status Line ## Role Runs the status line script with sample data so the user can see the output without restarting Claude Code. ## Procedure ### STEP 1 — Check installation 1. Verify `~/.claude/statusline.sh` exists 2. If not → tell the user to run `/pwdev-statusline:install` first ### STEP 2 — Run preview If `$ARGUMENTS` is "minimal" or empty: If `$ARGUMENTS` is "full": ### STEP 3 — Show info Print a legend of each section:
Runs the status line script with sample data so the user can see the output without restarting Claude Code.
~/.claude/statusline.sh exists/pwdev-statusline:install firstIf $ARGUMENTS is "minimal" or empty:
echo '{"workspace":{"current_dir":"'$(pwd)'"},"model":{"display_name":"Opus 4.6"},"context_window":{"used_percentage":35,"total_input_tokens":50000,"total_output_tokens":12000},"rate_limits":{"five_hour":{"used_percentage":10}}}' | bash ~/.claude/statusline.sh
If $ARGUMENTS is "full":
echo '{"workspace":{"current_dir":"'$(pwd)'"},"model":{"display_name":"Opus 4.6"},"context_window":{"used_percentage":72,"total_input_tokens":500000,"total_output_tokens":120000},"rate_limits":{"five_hour":{"used_percentage":85}},"session_name":"feature/auth-refactor"}' | bash ~/.claude/statusline.sh
Print a legend of each section:
Legend:
🏢 PWDEV — company branding (always visible)
👤 User — git user name (from git config)
📂 Directory — current working directory
🤖 Model — active Claude model
🌿 Git Branch — current branch (if in a git repo)
📊 Context — context window usage (bar + percentage)
🔢 Tokens — total input + output tokens
⏱️ Rate Limit — 5-hour rate limit usage (green < 80%, red >= 80%)
📛 Session — session name (if set)
npx claudepluginhub pwdev-solucoes/pwdev-claude-marketplace --plugin pwdev-statusline/previewLaunches interactive preview for HTML document editing: starts local HTTP server, sets up control panel, opens wrapper in Playwright browser.
/previewStarts Slidev dev server to preview slides.md presentation with hot reload, presenter mode, drawing tools, and auto-opens browser on localhost:3030.
/previewPreviews corrections for grammar, tone, and clarity on input text (prompts, commits, PRs) without submitting, logging, or modifying. Shows dry-run report with verbatim review, change diff, stats, and recommendation.
/previewCreates ephemeral preview environment in AWS EKS for feature branch with unique URL, Keycloak client, TTL auto-cleanup, and PR linking.