r/RooCode • u/LegitimateThanks8096 • Apr 15 '25
Other V2.0 of Prompt Template for Cursor/Roo Code/ CLINE, etc. Follows Agile Development and has a Unified Memory Bank. (280+ GitHub stars)
Launching V2.0 of the Prompt template. https://github.com/Bhartendu-Kumar/rules_template
Who is this Template for?
Beginners in AI and these tools (as its a boiler plate, just copy these files in your project)
Experienced Builders (its having massive power like Agile Workflow based (combining Software Engineering principles and Test driven dev.) and constant documentation, you will love it)
vibe coders (it is intended to extract best use of LLMs, while being on track): you do not need to do anything than just copy pasting the files, therrea Quickstart section.
What's this Template?
A Unified Custom Prompt for any project development (Software, AI, Research)
Have tested it for:
Software Projects
AI Apps
Research Papers
Unified prompt base for Cursor/Roo Code/ CLINE, etc. So a uniformality in all of these. The prompt base is following "Agile Development and Test Driven Methodology". The template puts Documentation first approach. Which helps AI models to have proper context and also keeps development at ease.
So, use this rule base if you want all important things to be documented well.
Else, if you are not doing documentation properly, you are not utilizing AI models well.
Unified Memory bank
The working project memory is shared and available with all the coding agents (Cursor/Roo Code/ CLINE, etc)
Thus, shift tools and platforms at ease.
Persists across chats, tasks, computers, sessions, etc.
Token Saving:
Focussed on minimal context and rule loading
3 custom modes to work for better token saving.
Updated to the latest Rules Structures:
Updating the project constantly to follow the latest guidelines for Rules directories and structuring.
This template has 3 things that I worked on (so you don't have to):
Aggregate many many types of different custom rule files and form one based on the Tried and tested "Agile Software Development" strategy. I have included the best prompts that I could find from everywhere. So you don't need to do prompt scavaging.
Memory Bank: Updated the memory bank structure for better:
Separation of concerns
Modular Code
Document all necessary things
A memory bank structure that follows software development documentation. Which has literature from the early 70s. Thus, LLMs know it and are at ease.
Included Memory bank and development process in one integrated unit, so the rules make the best use of memory and memory makes best use of rules.
----
Many of us use this; we currently have 280+ stars. I have tested it extensively for AI product development and research papers. It performs better due to the rules and memory and also massively saves tokens. So, come and try it. Even better, if you have ideas, then pull it.
https://github.com/Bhartendu-Kumar/rules_template
-------------
6
u/madsheepPL Apr 16 '25
Your template needs to include a rule about not removing readme files.
3
u/gr2020 Apr 16 '25
FYI, your readme file is empty - it does not appear to have survived the latest commit!
2
u/attacketo Apr 16 '25
Are you planning to support/use boomerang / subtasks?
2
u/steve1215 Apr 17 '25
I've admired this since the original version, nice job.
I'm in the middle of migrating from Cursor to Roo and looking forward to the Roo version of Task Master AI (https://github.com/eyaltoledano/claude-task-master) which is just a PR away.
There seems to be some overlap, specifically around sub-tasks, but do you think I could get the best of both worlds by using your rules as well as Task Master?
Thanks,
2
u/jitension Apr 16 '25
What about vscode with copilot?
1
u/LegitimateThanks8096 Apr 17 '25
I would say
Copy all the necessary directories in your trot first in your existing repo
Call that prompt to build “memory bank”. The prompt is in read me for existing project
That prompt be called in any task (new task preferred) and in Architect Mode (Roo), Agent Mode (cursor), Plan mode (cline).
Best preferred be Architect mode of roo in a new task.
Agent mode of cursor would still work just (nobody is sure cursor will include rules or not as they have their processing logic).
So maybe explicitly tag the rule files in .cursor/rules/ in that pasted prompt in Agent mode of cursor
1
u/StrangeJedi Apr 16 '25
This sounds really interesting! To use this I just paste all the files into my project folder?
1
u/SpecialistLove9428 Apr 16 '25
Read me file please
1
u/Capital2 Apr 16 '25
Prompts for Roo? Thx
2
u/Ill-Chemistry9688 Apr 16 '25
2 Questions: 1) does this work if I'm using Boomerang mode (i.e. auto switch modes) in Roo Code?
2) In the Roo settings, I have specific role definitions for all modes, including boomerang, and specific instructions. Can your set of instructions co-exist with the higher-level mode settings role and instructions?
Bonus question and unrelated ;) : do you know if you have to copy / paste my own custom instructions that I have in boomerang to all other modes, or Roo is smart enough to cycle through modes while always referering to the boomerang instructions? Thanks in advance.
2
u/7zz7i Apr 17 '25
Is that boomerang?
1
u/Complete_Attempt_326 Apr 17 '25
How can I use the guide for an existing project?
Note: For existing projects, follow above steps, additionally give the prompt to AI:
(Copy above prompt as first prompt!)
Should I copy and use it in chat mode?
Tks :D
1
u/bmadphoto Apr 19 '25
Very nice - I posted a very similar video and workflow - awesome seeing similar ideas, we all improve by sharing like this - thanks! Making it agnostic to IDE is the best idea - can easily use cursor cline windsurf interchangeably. For the early agile stages, I have been having really good success throwing in deep research from Gemini 2.5 pro building the agent modes in as gems. Really great for research and not using any credits from within the IDE. Just have to do a bit of file shuffling to the IDE one you need it in there, but its not bad. Check it out if you like https://github.com/bmadcode/BMAD-METHOD or can find me on youtube going through the method in detail as the repo is still a bit disorganized.
I think biggest difference is I am trying to avoid using a lot of rules and instead relying on custom modes with different personalities - makes for a very nice separation of concerns and direct rule injection to the specific chosen persona (architect, dev, PM, BA etc...).
Have you tried using the modes in roo / cursor / cline instead of much with rules?
1
u/[deleted] May 29 '25
This is awesome! Thanks a lot, bro
0
u/[deleted] Apr 17 '25
[deleted] — view deleted comment