docs/research/skills-migration-test.md
Date: 2025-10-21 Goal: Verify zero-footprint Skills migration works
~/.claude/superclaude/agents/pm-agent.md # 1,927 words ≈ 2,500 tokens
~/.claude/superclaude/modules/*.md # Always loaded
Claude Code startup: Reads all files automatically
~/.claude/skills/pm/
├── SKILL.md # ~50 tokens (description only)
├── implementation.md # ~2,500 tokens (loaded on /sc:pm)
└── modules/*.md # Loaded with implementation
Claude Code startup: Reads SKILL.md only (if at all)
cp -r ~/.claude/superclaude ~/.claude/superclaude.backup
mkdir -p ~/.claude/skills/pm
# Files already created:
# - SKILL.md (50 tokens)
# - implementation.md (2,500 tokens)
# - modules/*.md
# plugins/superclaude/commands/pm.md
# Updated to reference skill: pm
# Test 1: Startup without /sc:pm
# - Verify no PM agent loaded
# - Check token usage in system notification
# Test 2: Execute /sc:pm
# - Verify skill loads on-demand
# - Verify full functionality works
# - Check token usage increase
# Test 3: Multiple sessions
# - Verify caching works
# - No reload on subsequent uses
✅ Startup tokens: 0 (PM not loaded) ✅ /sc:pm tokens: ~2,550 (description + implementation) ✅ Functionality: 100% preserved ✅ Token savings: >90% for non-PM sessions
If skills migration fails:
# Restore backup
rm -rf ~/.claude/skills/pm
mv ~/.claude/superclaude.backup ~/.claude/superclaude
# Revert slash command
git checkout plugins/superclaude/commands/pm.md
If successful: