diff --git a/docs/features/footgun-prompting.md b/docs/features/footgun-prompting.md index f761256..525325d 100644 --- a/docs/features/footgun-prompting.md +++ b/docs/features/footgun-prompting.md @@ -16,7 +16,7 @@ Footgun Prompting, AKA Overriding System Prompt, allows advanced users to comple ## How It Works -1. **Override File:** Create a file named `.kilo/system-prompt-{mode-slug}` in your workspace root (e.g., `.kilo/system-prompt-code` for the Code mode). +1. **Override File:** Create a file named `.kilocode/system-prompt-{mode-slug}` in your workspace root (e.g., `.kilocode/system-prompt-code` for the Code mode). 2. **Content:** The content of this file becomes the new system prompt for that specific mode. 3. **Activation:** Kilo Code automatically detects this file. When present, it replaces most of the standard system prompt sections. 4. **Preserved Sections:** Only the core `roleDefinition` and any `customInstructions` you've set for the mode are kept alongside your override content. Standard sections like tool descriptions, rules, and capabilities are bypassed. @@ -46,7 +46,7 @@ You can find the option and instructions within the Kilo Code UI: - **Intended Audience:** Best suited for users deeply familiar with Kilo Code's prompting system and the implications of modifying core instructions. - **Impact on Functionality:** Custom prompts override standard instructions, including those for tool usage and response consistency. This can cause unexpected behavior or errors if not managed carefully. - **Mode-Specific:** Each override file applies only to the mode specified in its filename (`{mode-slug}`). -- **No File, No Override:** If the `.kilo/system-prompt-{mode-slug}` file doesn't exist, Kilo Code uses the standard system prompt generation process for that mode. -- **Directory Creation:** Kilo Code ensures the `.kilo` directory exists before attempting to read or create the override file. +- **No File, No Override:** If the `.kilocode/system-prompt-{mode-slug}` file doesn't exist, Kilo Code uses the standard system prompt generation process for that mode. +- **Directory Creation:** Kilo Code ensures the `.kilocode` directory exists before attempting to read or create the override file. Use this feature cautiously. While powerful for customization, incorrect implementation can significantly degrade Kilo Code's performance and reliability for the affected mode.