원클릭으로
wf-template
Create a new weft workflow template or edit an existing one interactively. Use only when user types /wf-template.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Create a new weft workflow template or edit an existing one interactively. Use only when user types /wf-template.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Query the weft event log with filters. Use only when user types /ev-query.
Analyze weft workflow runs for timing and friction. Use only when user types /wf-analyze.
Check weft template currency — drift of working copies vs the bundled canonical, and whether the plugin clone is behind upstream. Use only when user types /wf-doctor.
Resume a weft workflow parked in 'waiting' at a human gate (unattended on_fail=block). Use only when user types /wf-resume.
Execute the current weft step via the Claude Code Workflow tool, then auto-transition on the structured verdict. Use only when user types /wf-run-step, or when advancing a step whose template declares an executor.
Initialize a weft workflow from a template or inline steps. Use only when user types /wf-start.
| name | wf-template |
| description | Create a new weft workflow template or edit an existing one interactively. Use only when user types /wf-template. |
| argument-hint | [template-name] (new name to create, or existing name to edit) |
| allowed-tools | ["Bash","Read","Write"] |
Build a new workflow template through conversation, or load an existing one and modify it. Both paths end by piping the template JSON to save-template.
$ARGUMENTS
First decide the mode. If the named template already exists, edit it; otherwise create a new one. List templates if unsure:
python3 "${CLAUDE_PLUGIN_ROOT}/core/cli.py" start
If no name in arguments, ask: "What should this workflow be called? (lowercase, hyphens ok)"
Ask: "One-line description of what this workflow does?"
Ask: "List the steps in order. You can describe them naturally and I'll structure them."
Example: "first plan the work, then implement it, run tests, do a code review, then push" → Parse into: plan, implement, test, review, push
For each step, confirm the default on_fail: block, or pick:
retry — auto-retry once on failurecontinue — skip failed step and move onblock — halt until manual retry (default)Suggest sensible defaults: test steps → retry, optional steps → continue.
Ask: "Should any steps block certain commands? For example, blocking git push until tests pass."
If yes, collect: which step, the regex pattern (e.g. git push, git commit), and the message to show when blocked.
python3 "${CLAUDE_PLUGIN_ROOT}/core/cli.py" preview <name>
Display the current template with all step details, guards, and policies.
Ask: "What would you like to change?" Supported modifications:
If the original is a plugin-bundled template, always save as a project-local override (don't modify plugin files). Ask whether to overwrite or save under a new name.
Show the full template and ask: "Look good? Save it?" Then save:
echo '<template_json>' | python3 "${CLAUDE_PLUGIN_ROOT}/core/cli.py" save-template
The template is saved to .claude/weft/templates/<name>.json in the project directory.
Tell the user: "Template saved! Start it with /wf-start <name>"