npx claudepluginhub souzalemos/spec-driven-workflow --plugin spec-driven-workflowDefined in hooks/hooks.json
Bash(git commit*)echo '[spec-driven] Verificando antes do commit...' && (command -v pnpm > /dev/null && pnpm lint 2>/dev/null; pnpm test 2>/dev/null) || (command -v npm > /dev/null && npm run lint 2>/dev/null; npm test 2>/dev/null) || true120msWrite|Edit(command -v pnpm > /dev/null && pnpm lint --fix 2>/dev/null) || (command -v npm > /dev/null && npx eslint --fix 2>/dev/null) || trueRuns bash guardrail scripts on PreToolUse for Edit/Write (main branch warns), CronCreate, and Bash (git push/commit/checkout, gh delete/write). PostToolUse handles git init/push. Blocks risky ops, touches files.