publish-repolisted
Install: claude install-skill Paldom/databricks-skill-to-app
# publish-repo
Deploys this repository to the skills.sh ecosystem. There is no publish API —
deployment = a public, installable repo plus a first install that seeds the
catalogue telemetry. This skill makes that sequence deliberate instead of ad hoc.
Slash-invoked only: it flips repository visibility, which is hard to undo socially
(anything ever pushed becomes visible).
## When NOT to use
- Writing or fixing a skill → `add-skill`.
- The repo has zero skills under `skills/` → build first; never publish an empty
catalogue.
- Routine pushes to an already-public repo → plain git.
## Workflow
1. **Pre-flight (hard gates — stop on any failure):** the working tree must be
clean and pushed **by the owner** — this skill never runs `git commit` or
`git push`; if there are uncommitted changes, stop and hand the list to the
owner instead.
```bash
git status --porcelain # must be empty
make check # must end: 0 error(s) — includes skills.sh.json schema shape
npx skills@latest add . --list # every skill under skills/ discovered (@latest: a stale npx cache lies)
gh skill publish --dry-run # spec validation (needs gh >= 2.90; older gh: skip, use the step-6 fallback)
env | grep -E 'DISABLE_TELEMETRY|DO_NOT_TRACK|^CI=' || true # any hit -> the step-7 seed MUST use env -u
```
Triage every `gh skill` warning: add missing `license: MIT` frontmatter; the
`.claude/skills/` warning is expected here (bundled first-party