first-run
Skill0 starsChanged 42 days agoMITView on GitHub
Initialize a repository just created from the template by running the "First run" checklist on its Getting started page, docs/public/getting-started.md. Prove the done gate, name the project, replace the template's README, pitch, pages, licence, and owner values with yours, apply the GitHub settings with gh, replace the checklist page with a stub, 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 docs/public/getting-started.md, or README.md in a child made from an older template, still has the template's First run callout, the one that names the first-run skill, and this checkout is not the template itself. Never pushes.
- Installs packages
3 other projects use a version of this.
Adopted by
Most recently taken up by
- Abilityai/corneliustheir own version, first seen Oct 13, 2026
- anthropics/claude-quickstartstheir own version, first seen Oct 13, 2026
- Erionis/Jarvis-Litetheir own version, first seen Aug 31, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- anthropics/claude-quickstarts★ 19ksame name
- Abilityai/cornelius★ 109same name
- Erionis/Jarvis-Lite★ 3same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository21 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- fix-ciSkill
- new-adrSkill
- new-packageSkill
- new-specSkill
- prSkill
- releaseSkill
- sync-templateSkill
- update-depsSkill
- verify-docsSkill
- first-runSkill
- fix-ciSkill
- new-adrSkill
- new-packageSkill
- new-specSkill
- prSkill
- releaseSkill
- sync-templateSkill
- update-depsSkill
- verify-docsSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 28
Stop and say so; there the checklist is the product.
- Distinctive: line 163
If the request carries the pitch, the licence, or a package scope, use them.
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
First run
The ## First run section of docs/public/getting-started.md 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.
- Go on only in a child.
<origin>is theOWNER/REPOthatgit remote get-url originnames; pass it to eachghcall in this skill, since a baregh repo viewreads anupstreamremote when one exists. Check, in order:- A fork:
gh repo view <origin> --json parent -q '.parent | select(.) | .owner.login + "/" + .name'printsRemiMyrset/roots, or a remote other thanoriginandtemplate(the onepnpm sync:templateadds) points atgithub.com/RemiMyrset/roots. Withoutgh, ask whether origin is a fork of roots. For a fork, ask whether this is a contribution to roots (stop) or a new project forked from it. A new project goes on and skips the next check, since a fork inherits the template flag, and step 6 adds--template=falsetogh repo edit. - The template itself: origin points at
github.com/RemiMyrset/roots, orgh repo view <origin> --json isTemplate -q .isTemplateprintstrue. Stop and say so; there the checklist is the product. A clone meant to become a new repository needsgit remote set-url origin <new-url>first, then a new run. - Neither
docs/public/getting-started.mdnor, in a child made from an older template,README.mdhas a## First runheading with the callout under it that names this skill. Either first run is already done, or the page is the repository's own, not the template's checklist; stop and say so. In the older layout the steps below still apply: step 4 replaces the README with the skeleton and step 7 replaces the Getting started page, whatever it holds.
- A fork:
- Environment.
node --versionmust print v24 or later (.node-versionpins 24) andpnpm --versionmust print a version. If either fails, say the machine is not set up yet, point todocs/template/setup.md, and stop; that is the environment, not a template defect. - Derive identity, then ask for what cannot be derived.
<owner>and<repo>are the two halves of<origin>from step 0. The slug is the repo name and must match^[\w.-]+$.gh api repos/<owner>/<repo> --jq '.owner.type, .visibility'prints whether the owner is aUseror anOrganizationand whether the repository ispublic,private, orinternal; withoutgh, ask. Then ask, never invent:- the one-line pitch; offer
gh repo view <origin> --json description -q .descriptionif it is set; - the licence: keep MIT, another licence, or none;
- the licence holder, unless the answer was none: offer the owner's name,
gh api users/<owner> --jq '.name // .login', which is the organization's for an organization, elsegit config user.name; - for an organization, the code owners: a team (
@<org>/<team>) or user handles, since an organization name alone is not a valid owner; - for a repository that is not public, the address that takes security reports: GitHub offers private vulnerability reporting on public repositories only;
- the contact for conduct reports in
CODE_OF_CONDUCT.md: an email address that reaches the maintainers privately. Never offer a handle: GitHub has no private messages, so a handle takes reports only in public, and the file promises the reporter privacy.
- the one-line pitch; offer
- Done gate:
pnpm install && pnpm verify. Red here is a template defect; stop and report it, never work around it. - Rename, exact edits:
package.json:"name": "<slug>","description": "<pitch>",repository.urlto this repository's URL (the public site's GitHub link reads it), and"version": "0.0.0": a template release bumps the version, and thereleaseskill takes0.0.0with no tag and noCHANGELOG.mdas a first release.CHANGELOG.md, when present: delete it. It is the template's release history, with links into the template's repository; the firstpnpm releasewrites this repository's own.README.mddescribes the template, not this repository: replace the whole file withreadme-skeleton.md, which sits beside this file, and fill in its placeholders.<slug>is the H1 (or the title the user gives),<pitch>the pitch, and<owner>and<repo>the halves of<origin>, with<owner>lowercased in the public-site address. The skeleton keeps the provenance line.docs/public/index.mdbecomes# <slug> documentation, one paragraph with the pitch, andStart with [Getting started](./getting-started.md).It spoke about the template; the public site publishes whatever is here.docs/public/getting-started.mdholds the checklist, so step 7 replaces it last.LICENSE, by the user's choice. MIT:Copyright (c) <year> <holder>. Another licence: replace the file withgh api licenses/<key> --jq .body(gh api licenses --jq '.[].key'lists the keys), fill in its year and holder placeholders, and name it in the link under## LicenseinREADME.md. None: deleteLICENSEand the## Licensesection ofREADME.md..github/CODEOWNERS: the whole file becomes two lines, the comment# Default reviewers for every path. Later rows override earlier ones; add path-specific owners below.and* @<owner>for a user, or*followed by the handles the user gave for an organization; the shipped comment describes the template's owner.SECURITY.md, only when the repository is not public: the paragraph that names the Report a vulnerability button becomes one sentence saying to email the address the user gave. A public repository keeps it; step 6 turns the button on..github/ISSUE_TEMPLATE/config.yml:RemiMyrset/rootsbecomes<owner>/<repo>in both links.CODE_OF_CONDUCT.md: the contact link under## Enforcementbecomes[<address>](mailto:<address>), with the address the user gave.- Package scope, only if the user wants something other than
@repo/:grep -rl '@repo/' --exclude-dir=node_modules --exclude-dir=.claude --exclude-dir=.agents .(the checklist's command) lists every file. Edit each exceptpnpm-lock.yaml, thenpnpm install(the lockfile is regenerated, never hand-edited; CI installs with--frozen-lockfile). Leave the skills alone: they are synced, name@repo/only as the default, and the next sync would revert the edit.
- Protected branches: ask whether
mainis the only one; if not, setPROTECTED_BRANCHES(comma-separated globs) in theenvblock of.claude/settings.json. The trust prompts are the human's; mention them, do not attempt them: each tool asks to trust the folder, and Codex then asks to trust each hook via/hooks. Claude Code and Gemini load the guards only when started at the repository root ("Trust and registration" indocs/template/agent-surfaces.md). - GitHub settings, only when
gh auth statussucceeds (thegh repo edit,gh workflow run, andgh apicalls prompt in every tool, which is expected):gh repo edit <owner>/<repo> --description "<pitch>" --add-topic typescript --add-topic pnpm --add-topic turborepo --add-topic ai-agents --enable-wiki=false --enable-projects=false --delete-branch-on-merge(add the product's own topics, and--template=falsefor a fork), thengh workflow run labels.yml -R <owner>/<repo>andgh api -X PUT repos/<owner>/<repo>/actions/permissions -F enabled=true -f allowed_actions=all -F sha_pinning_required=true("Keep dependencies current" indocs/template/docs-toolchain.mdsays why). For a public repository also rungh api -X PUT repos/<owner>/<repo>/private-vulnerability-reporting, which turns on the buttonSECURITY.mdnames. If not authenticated, print the commands for the user instead. - Replace
docs/public/getting-started.mdlast, since step 0 detects a fresh child by it. It becomes# Getting startedwith three numbered steps: install node 24 and pnpm thenpnpm install;pnpm verifyis what "done" means; replace this page with the product's first steps. Then runpnpm docs:portabilityandpnpm verifyonce more. - Hand off: summarize the edits and propose
git commit -am "chore: initialize from roots"(run it only if asked; never push). Print what waits for after the user's push, with<owner>/<repo>filled in: the branch ruleset, whose command and timing are under "Push protection" indocs/template/guards.md, and, if the user wants the public docs, the three commands under "Publish the public site on GitHub Pages" indocs/template/docs-toolchain.md, with the cost sentence above them for a repository that is not public. Each printedghcall names the repository, as step 0 says, so the first deploy isgh workflow run pages.yml -R <owner>/<repo>. Run before the push, the first deploy would publish the template's pages. Then remind the user thatpackages/example-package,apps/example-app, and the twodocs/public/stubs are still placeholders. Last, look for the template owner's values left behind. The excluded paths below are synced and name the template on purpose (the sync URL, the bootstrap command); never edit them. When<owner>, compared case-insensitively, does not containmyrset,git grep -n -i myrset -- . ':!docs/template' ':!.claude/skills' ':!.agents/skills' ':!scripts/sync-template.mts'must print only the provenance line inREADME.md;myrsetalso catches theLICENSEholder, spelledRemi Myrset. When<owner>contains it, as RemiMyrset or an organization namedmyrset-labsdoes, the new owner values match too, so rungit grep -n -i -E 'remimyrset(\.github\.io)?/roots([^-_0-9a-z]|$)' -- . ':!docs/template' ':!.claude/skills' ':!.agents/skills' ':!scripts/sync-template.mts'instead; it too must print only the provenance line. The tail keeps a repository namedroots-demoorroots2from matching. Neither grep has to catch the template's.github/CODEOWNERScomment: step 4 rewrites that file whole.
If the request carries the pitch, the licence, or a package scope, use them.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

