← ClaudeAtlas

first-runlisted

Initialize a repository just created from the template by running the README "First run" checklist. Prove the done gate, name the project, fill the owner placeholders, apply the GitHub settings with gh, delete the section, and propose the commit. Use when the user says "first run", "initialize from template", "set up this repo", or "initialize this repo". Also use unprompted when README.md still contains a "## First run" section and this checkout is not the template itself. Never pushes.
RemiMyrset/roots · ★ 0 · AI & Automation · score 72
Install: claude install-skill RemiMyrset/roots
# First run The README section is the checklist; this skill executes it. Nothing in the tree depends on the template's name, so every step is plain editing plus a few `gh` calls. Ask before any step whose input you would otherwise have to invent. 0. Stop if this is the template itself: `git remote get-url origin` points at `github.com/RemiMyrset/roots`, or `gh repo view --json isTemplate -q .isTemplate` prints `true`. Say so; there the section is the product. 1. Derive identity. `OWNER/REPO` comes from `git remote get-url origin`, or `gh repo view --json owner,name` when authenticated. The slug is the repo name and must match `^[\w.-]+$`. The licence holder is `gh api user -q .name`, else `git config user.name`. Ask for the one-line pitch, never invent it; offer `gh repo view --json description -q .description` if it is set. 2. Done gate: `pnpm install && pnpm verify`. Red here is a template defect; stop and report it, never work around it. 3. Rename, exact edits: - `package.json`: `"name": "<slug>"`, `"description": "<pitch>"`. - `README.md`: the H1 becomes `# <slug>` (or the title the user gives); the first paragraph under the H1 becomes the pitch. The sections between it and `## First run` are not the pitch; leave them. Keep the provenance line under "Where things live". - `LICENSE`: `Copyright (c) <year> <holder>`. - `.github/CODEOWNERS`: `@OWNER` becomes `@<owner>`. - `.github/ISSUE_TEMPLATE/config.yml`: `OWNER/REPO` b