Skip to content

Fix hook formats and improve plugin skills#60

Merged
alexey1312 merged 1 commit intomasterfrom
alexey1312/skill_v2
Mar 9, 2026
Merged

Fix hook formats and improve plugin skills#60
alexey1312 merged 1 commit intomasterfrom
alexey1312/skill_v2

Conversation

@alexey1312
Copy link
Collaborator

Description

Fixes #59

  • Claude Code hook: Replace deprecated {"decision":"allow"} with hookSpecificOutput format — eliminates PreToolUse:Bash hook error + (No output) on non-build commands
  • Cursor hook: Switch from beforeShellExecution to preToolUsebeforeShellExecution doesn't support command rewriting per Cursor docs. Use updated_input instead of updatedCommand
  • All skills (Claude Code, Codex, Cursor shared template): Expand description for better triggering, add --slow-threshold, --config, --coverage-details flags, add "Interpreting TOON Output" and "Troubleshooting" sections
  • Remove set -e from Claude Code hook (could cause silent exit without output)
  • Bump plugin version to 1.0.3
  • Update installer tests to match new templates

- Claude Code: Replace deprecated {"decision":"allow"} with hookSpecificOutput format
- Cursor: Switch from beforeShellExecution to preToolUse for command rewriting support
- Cursor: Use updated_input instead of updatedCommand per Cursor docs
- All skills: Expand description for better triggering, add missing flags, troubleshooting
- Bump plugin version to 1.0.3
@alexey1312 alexey1312 merged commit 3fcb6e9 into master Mar 9, 2026
2 checks passed
@alexey1312 alexey1312 deleted the alexey1312/skill_v2 branch March 9, 2026 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PreToolUse hook uses deprecated decision field — needs migration to hookSpecificOutput

1 participant