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 .clinerules/workflows directory.
ask_followup_question
command to ask the USER for the purpose of the new workflow.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.
ask_followup_question
command to ask the USER for the primary objective of the workflow. Remind the user to provide breadcrubs of the inputs to be used, the output to be generated, and a generalization of the processing to formulate the outputs.ask_followup_question
command to ask the USER if know what MCP servers will be required at this point by providing of a list of Cline's active MCP server names.ask_followup_question
command to ask the USER what the expected output format will be (e.g., markdown file, code file, terminal output).ask_followup_question
command to ask the USER to list the major steps in the workflow (3-7 steps recommended) and they will have a oppurtunity provide more details later or let Cline determine this for themask_followup_question
command to see confirmation or clarification.Determine if the .clinerules/workflows
directory exists. If not, create it.
Create a markdown file named .clinerules/workflows/{{workflow-filename}}.md
with the following structure:
i. Task definition with name attribute
ii. Task objective section
iii. Detailed sequence steps section with proper formatting
iv. Proper tool references and formatting conventions
Use the read_file
command to read the .clinerules/workflow-template.md
file to ensure the new workflow follows all 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.