Skip to content

Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.

Go

refactor(skill-creator): use direct bash commands instead of Python script

Jiang Bohan66cb3e5a9310
diff --git a/skills/skill-creator/SKILL.md b/skills/skill-creator/SKILL.md
index 6afbbf7082..c596b27467 100644
--- a/skills/skill-creator/SKILL.md
+++ b/skills/skill-creator/SKILL.md
@@ -33,39 +33,57 @@ Before creating, clarify:
### Step 2: Initialize the Skill
-**CRITICAL: Always use the init_skill.py script to create skills.** This ensures the skill is created in the correct location (`~/.super-multica/skills/`).
+**CRITICAL: Always create skills in `~/.super-multica/skills/`, NOT in the current working directory.**
-```bash
-# Basic usage
-python3 ~/.super-multica/skills/skill-creator/scripts/init_skill.py <skill-name>
+Create the skill directory and files:
-# With description and resources
-python3 ~/.super-multica/skills/skill-creator/scripts/init_skill.py my-skill \
- --description "What this skill does" \
- --resources scripts
-```
+```bash
+# 1. Create the skill directory
+mkdir -p ~/.super-multica/skills/<skill-name>
-**Script options:**
-- `--description, -d` - Skill description
-- `--emoji, -e` - Emoji for display (default: πŸ”§)
-- `--tag, -t` - Primary tag (default: custom)
-- `--resources, -r` - Create directories: `scripts`, `references`, or both
+# 2. Create SKILL.md with proper structure
+cat > ~/.super-multica/skills/<skill-name>/SKILL.md << 'EOF'
+---
+name: <Skill Name>
+description: <What this skill does and when to use it>
+version: 1.0.0
+metadata:
+ emoji: "πŸ”§"
+ tags:
+ - custom
+---
-**Examples:**
-```bash
-# Simple skill
-python3 scripts/init_skill.py translator -d "Translate text between languages"
+## Instructions
-# Skill with helper script
-python3 scripts/init_skill.py pdf-rotator -d "Rotate PDF pages" -r scripts
+<Instructions for using this skill>
+EOF
-# Skill with references
-python3 scripts/init_skill.py api-helper -d "Help with API calls" -r scripts,references
+# 3. (Optional) Create scripts directory if needed
+mkdir -p ~/.super-multica/skills/<skill-name>/scripts
```
-The script path when running from the skill-creator directory:
+**Example - Creating a translator skill:**
```bash
-python3 ~/.super-multica/skills/skill-creator/scripts/init_skill.py <skill-name>
+mkdir -p ~/.super-multica/skills/translator
+
+cat > ~/.super-multica/skills/translator/SKILL.md << 'EOF'
+---
+name: Translator
+description: Translate text between languages. Use when user asks to translate text.
+version: 1.0.0
+metadata:
+ emoji: "🌐"
+ tags:
+ - language
+---
+
+## Instructions
+
+When asked to translate text:
+1. Identify source and target languages
+2. Provide accurate, natural translations
+3. For ambiguous terms, offer alternatives
+EOF
```
### Step 3: Edit the Skill