Changes
Added
- Second
UserPromptSubmithook (scripts/workflow-guidance.py) that injects model-routing and plan-mode-first HITL guidance when a dynamic workflow is requested - Triggers on the
workflow/workflowskeyword (non-slash prompts), the/deep-researchcommand,/effort ultracode, and saved workflow commands under.claude/workflows/(cwd) or~/.claude/workflows/ - Guidance is model-agnostic: reserves the session model for planning, strategy, and orchestration and routes implementation to a smaller, cheaper model;
/effort ultracodeappends a clause applying the routing session-wide - Test suite (
tests/test_workflow_guidance.py) covering trigger detection, the*and#bypass prefixes, the/workflowsno-output case, the conditional guard, path-traversal safety, empty/invalid stdin, and the guidance token budget
Fixed
#(memorize) prefix now bypasses the workflow-guidance hook, mirroringimprove-prompt.py, so a prompt like "# remember the deploy workflow doc" no longer false-triggers- Natural-language keyword search restricted to non-slash prompts so the
/workflowsrun-management command no longer false-triggers (slash prompts keep explicit/deep-research,/effort ultracode, and saved-workflow detection) CORE_GUIDANCEleads with a conditional ("If this prompt will run as a dynamic workflow...") so broad keyword matches like "fix the CI workflow file" self-cancel at the model rather than injecting inert guidance
Changed
- Plugin registers two
UserPromptSubmithooks (improve-prompt.pyandworkflow-guidance.py) alongside thePreToolUseplan-guidance hook - Bumped plugin version to 0.5.4
Installation
claude plugin marketplace add severity1/severity1-marketplace
claude plugin install prompt-improver@severity1-marketplace