Skip to content
Back to skills

Wf New Template

ASecurity

Create a new weft workflow template interactively. Use only when user types /wf-new-template.

  • 930 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 6, 2026
ai-agentspythongobashgit

Works with

  • cli

Security analysis

A100/100

Scanned September 6, 2026

npx -y skills add ccplugins/awesome-claude-code-plugins --skill wf-new-template --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Wf New Template?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Wf New Template
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ccplugins-wf-new-template/badge)](https://www.skillsdirectory.com/skills/ccplugins-wf-new-template)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: wf-new-template
description: "Create a new weft workflow template interactively. Use only when user types /wf-new-template."
argument-hint: "[template-name]"
allowed-tools: [Bash, Read, Write]
---

# Create New Weft Template

Build a custom workflow template through conversation.

## Arguments
$ARGUMENTS

## Instructions

Walk the user through creating a template step by step:

### Step 1: Name
If no name in arguments, ask: "What should this workflow be called? (lowercase, hyphens ok)"

### Step 2: Description
Ask: "One-line description of what this workflow does?"

### Step 3: Steps
Ask: "List the steps in order. You can describe them naturally and I'll structure them."

Example user input: "first plan the work, then implement it, run tests, do a code review, then push"
→ Parse into: plan, implement, test, review, push

### Step 4: Policies (for each step)
For each step, ask if the default `on_fail: block` is ok, or if they want:
- `retry` — auto-retry once on failure
- `continue` — skip failed step and move on
- `block` — halt until manual retry (default)

Suggest sensible defaults: test steps → retry, optional steps → continue.

### Step 5: Guards (optional)
Ask: "Should any steps block certain commands? For example, blocking `git push` until tests pass."

If yes, collect:
- Which step the guard applies to
- The regex pattern to match (e.g., `git push`, `git commit`)
- The message to show when blocked

### Step 6: Preview and confirm
Build the template JSON and show a preview using:
```bash
echo '<json>' | python3 "${CLAUDE_PLUGIN_ROOT}/core/cli.py" save-template
```

Before saving, show the full template and ask: "Look good? Save it?"

### Step 7: Save
```bash
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>`"

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.