Detect Workflow from Git Context
cph_detect_workflowDetects the matching workflow for the current git branch, returning a match or a suggestion to create one when none exists.
Instructions
Detect which workflow matches the current git branch.
Call this if you don't have a workflow_id in CLAUDE.md yet, or if you're on an unfamiliar branch and want to know if a workflow already exists for it.
Returns either a matched workflow or a suggestion to create one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Working directory for git detection |