diff options
| author | Paul Buetow <paul@buetow.org> | 2026-02-13 20:09:56 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-02-13 20:09:56 +0200 |
| commit | 6e810481354d5fa32deff1ae1a52f4f965c5f447 (patch) | |
| tree | 37066672981336c776c07f53a7a2e5b9cfbcdc90 /prompts | |
| parent | 10b82374e1fd68a18472e139ecc561d5327f6ef9 (diff) | |
update prompt
Diffstat (limited to 'prompts')
| -rw-r--r-- | prompts/commands/create-context.md | 35 | ||||
| -rw-r--r-- | prompts/commands/delete-context.md | 39 | ||||
| -rw-r--r-- | prompts/commands/load-context.md | 33 | ||||
| -rw-r--r-- | prompts/commands/update-context.md | 52 |
4 files changed, 159 insertions, 0 deletions
diff --git a/prompts/commands/create-context.md b/prompts/commands/create-context.md new file mode 100644 index 0000000..fdf8ea9 --- /dev/null +++ b/prompts/commands/create-context.md @@ -0,0 +1,35 @@ +# /create-context + +**Description:** Create a new context file in ~/Notes/Prompts/context/ that can be loaded later with /load-context. The command will guide you through creating the content and save it with the specified name. + +**Parameters:** +- context_name: The name of the context file to create (without .md extension) + +**Example usage:** +- `/create-context epimetheus` - Creates ~/Notes/Prompts/context/epimetheus.md +- `/create-context api-guidelines` - Creates ~/Notes/Prompts/context/api-guidelines.md + +--- + +## Prompt + +I'll create a new context file for you. Here's my process: + +1. **Check if the context already exists**: + - Look for ~/Notes/Prompts/context/{{context_name}}.md + - If it exists, inform you and ask if you want to overwrite or choose a different name + +2. **Ask you for the context content**: + - What information should this context contain? + - What background knowledge is relevant? + - Any specific structure or sections needed? + +3. **Create and save the context file**: + - Write the content to ~/Notes/Prompts/context/{{context_name}}.md + - Format it clearly with appropriate markdown structure + +4. **Confirm creation**: + - Show the file path + - Confirm it can now be loaded with `/load-context {{context_name}}` + +Let me create this context file for you now. diff --git a/prompts/commands/delete-context.md b/prompts/commands/delete-context.md new file mode 100644 index 0000000..247ccdc --- /dev/null +++ b/prompts/commands/delete-context.md @@ -0,0 +1,39 @@ +# /delete-context + +**Description:** Delete a context file from ~/Notes/Prompts/context/. The command will verify the file exists before deletion and ask for confirmation to prevent accidental removal. + +**Parameters:** +- context_name: The name of the context file to delete (without .md extension) + +**Example usage:** +- `/delete-context epimetheus` - Deletes ~/Notes/Prompts/context/epimetheus.md +- `/delete-context old-api-guidelines` - Deletes ~/Notes/Prompts/context/old-api-guidelines.md +- `/delete-context` - Lists available context files if no name provided + +--- + +## Prompt + +I'll delete the specified context file. Here's my process: + +1. **Check if context_name was provided**: + - If not provided, list all available context files in ~/Notes/Prompts/context/ + - Show the available options and ask which one to delete + +2. **Verify the context file exists**: + - Check for ~/Notes/Prompts/context/{{context_name}}.md + - If it doesn't exist, inform you and list available context files + +3. **Show a preview of what will be deleted**: + - Display the first few lines or a summary of the file content + - Ask for confirmation before deletion + +4. **Delete the context file**: + - Remove ~/Notes/Prompts/context/{{context_name}}.md + - Confirm successful deletion + +5. **Safety check**: + - Never delete without explicit confirmation + - Provide clear feedback on what was deleted + +Let me proceed with the deletion after verification. diff --git a/prompts/commands/load-context.md b/prompts/commands/load-context.md new file mode 100644 index 0000000..ac589a0 --- /dev/null +++ b/prompts/commands/load-context.md @@ -0,0 +1,33 @@ +# /load-context + +**Description:** Load a specific context file from ~/Notes/Prompts/context/ to provide background information for the conversation. Context files contain pre-written information about projects, domains, or workflows. + +**Parameters:** +- context_name: The name of the context file to load (without .md extension) + +**Example usage:** +- `/load-context epimetheus` - Loads ~/Notes/Prompts/context/epimetheus.md +- `/load-context api-guidelines` - Loads ~/Notes/Prompts/context/api-guidelines.md +- `/load-context` - Lists available context files if no name provided + +--- + +## Prompt + +I'll load the context file you specified. Here's my process: + +1. **Check if context_name was provided**: + - If not provided, list all available context files in ~/Notes/Prompts/context/ + - Show the available options and ask which one to load + +2. **Attempt to read the context file**: + - Read ~/Notes/Prompts/context/{{context_name}}.md + - If the file doesn't exist, inform you and list available context files + +3. **Display the context content**: + - Show the loaded context in a clear format + - Confirm that this context is now loaded for our conversation + +4. **Ready for your next request** with this context in mind + +Let me load the context for you now. diff --git a/prompts/commands/update-context.md b/prompts/commands/update-context.md new file mode 100644 index 0000000..61d5a42 --- /dev/null +++ b/prompts/commands/update-context.md @@ -0,0 +1,52 @@ +# /update-context + +**Description:** Update an existing context file in ~/Notes/Prompts/context/ by adding, modifying, or removing content. The command helps you make targeted changes to context files without recreating them from scratch. + +**Parameters:** +- context_name: The name of the context file to update (without .md extension) + +**Example usage:** +- `/update-context epimetheus` - Updates ~/Notes/Prompts/context/epimetheus.md +- `/update-context api-guidelines` - Updates ~/Notes/Prompts/context/api-guidelines.md +- `/update-context` - Lists available context files if no name provided + +--- + +## Prompt + +I'll update the specified context file for you. Here's my process: + +1. **Check if context_name was provided**: + - If not provided, list all available context files in ~/Notes/Prompts/context/ + - Show the available options and ask which one to update + +2. **Verify the context file exists**: + - Check for ~/Notes/Prompts/context/{{context_name}}.md + - If it doesn't exist, inform you and suggest using `/create-context` instead + - List available context files for reference + +3. **Read and display current content**: + - Load the existing content from ~/Notes/Prompts/context/{{context_name}}.md + - Show you the current content or a summary + - Understand what needs to be updated + +4. **Ask about the update type**: + - What changes do you want to make? + - Options: + - Add new section(s) + - Modify existing section(s) + - Remove outdated section(s) + - Rewrite specific parts + - Complete overhaul + +5. **Make the updates**: + - Apply the requested changes to the context file + - Preserve existing structure and formatting where appropriate + - Ensure markdown formatting is maintained + +6. **Save and confirm**: + - Write the updated content back to ~/Notes/Prompts/context/{{context_name}}.md + - Show a summary of what was changed + - Confirm the context file is updated and ready to use + +Let me update this context file for you now. |
