Stats
Actions
Tags
From vue3-js-assistant
After every Edit/Write tool call, runs a bash script that suggests progressive disclosure of file contents to reduce context window usage. Executes bash, reads/writes files.
1 event · 1 hook
Safety signals detected in this hook configuration
Where this hook configuration is defined
Defined in hooks/hooks.json
Event handlers and matchers — expand Raw Configuration for the full JSON
Write|Editbash -c 'FILE="$CLAUDE_FILE_PATH"; if [[ "$FILE" == *.vue ]]; then if grep -qP "<script(?:\s[^>]*)?(?!setup)" "$FILE" 2>/dev/null && ! grep -q "<script setup" "$FILE" 2>/dev/null; then echo "[vue3-js-assistant] WARNING: $FILE uses Options API <script> without setup. Consider using <script setup> with Composition API."; fi; if grep -qP "\b(bg|text|border)-(red|blue|green|yellow|gray|pink|purple|indigo|orange|teal|cyan|emerald|violet|rose|amber|lime|sky|fuchsia|slate|zinc|neutral|stone|warm|cool)-\d{2,3}\b" "$FILE" 2>/dev/null; then echo "[vue3-js-assistant] WARNING: $FILE uses Tailwind color classes. Use CSS custom properties via inline style instead: style=\"color: var(--text)\""; fi; fi'npx claudepluginhub xqgerogia/claude-skills --plugin vue3-js-assistant