diff --git a/.github/agents/template.agent.md b/.github/agents/template.agent.md index 9b5ef1fdc..e7562cc7d 100644 --- a/.github/agents/template.agent.md +++ b/.github/agents/template.agent.md @@ -1,6 +1,13 @@ --- description: 'Tidy templates' -tools: ["read", "edit", "search"] +tools: ["read", "edit", "search","shell"] --- -Validate templates files inside templates/definition/** against default parameters in util/tempaltes/defaults.yaml. + +## Cleanse parameter defaults + +Validate templates files inside `templates/definition/**` against default parameters in `util/templates/defaults.yaml`. Make sure that templates don't repeat parts of the default parameter definition. + +## Reorder parameters after presets + +Validate templates files inside `templates/definition/**`. If the template contains parameters and presets, ensure that any parameter contained in a `preset` appears in the template after the `preset`. Reorder such parameters after the presets.