repo-init-npm-publishlisted
Install: claude install-skill singleton-sd/ai-plattform-skills
# Repo Init npm Publish
Scaffold a new **publishable** Singleton SD npm package — a CLI tool or library consumed via the GitLab npm registry (for example `tools/pdf-shrink`, `tools/pdf-context`).
This is the publishable-npm extension of [`engineering/repo-init`](../repo-init/SKILL.md). Use `repo-init` alone for repos that do not publish to the npm registry.
This skill composes:
- [`engineering/repo-init`](../repo-init/SKILL.md) — husky, commitlint, release-it
- [`engineering/git-conventions`](../git-conventions/SKILL.md) — commits, branches, tickets
- [`engineering/pipelines-npm`](../pipelines-npm/SKILL.md) — shared GitLab CI include and publish flags
- [`engineering/scripts/gitlab-credentials-helper`](https://gitlab.com/singleton-sd/engineering/scripts/gitlab-credentials-helper) — one-time release CI credentials
---
## Before starting — gather inputs
Confirm with the user:
| Input | Example |
|-------|---------|
| **Package name** (npm) | `@singleton-sd/ai-plattform-tools-pdf-shrink` |
| **CLI binary name** (if tool) | `pdf-shrink` |
| **GitLab full path** | `singleton-sd/ai-plattform/tools/pdf-shrink` |
| **Ticket prefix** | `AI`, `SSDOP` |
| **Umbrella / parent group** | `singleton-sd/ai-plattform/tools` |
| **Node engine** | `>=20.19.0` (default) |
| **Publish to npm registry?** | yes (required — this skill is only for publishable packages) |
| **Local directory** | `tools/pdf-shrink` or standalone clone path |
| **Description** | One-line package description |
|