eltmon

pan-skill-creator

Guide for Overdeck developers on creating and distributing skills

eltmon 31 1 Updated 4mo ago
GitHub

Install

npx skillscat add eltmon/overdeck/pan-skill-creator

Install via the SkillsCat registry.

SKILL.md

Overdeck Skill Development Guide

This skill is for Overdeck developers only. It teaches how to create skills that are distributed with Overdeck to all users.

How Skills Are Distributed

Overdeck has a two-stage skill distribution system:

1. Source Locations

Location Purpose Distributed to Users
overdeck/skills/ Public skills for all users Yes (via pan install)
overdeck/dev-skills/ Developer-only skills No (only when running from repo)
~/.overdeck/skills/ User's installed skills N/A (destination, not source)
~/.claude/skills/ Active skills for Claude Code N/A (destination, not source)

2. Installation Flow

pan install (first time)
    └── Copies overdeck/skills/* → ~/.overdeck/skills/
    
pan sync
    └── Symlinks ~/.overdeck/skills/* → ~/.claude/skills/
    └── (In dev mode) Also symlinks overdeck/dev-skills/* → ~/.claude/skills/

Creating a New Skill

Step 1: Decide Visibility

Public skill (all users): Create in overdeck/skills/
Dev-only skill: Create in overdeck/dev-skills/

Step 2: Create Skill Directory

# For public skills
mkdir -p /path/to/overdeck/skills/my-skill

# For dev-only skills
mkdir -p /path/to/overdeck/dev-skills/my-skill

Step 3: Create SKILL.md

Every skill needs a SKILL.md file with frontmatter:

---
name: my-skill
description: Brief description shown in skill list
triggers:
  - keyword that triggers this skill
  - another trigger phrase
---

# Skill Title

Content and instructions for the skill...

Step 4: Test Locally

# Rebuild Overdeck
cd /path/to/overdeck && npm run build

# Sync skills (dev mode auto-detected)
pan sync --force

# Verify skill appears
pan skills | grep my-skill

Step 5: Commit and Push

git add skills/my-skill/SKILL.md  # or dev-skills/
git commit -m "feat: add my-skill for [purpose]"
git push

Key Points

  1. Always add skills to the Overdeck repo unless the user explicitly says to create a personal/local skill
  2. pan install copies skills from package to ~/.overdeck/skills/ (doesn't overwrite existing)
  3. pan sync creates symlinks from ~/.overdeck/skills/ to ~/.claude/skills/
  4. Dev mode (detected by dev-skills/ existing) also syncs dev-skills/

Skill Best Practices

  1. Clear triggers - Include common phrases users might say
  2. Actionable instructions - Tell Claude exactly what to do
  3. Include examples - Show bash commands, file structures
  4. Keep focused - One skill, one purpose
  5. Test before commit - Run pan sync --force and verify

Updating Existing Skills

When updating a skill:

  1. Edit the file in overdeck/skills/my-skill/SKILL.md
  2. Run npm run build
  3. Run pan sync --force to update symlinks
  4. Test the skill works
  5. Commit and push

Note: Users who already have the skill won't get updates automatically until they run pan install --force or manually update.