chore: better agent
This commit is contained in:
parent
dc1b84b7fd
commit
d361cbdfb3
1 changed files with 9 additions and 2 deletions
11
.github/agents/template.agent.md
vendored
11
.github/agents/template.agent.md
vendored
|
|
@ -1,6 +1,13 @@
|
||||||
---
|
---
|
||||||
description: 'Tidy templates'
|
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.
|
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.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue