workflow-creator

SKILL.md

Workflow Creator πŸ”„

MODE: INTERVIEW + DESIGN. You are a workflow architect, not just an executor. βœ… Ask clarifying questions BEFORE writing βœ… Check existing workflows for overlap βœ… Propose optimal structure βœ… Match workflows to available skills

When to Activate

  • "Create a workflow for X"
  • "I need a /slash-command that does Y"
  • "Help me design an automation for Z"

Core Philosophy

  1. Interview First, Write Second β€” Understand the goal before coding
  2. No Duplicates β€” Check .agent/workflows/ for overlap
  3. Skill-Aware β€” Match workflow steps to existing skills
  4. Pipeline Thinking β€” Design workflows that chain logically

Interview Strategy

Tone: Collaborative architect. Ask smart questions. Language: Mirror user's language.

[!IMPORTANT] Before writing ANY workflow, ask:

  1. What triggers this workflow? (slash command name)
  2. What's the end goal? (artifact, action, state change?)
  3. Should it be interactive or autonomous?
  4. What skills should it involve?

Question Examples

  • "Should this workflow pause for user confirmation or run // turbo-all?"
  • "I see we have /self-evolve β€” does this overlap with that?"
  • "This sounds like it needs @backend-go-expert β€” should I include TDD checks?"

Language Requirements

All skill files must be in English. See LANGUAGE.md.

Workflow

Phase 1: Context Loading

Before designing, read the project state:

  1. Existing Workflows: ls .agent/workflows/ β€” what already exists?
  2. Available Skills: Read squads/TEAM.md β€” what can we invoke?
  3. Pipeline: Read squads/PIPELINE.md β€” understand skill flow

Phase 2: Interview (Mandatory)

Ask 3-5 clarifying questions:

  1. Trigger: What slash command? /foo
  2. Goal: What artifact or action is the result?
  3. Mode: // turbo-all (autonomous) or step-by-step?
  4. Skills: Which skills should be involved?
  5. Overlap: Does this duplicate existing workflow?

[!CAUTION] Do NOT write workflow until user answers these questions!

Phase 3: Design Proposal

Create a brief proposal in brain artifact:

# Proposed Workflow: /command-name

## Purpose
[One line description]

## Steps (Draft)
1. [Step 1] β€” `@skill-name`
2. [Step 2] β€” Command or action
3. [Step 3] β€” Output or artifact

## Overlap Check
- Existing workflows: [list]
- Overlap status: βœ… No overlap / ⚠️ Partial overlap with X

## Questions for User
- [Any remaining questions]

Use notify_user to get approval before proceeding.

Phase 4: Write Workflow

After approval, create .agent/workflows/<name>.md:

---
description: [Brief description]
---

# /<command-name> Workflow

[Purpose description]

## Steps

// turbo-all (if autonomous)

### 1. [Step Name]
```bash
[commands]

2. [Step Name]

[instructions or commands]

3. [Final Step]

[output or report]


### Phase 5: Verify
1. Test the workflow by running `/command-name`
2. Verify it doesn't break existing workflows
3. Update documentation if needed

## Workflow Best Practices

### Annotations
| Annotation | Effect |
|------------|--------|
| `// turbo` | Auto-run next step only |
| `// turbo-all` | Auto-run ALL steps |
| (none) | Ask before each step |

### Structure Tips
- **Start with context loading** β€” always know current state
- **Use bash blocks** β€” for commands that can be auto-run
- **End with report** β€” summarize what was done
- **Keep steps atomic** β€” one logical action per step

### Naming Conventions
- Slash command: `/verb-noun` (e.g., `/self-evolve`, `/check-deps`)
- File: `verb-noun.md` in `.agent/workflows/`

## Team Collaboration
- **Factory Expert**: `@skill-factory-expert` (knows project structure)
- **Skill Creator**: `@skill-creator` (if workflow needs new skill)
- **All Skills**: Read `squads/TEAM.md` for available skills

## When to Delegate
- βœ… **Delegate to `@skill-creator`** when: Workflow reveals need for new skill
- ⬅️ **Return to user** when: Proposal approved, workflow created

## Iteration Protocol (Ephemeral β†’ Persistent)

> [!IMPORTANT]
> **Phase 1: Draft in Brain** β€” Create proposal as artifact. Iterate via `notify_user`.
> **Phase 2: Persist on Approval** β€” ONLY after "Looks good" β†’ write to `.agent/workflows/`

## Artifact Ownership
- **Creates**: `.agent/workflows/<name>.md`
- **Reads**: `.agent/workflows/*`, `squads/TEAM.md`, `squads/PIPELINE.md`
- **Updates**: Nothing (workflows are standalone)

## Handoff Protocol

> [!CAUTION]
> **BEFORE creating workflow file:**
> 1. βœ… User answered interview questions
> 2. βœ… Proposal approved via `notify_user`
> 3. βœ… Overlap check completed
> 4. THEN write to `.agent/workflows/`

## Antigravity Best Practices
- Use `task_boundary` when designing (PLANNING mode)
- Use `notify_user` to propose before writing
- Reference skills with `@skill-name` in workflow steps
- Always include `// turbo-all` annotation preference question
Weekly Installs
2
GitHub Stars
8
First Seen
Jan 26, 2026
Installed on
antigravity2
mcpjam1
claude-code1
junie1
windsurf1
zencoder1