Read Claude Constructor settings and add them to the state management file.
Reads Claude Constructor settings and updates the state management file with provider, branch, and silent mode configurations.
/plugin marketplace add Hurblat/claude-constructor/plugin install claude-constructor@hurblat-pluginsRead Claude Constructor settings and add them to the state management file. Settings are determined by command arguments or auto-detection. These instructions are read and followed as part of a larger workflow. You MUST follow all workflow steps below, not skipping any step and doing all steps in order.
$1: Path to state management file (required)$2+: Optional settings in format --provider=<value> or --silent=<value>Parse optional arguments ($2, $3, etc.) to extract settings overrides:
--provider=<value> (valid: "linear", "jira", "prompt")--silent=<value> (valid: "true", "false")Determine settings in this priority order:
Issue Tracking Provider:
--provider=<value> argument provided:
linear:list_teams or similar)
jira:get_projects or similar)
Default Branch:
git symbolic-ref refs/remotes/origin/HEAD --shortgit rev-parse --abbrev-ref origin/HEAD and parse similarlySilent Mode:
--silent=<value> argument provided, use itRead the state management file ($1) to check if Settings section already exists
If Settings section exists:
If Settings section does not exist:
Add a new Settings section to the state management file using Edit tool
Format:
## Settings
- issueTrackingProvider: [value]
- defaultBranch: [value]
- silentMode: [value]