creating-skillslisted
Install: claude install-skill pgoell/pgoell-claude-tools
# Creating Skills
Own the full lifecycle of a Claude Code or Codex plugin skill: scaffold, iterate, pressure-test, optimize description, or extract from session. This skill is **discovery-first**: it probes the current repo's marketplace shape before doing anything, then adapts to the conventions it finds (paths, author, license, test layout, version-tracking sites). Hardcoded values are out; everything that varies between marketplaces is resolved at runtime.
---
## Stage 0: Convention probes
Run these probes the first time the skill is invoked in a run, regardless of mode. Stash results in `/tmp/<plugin>-creating-skills/conventions.json` and reuse for the rest of the run.
### Variable table
These handlebars variables are referenced throughout the SKILL.md body and the reference docs. Each is filled in from a probe.
| Variable | Source probe | Example |
|---|---|---|
| `{{marketplace_claude_path}}` | Probe 1 | `.claude-plugin/marketplace.json` or absent |
| `{{marketplace_codex_path}}` | Probe 1 | `.agents/plugins/marketplace.json` or absent |
| `{{plugin_dir}}` | Probe 2 | `plugins/`, `.claude/plugins/`, etc. |
| `{{author}}` | Probe 3 | Whatever existing manifests use |
| `{{license}}` | Probe 3 | Whatever existing manifests use (often `MIT`) |
| `{{test_unit_dir}}` | Probe 4 | `tests/unit/` or absent |
| `{{test_triggering_dir}}` | Probe 4 | `tests/skill-triggering/` or absent |
| `{{test_integration_dir}}` | Probe 4 | `tests/integration/` or absent |
| `{{frontmatt