publish-skilllisted
Install: claude install-skill Aperivue/medsci-skills
# Skill: publish-skill
Convert a personal agent skill into a clean, distributable, open-source-ready skill package. This skill walks through a 7-phase pipeline that audits for personally identifiable information, generalizes language and role assumptions, verifies license compatibility, checks cross-platform adapter needs, and prepares the final package for commit.
## Communication Rules
- Communicate with the user in their preferred language
- Use English for technical terms (PII, MIT, CC BY, GPL, YAML frontmatter)
- Present audit findings in structured tables
---
## Phase 0: Init and Identify Source
### Required Inputs
Collect from the user:
1. **Source skill path**: directory containing the personal skill (e.g., `~/.claude/skills/my-skill/` or `~/.agents/skills/my-skill/`)
2. **Target package path**: directory of the distributable package (e.g., `~/workspace/<your-package>/`)
3. **Target license**: license of the package (default: MIT)
### Actions
1. Read `SKILL.md` from the source skill directory
2. Inventory all files recursively (`ls -R`)
3. Classify skill type:
- **Standalone**: self-contained skill with no agent delegation
- **Orchestrator**: delegates to sub-agents (NOT suitable for distribution without refactoring)
- **Wrapper**: thin wrapper around another tool/API
4. Present inventory table to the user:
```
| File | Lines | Type | Notes |
|------|-------|------|-------|
```
**Gate**: User confirms source skill and target package before proceed