From bf348dc594f89d70313f2f9ad0fbb9e187224711 Mon Sep 17 00:00:00 2001 From: JP <21163267+jpke@users.noreply.github.com> Date: Fri, 4 Jul 2025 18:06:33 -0400 Subject: [PATCH] feat: add self-disable step to template setup workflow - 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 --- .cursor/rules/template_setup.mdc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.cursor/rules/template_setup.mdc b/.cursor/rules/template_setup.mdc index 36a978a..fb8b1d0 100644 --- a/.cursor/rules/template_setup.mdc +++ b/.cursor/rules/template_setup.mdc @@ -1,6 +1,6 @@ --- description: Detailed steps for template setup workflow when initializing a project -alwaysApply: false +alwaysApply: true --- # Template Setup Workflow @@ -30,3 +30,8 @@ When a user prompts "initialize this project as ", I will **ONL ## After Template Initialization Template initialization is complete after customizing the project files. TaskMaster, PRD creation, and git setup are separate workflows that require explicit user requests. + +### Final Step: Remove from Context Window +After completing template initialization, update this rule file to stop consuming context space: +- **Change `alwaysApply: true` to `alwaysApply: false`** in the frontmatter of `.cursor/rules/template_setup.mdc` +- This prevents the detailed template setup instructions from taking up context window space after the one-time setup is complete