Templates don't respect llm agents.md file rules.
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 78/100
Research direction
Inspect the version 7.0 template's conditional-files.rhai and compare its conditional deletion rules with the AGENTS.md filename and the user's selection for the LLM agent files. Verify the template keeps or removes AGENTS.md according to that selection, then run the available template generation checks if present.
Written by the indexing model from the issue text.
Description
In "conditional-files.rhai" for the version 7.0 templates, the is_prompt variable deletes files that don't exist in the template. This means that the AGENTS.md file is unconditionally always left in the template regardless of what the user chooses. I believe this might just be a typo that needs to be adjusted to the new AGENTS.md filename.
// This file handles conditional files for this specific sub-template.
const IS_TAILWIND_VAR = "is_tailwind";
const IS_PROMPT = "is_prompt";
let is_tailwind = variable::get(IS_TAILWIND_VAR);
if !is_tailwind {
file::delete("tailwind.css");
file::delete("assets/tailwind.css");
}
let is_prompt = variable::get(IS_PROMPT);
if !is_prompt {
file::delete("prompt.md");
file::delete("prompt-small.md");
}
- Dominant language
- Rust
- Stars
- 72
- Forks
- 35
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from DioxusLabs/dioxus-template
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
DioxusLabs/dioxus-template#87 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 48/100
DioxusLabs/dioxus-template#75 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
-
enhancement
Difficulty 1/5 Under an hour Newbie friendliness 45/100
DioxusLabs/dioxus-template#72 · 1 reaction ·
All issues in DioxusLabs/dioxus-template
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
gitbutlerapp/gitbutler#15998 · 1 comment ·
-
bug triage:deciding
Difficulty 1/5 Under an hour Newbie friendliness 88/100
open-telemetry/otel-arrow#4132 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100