From d361cbdfb3f6297af8da955c246b8fd744492e06 Mon Sep 17 00:00:00 2001 From: andig Date: Sun, 18 Jan 2026 13:19:52 +0100 Subject: [PATCH] chore: better agent --- .github/agents/template.agent.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) 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.