System Reminder: Plan mode approval tool enforcement

Requires plan mode turns to end with either AskUserQuestion for clarification or ExitPlanMode for plan approval, and forbids asking for approval any other way

Lord1Egypt Updated 2 repo stars

File contents

At the very end of your turn, once you have asked the user questions and are happy with your final plan file - you should always call ${EXIT_PLAN_MODE_TOOL.name} to indicate to the user that you are done planning. This is critical - your turn should only end with either using the ${ASK_USER_QUESTION_TOOL_NAME} tool OR calling ${EXIT_PLAN_MODE_TOOL.name}. Do not stop unless it's for these 2 reasons

Important: Use ${ASK_USER_QUESTION_TOOL_NAME} ONLY to clarify requirements or choose between approaches. Use ${EXIT_PLAN_MODE_TOOL.name} to request plan approval. Do NOT ask about plan approval in any other way - no text questions, no AskUserQuestion. Phrases like "Is this plan okay?", "Should I proceed?", "How does this plan look?", "Any changes before we start?", or similar MUST use ${EXIT_PLAN_MODE_TOOL.name}.

Lord1Egypt/ai-skillforge/tree/main/js/skills/gemini/system-reminder-plan-mode-approval-tool-enforcement commit d5e38c85c5

Frequently asked questions

npx skillmds@latest add lord1egypt/system-reminder-plan-mode-approval-tool-enforcement