build_custom_workflow
Create tailored development workflows by defining phases, iteration limits, and output preferences. Supports predefined or fully custom configurations for tasks like refactoring, feature creation, and testing.
Instructions
Build a custom workflow with full control over phases and configuration. Use specific workflow tools (refactor_workflow, create_feature_workflow, etc.) for optimized presets.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
iterationLimits | No | Set iteration limits before escalation to user input | |
outputPreferences | No | ||
selectedPhases | No | Select which phases to include in your workflow | |
task | Yes | Description of the programming task | |
userCheckpoints | No | ||
workflowType | No | Use a predefined workflow type or custom for full control | custom |
Input Schema (JSON Schema)
{
"properties": {
"iterationLimits": {
"description": "Set iteration limits before escalation to user input",
"properties": {
"ITERATE": {
"default": 15,
"description": "Max overall iterations before user input",
"type": "number"
},
"LINT": {
"default": 10,
"description": "Max lint/fix cycles before user input",
"type": "number"
},
"TEST": {
"default": 5,
"description": "Max test failure cycles before user input",
"type": "number"
}
},
"type": "object"
},
"outputPreferences": {
"properties": {
"formats": {
"default": [
"markdown"
],
"description": "Output formats for documentation",
"items": {
"enum": [
"markdown",
"json"
],
"type": "string"
},
"type": "array"
},
"generateDiagrams": {
"default": true,
"type": "boolean"
},
"includeCodeSnippets": {
"default": true,
"type": "boolean"
},
"outputDirectory": {
"default": "workflow-output",
"type": "string"
},
"realTimeUpdates": {
"default": true,
"type": "boolean"
}
},
"type": "object"
},
"selectedPhases": {
"default": [
"SETUP",
"AUDIT_INVENTORY",
"WRITE_OR_REFACTOR",
"TEST",
"LINT",
"PRESENT"
],
"description": "Select which phases to include in your workflow",
"items": {
"enum": [
"SETUP",
"AUDIT_INVENTORY",
"COMPARE_ANALYZE",
"QUESTION_DETERMINE",
"WRITE_OR_REFACTOR",
"TEST",
"LINT",
"ITERATE",
"PRESENT"
],
"type": "string"
},
"type": "array"
},
"task": {
"description": "Description of the programming task",
"type": "string"
},
"userCheckpoints": {
"properties": {
"afterFailedIterations": {
"default": true,
"type": "boolean"
},
"beforeFinalPresentation": {
"default": false,
"type": "boolean"
},
"beforeMajorChanges": {
"default": true,
"type": "boolean"
}
},
"type": "object"
},
"workflowType": {
"default": "custom",
"description": "Use a predefined workflow type or custom for full control",
"enum": [
"refactor",
"feature",
"test",
"tdd",
"custom"
],
"type": "string"
}
},
"required": [
"task"
],
"type": "object"
}