mirror of
https://github.com/personamanagmentlayer/pcl.git
synced 2026-09-14 15:40:22 +08:00
5c7a89f0d7
- Restructure docs and examples directories - Add stdlib skill packs and language experts - Add CLI build/init/install commands - Add build and organization docs and quick references - Update docs index and project structure - Move session summaries under docs/sessions - Consolidate skills test fixtures under tests/skills - Remove obsolete examples and legacy docs
2.2 KiB
2.2 KiB
PCL Skills CLI - Quick Reference
Commands
# Import skills
pcl skill import <source> [-o <output>] [--recursive] [-v]
# Export skills
pcl skill export <source> [-o <output>] [--format <fmt>] [-v]
# Validate skills
pcl skill validate <source> [--spec <spec>] [--recursive] [-v]
# List all skills
pcl skill list [-v]
# Show skill info
pcl skill info <name|path> [-v]
Common Tasks
Import from Claude Code
pcl skill import ~/.claude/skills/ -o ./skills/ --recursive
Validate Skills
# Agent Skills spec (default)
pcl skill validate ./skills/ --recursive
# Claude Code spec
pcl skill validate ./skills/ --spec claude-code --recursive
List Available Skills
pcl skill list --verbose
Show Skill Details
pcl skill info python-expert
Options
-o, --output <dir>- Output directory/file--recursive- Scan directories recursively--spec <spec>- Specification:agentskills(default) orclaude-code--format <fmt>- Format:claude-code(default),agentskills, orpcl-v, --verbose- Show detailed output
Auto-Discovery Locations
~/.claude/skills/- Personal Claude Code skills./.claude/skills/- Project Claude Code skills./examples/skills/- PCL example skills./skills/- PCL project skills
Validation Rules
Agent Skills Name Pattern
✅ python-expert
✅ code-review
✅ data-analysis-pro
❌ Python Expert (spaces)
❌ python_expert (underscores)
❌ PythonExpert (capitals)
Pattern: ^[a-z][a-z0-9-]*$ (lowercase, numbers, hyphens only)
Exit Codes
0- Success1- Error or validation failed
Examples
# Import all Claude Code skills
pcl skill import ~/.claude/skills/ -o ./skills/ --recursive
# Validate all skills
pcl skill validate ./skills/ --spec agentskills --recursive
# Export for sharing
pcl skill export ./skills/my-skill/SKILL.md -o ~/shared/
# List with details
pcl skill list --verbose
# Show full info
pcl skill info my-skill --verbose
Documentation
Full guide: docs/skills/CLI-USAGE.md
Status
✅ Production Ready ✅ 5 Commands ✅ Dual Spec Support ✅ 76% Bundle Reduction