summaryrefslogtreecommitdiff
path: root/prompts/commands/create-skill.md
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-02-17 08:27:11 +0200
committerPaul Buetow <paul@buetow.org>2026-02-17 08:27:11 +0200
commitf0240820d2e8fb0362ed5d3b5c2bb7619b1cfd09 (patch)
treec4a32b334409012e87a552e2df3a617a842e5366 /prompts/commands/create-skill.md
parent7f16c98bdc95ebbbd59130eecf65233fda3ea86c (diff)
Add create-skill, update-skill, and delete-skill meta-commands
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'prompts/commands/create-skill.md')
-rw-r--r--prompts/commands/create-skill.md37
1 files changed, 37 insertions, 0 deletions
diff --git a/prompts/commands/create-skill.md b/prompts/commands/create-skill.md
new file mode 100644
index 0000000..ccd8233
--- /dev/null
+++ b/prompts/commands/create-skill.md
@@ -0,0 +1,37 @@
+# /create-skill
+
+**Description:** Create a new skill by inferring its purpose from the skill name. The skill will be saved to ~/Notes/Prompts/skills/<skill-name>/SKILL.md with proper YAML frontmatter.
+
+**Parameters:**
+- skill_name: The name of the new skill to create (e.g., "go-best-practices", "docker-compose", "rust-conventions")
+
+**Example usage:**
+- `/create-skill docker-compose`
+- `/create-skill rust-conventions`
+
+---
+
+## Prompt
+
+I'll create a new skill called `{{skill_name}}`. Here's my process:
+
+1. **Analyze the skill name** "{{skill_name}}" to infer its purpose:
+ - Break down the name into meaningful parts
+ - Determine the likely intent and use case
+ - The name must be lowercase alphanumeric with hyphens only
+
+2. **Generate the skill structure**:
+ - Create YAML frontmatter with `name` and `description`
+ - Write a "When to Use" section
+ - Write detailed instructions for the skill
+
+3. **Show you a preview** of the generated SKILL.md and ask if you want to:
+ - Use it as-is
+ - Modify the description
+ - Refine the instructions
+
+4. **Save the skill** to `~/Notes/Prompts/skills/{{skill_name}}/SKILL.md`
+
+5. **Confirm** the skill is ready to use as `/{{skill_name}}`
+
+Let me start by analyzing the skill name and generating the initial version...