Markdown
--- description: "Interactive workflow that guides you through creating a new standardized Cline workflow file with proper structure and conventions." author: "Cline Team" version: "1.0" category: "Meta" tags: ["workflow", "scaffolding", "meta", "getting-started"] globs: ["*.*"] ---
<task name="Create New Workflow">
<task_objective> Guide the user through the process of creating a new standardized Cline workflow file according to the established conventions. The output will be a properly structured workflow file in the workflows/ directory. </task_objective>
<detailed_sequence_steps>
Create New Workflow Process - Detailed Sequence of Steps
1. Define Workflow Purpose
- Use the `ask_followup_question` command to ask the USER for the purpose of the new workflow.
- Use the `ask_followup_question` command to ask the USER for a concise name for the workflow.
- Determine the appropriate filename using kebab-case format (e.g., `analyze-system-requirements.md`).
- Inform the USER of the upcoming workflow file creation process and the main steps they will be asked to complete.
2. Define Task Objective
- Use the `ask_followup_question` command to ask the USER for the primary objective of the workflow. Remind the user to provide breadcrumbs of the inputs to be used, the output to be generated, and a generalization of the processing to formulate the outputs.
- Use the `ask_followup_question` command to ask the USER if they know what MCP servers will be required at this point by providing a list of Cline's active MCP server names.
- Use the `ask_followup_question` command to ask the USER what the expected output format will be (e.g., markdown file, code file, terminal output).
- Formulate a clear, concise task objective statement (1-3 sentences) based on the USER's responses.
3. Outline Major Steps
- Use the `ask_followup_question` command to ask the USER to list the major steps in the workflow (3-7 steps recommended) and they will have an opportunity to provide more details later or let Cline determine this for them.
- For each major step, determine the following:
- Required tools or resources
- Expected outputs or transitions to the next step
4. Define Detailed Substeps
- For each major step identified and analyzed, present the user how you intended to perform the step and use the `ask_followup_question` command to seek confirmation or clarification.
5. Generate Workflow File
- Determine if the `workflows/` directory exists. If not, create it.
- Create a markdown file named `workflows/{{workflow-filename}}.md` with the following structure:
i. YAML frontmatter with description, author, version, category, and tags ii. Task definition with name attribute iii. Task objective section iv. Detailed sequence steps section with proper formatting v. Proper tool references and formatting conventions
- Use the `write_to_file` command to write the completed workflow file.
- Use the `attempt_completion` command to present the USER with the completed workflow file and confirmation of its creation.
</detailed_sequence_steps>
</task>