summaryrefslogtreecommitdiff
path: root/prompts/commands/create-context.md
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-02-13 20:09:56 +0200
committerPaul Buetow <paul@buetow.org>2026-02-13 20:09:56 +0200
commit6e810481354d5fa32deff1ae1a52f4f965c5f447 (patch)
tree37066672981336c776c07f53a7a2e5b9cfbcdc90 /prompts/commands/create-context.md
parent10b82374e1fd68a18472e139ecc561d5327f6ef9 (diff)
update prompt
Diffstat (limited to 'prompts/commands/create-context.md')
-rw-r--r--prompts/commands/create-context.md35
1 files changed, 35 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.