Hooks
What pro-workflow runs automatically, and when. A hook is a command Claude Code fires at a fixed moment, without you asking for it.
$ npx -y skills add rohitg00/pro-workflow --agent claude-codeShips with pro-workflow. Installing the plugin gets these hooks.
What fires, and when
PreToolUse
- Runs quality-gate.js".
PostToolUse
- Runs post-edit-check.js".
Stop
- Runs session-check.js".
SessionStart
Fires once when a session begins, and again after a context compaction. It is where a plugin sets up its environment, or restores state the compaction dropped.
- Runs session-start.js".
SessionEnd
- Runs session-end.js".
UserPromptSubmit
Fires before Claude sees each prompt you send. A plugin can use it to inject context, so the same instruction reaches the model every turn instead of only at session start.
- Runs prompt-submit.js".
PreCompact
- Runs pre-compact.js".
PostCompact
- Runs post-compact.js".
ConfigChange
- Runs config-watcher.js".
Notification
- Runs notification-handler.js".
SubagentStart
- Runs subagent-start.js".
SubagentStop
- Runs subagent-stop.js".
TaskCompleted
- Runs task-completed.js".
TaskCreated
- Runs task-created.js".
PermissionRequest
- Runs permission-request.js".
PermissionDenied
- Runs permission-denied.js".
PostToolUseFailure
- Runs tool-failure.js".
TeammateIdle
- Runs teammate-idle.js".
StopFailure
- Runs stop-failure.js".
FileChanged
- Runs file-changed.js".
Setup
- Runs setup-hook.js".
WorktreeCreate
- Runs worktree-create.js".
WorktreeRemove
- Runs worktree-remove.js".
CwdChanged
- Runs cwd-changed.js".
Claude Code learns from your corrections: self-correcting memory that compounds over 50+ sessions. Context engineering, parallel worktrees, agent teams, and 17 battle-tested skills.
Repo: rohitg00/pro-workflow

