Skip to content

Commit ec4e1ac

Browse files
authored
feat: add self-disable step to template setup workflow (#9)
- Add final step to change alwaysApply from true to false after template initialization - Prevents detailed template setup instructions from consuming context window space - Ensures template setup rules are visible during one-time setup but hidden afterwards - Maintains accessibility via reference in workflow.mdc if needed later
1 parent 55cab60 commit ec4e1ac

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.cursor/rules/template_setup.mdc

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
description: Detailed steps for template setup workflow when initializing a project
3-
alwaysApply: false
3+
alwaysApply: true
44
---
55

66
# Template Setup Workflow
@@ -30,3 +30,8 @@ When a user prompts "initialize this project as <my project name>", I will **ONL
3030

3131
## After Template Initialization
3232
Template initialization is complete after customizing the project files. TaskMaster, PRD creation, and git setup are separate workflows that require explicit user requests.
33+
34+
### Final Step: Remove from Context Window
35+
After completing template initialization, update this rule file to stop consuming context space:
36+
- **Change `alwaysApply: true` to `alwaysApply: false`** in the frontmatter of `.cursor/rules/template_setup.mdc`
37+
- This prevents the detailed template setup instructions from taking up context window space after the one-time setup is complete

0 commit comments

Comments
 (0)