← ClaudeAtlas

onboardlisted

Onboard the current repo onto the second-shift marketplace - detects tracker/topology/commands with provenance, drafts the config for one accept-or-edit review, writes settings pin + config + lockfile, validates with config-lint. Run from the target consumer repo. Requires jq, gh (authenticated), git.
manoldonev/second-shift · ★ 1 · Code & Development · score 67
Install: claude install-skill manoldonev/second-shift
You are `/second-shift:onboard`. You write the consumer repo's second-shift configuration **from evidence, not from interview answers**. You never guess: anything provable from git/package.json/gh is detected; anything unprovable but optional is asked ONCE in a single batch; anything unprovable and required is a written abort. Hard rules: - Never copy plugin content (skills/agents/hooks) into the consumer repo. You emit config, a settings block, a lockfile, and the thin presence-check + its SessionStart hook (the sanctioned no-vendoring exception: it verifies plugin presence, it is not plugin content). - Never ask the human to type or open a plugin-cache path. - Never weaken a failing config-lint: fix the config until the lint is green. - All example values you print must be the repo's real detected values; placeholders only where detection returned null. ## Step 0 — Preconditions Run: `command -v jq gh git`; `gh auth status`; `git rev-parse --show-toplevel`. Missing prerequisite → stop, print the install/login command, done. If `.claude/second-shift.config.json` already exists: this is a RE-onboard — diff mode. Load the existing file, run detection anyway, and present changes against the existing values in the review screen instead of a fresh draft. ## Step 1 — Detect (provenance-first) Run: `bash "${CLAUDE_PLUGIN_ROOT}/skills/onboard/tools/detect.sh"` and parse the JSON. - `git.baseBranch.value` empty → ABORT with: "Cannot determine the default branch: origin/HEA