* centralize prompt management * add changeset * add variant key to determine prompt version * update tests and add prompt manager test * determine internal path, don't use projectRoot * add promptManager mock * detailed prompt docs * add schemas and validator packages * add validate prompts command * add schema validation * update tests * move schemas to src/prompts/schemas * use this.promptsDir for better semantics * add prompt schemas * version schema files & update links * remove validate command * expect dependencies * update docs * fix test * remove suggestmode to ensure clean keys * remove default variant from research and update schema * now handled by prompt manager * add manual test to verify prompts * remove incorrect batch variant * consolidate variants * consolidate analyze-complexity to just default variant * consolidate parse-prd variants * add eq handler for handlebars * consolidate research prompt variants * use brevity * consolidate variants for update subtask * add not handler * consolidate variants for update-task * consolidate update-tasks variants * add conditional content to prompt when research used * update prompt tests * show correct research variant * make variant names link to below * remove changset * restore gitignore * Merge branch 'next' of https://github.com/eyaltoledano/claude-task-master into joedanz/centralize-prompts # Conflicts: # package-lock.json # scripts/modules/task-manager/expand-task.js # scripts/modules/task-manager/parse-prd.js remove unused * add else * update tests * update biome optional dependencies * responsive html output for mobile
49 lines
1.3 KiB
JSON
49 lines
1.3 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"$id": "https://github.com/eyaltoledano/claude-task-master/blob/main/src/prompts/schemas/parameter.schema.json",
|
|
"version": "1.0.0",
|
|
"title": "Task Master Prompt Parameter",
|
|
"description": "Schema for individual prompt template parameters",
|
|
"type": "object",
|
|
"required": ["type", "description"],
|
|
"properties": {
|
|
"type": {
|
|
"type": "string",
|
|
"enum": ["string", "number", "boolean", "array", "object"],
|
|
"description": "The expected data type for this parameter"
|
|
},
|
|
"description": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"description": "Human-readable description of the parameter"
|
|
},
|
|
"required": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "Whether this parameter is required"
|
|
},
|
|
"default": {
|
|
"description": "Default value for optional parameters"
|
|
},
|
|
"enum": {
|
|
"type": "array",
|
|
"description": "Valid values for string parameters",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"pattern": {
|
|
"type": "string",
|
|
"description": "Regular expression pattern for string validation"
|
|
},
|
|
"minimum": {
|
|
"type": "number",
|
|
"description": "Minimum value for number parameters"
|
|
},
|
|
"maximum": {
|
|
"type": "number",
|
|
"description": "Maximum value for number parameters"
|
|
}
|
|
}
|
|
}
|