claude-task-master icon indicating copy to clipboard operation
claude-task-master copied to clipboard

feedback: Tell the project what folder structure you're using

Open dejoma opened this issue 9 months ago • 2 comments

Feedback Summary

The task master does not understand folder structures. E.g. it started over and over to do middleware.ts meanwhile I had already implemented in src/middleware.ts and it just doesn't get it. Over and over again. And this is for multiple things -- e.g. my cursor AI rules it didn't take into account (kept making files like ProductCard.tsx meanwhile first line in nextjs.mdc was having lower case kebab case file naming with examples)

Suggestions

Have the task-master make a short analysis of the tree structure

tree . > tree-structure.txt // of course limit the depth etc. or have people define their structure

And then keep that in the context.

dejoma avatar Apr 16 '25 13:04 dejoma

Thanks for the feedback dejoma.

In the meatime while we look into your query.

You can look at enforcing rules better, the task generation is made by task-master, but the code generation is still made by your IDE.

See if you can add more rules to your cursor and see how those rules are being applied.

You could also reference certain rules inside your prompt with the cursor agent so that you can enforce those rules a little more strictly

Crunchyman-ralph avatar Apr 16 '25 13:04 Crunchyman-ralph

@dejoma you can also try updating to the most recent cursor release. It has a beta feature that adds your directory structure into every prompt. https://github.com/oslook/cursor-ai-downloads

knoxgraeme avatar Apr 17 '25 05:04 knoxgraeme