Setup repo
Use when asked to set up or scaffold a repository's process, labels, tracker, branch ruleset, issue forms, docs layout, work-item runbook, or board. Not for this repo's own day-to-day GitHub mechanics; use its runbook.From its SKILL.md
npx -y skills add mblauberg/provenant --skill setup-repoAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
3.6 KB, 819 tokens by cl100k_base, as published. Nobody here has run it
Setup
User gate first
Before any write, user approves a plan naming the target, the exact keep/create/adapt/conflict diff and, for GitHub, the Project board. Confirm permission. Ask for an unnamed target; never infer it from cwd.
Inspect and classify
Inventory MAINTAINING.md, docs layout, .github/**, the work-item runbook and
board. Classify each action as keep (exact match), create
(absent), adapt (compatible; propose the merge) or conflict (semantic
mismatch; STOP and ask). Never overwrite; amend the declarations block per
heading. A re-run against an already-set-up repository must produce no diff.
Choose tracker
Ask: Use GitHub issues? If yes, use the GitHub branch, confirming
the remote host before any gh command. If no, record the chosen tracker or
none; skip labels, ruleset, issue forms and board. Tracker-specific setup
remains out of scope: a documented skip, not alternate-tracker scaffolding.
Declare repository process
Amend the fixed-heading Repository process block in target
MAINTAINING.md, creating it if absent, from
templates/repo-declarations.md. Record the
tracker choice, docs-layout homes, merge policy/authority and work-item runbook
pointer. Use pointers only; never duplicate runbook or policy content. This
block, not the GitHub scaffolding, is the completion gate.
Docs layout
Ask where specs, runbooks and ADRs live. Defaults: reference
engineering-docs's Default homes table by skill name; do not invoke it.
setup-repo owns the declaration.
GitHub branch: steps 1-7
Only when the tracker is GitHub issues and the remote host is confirmed:
- Labels: copy
templates/labels.ymlandtemplates/workflows-labels.ymlto.github/labels.ymland.github/workflows/labels.yml; warn thatskip-delete: falseprunes undeclared labels. - Ruleset: add the
ci-statusaggregate, then create the ruleset per ruleset guidance, confirming its app id. - Issue forms/security: copy
templates/SECURITY.mdto the root, or verify existing policy has a valid private route. Copytemplates/ISSUE_TEMPLATE/*.ymlto.github/ISSUE_TEMPLATE/; adapt gate wording and replace owner/repo. Confirm private vulnerability reporting is enabled, or replace<private-reporting-route>with a working confidential contact method. Publish only when the placeholder is gone and both routes work. - PR template: copy
templates/pull_request_template.mdinto.github/and adapt evidence rows; retain decision and review sections. - Work-item runbook: copy the doctrine into the target, adding its mechanics; the project decides merge authority.
- Project board: create the six-status board.
- CODEOWNERS/Dependabot: adapt to the stack; the
Dependabottemplate keeps its dependency label.
Stop conditions
Stop for an unnamed target, unconfirmed write permission, an unconfirmed
remote host before any gh command, replacement of an existing ruleset or
labels file, semantic conflict, or ambiguous ci-status dependencies. Ask
which jobs it should needs:.
What ships with it: 15 files
27.8 KB alongside SKILL.md
evals/
- trigger_cases.yaml2.2 KB
references/
- doctrine.md3.9 KB
- project-board.md3.0 KB
- ruleset-and-ci.md3.1 KB
templates/
- ci-status-aggregate.yml1.7 KB
- dependabot.yml730 B
- ISSUE_TEMPLATE/bug.yml2.2 KB
- ISSUE_TEMPLATE/config.yml579 B
- ISSUE_TEMPLATE/feature.yml2.3 KB
- ISSUE_TEMPLATE/work-item.yml2.5 KB
- labels.yml962 B
- pull_request_template.md2.2 KB
- repo-declarations.md861 B
- SECURITY.md524 B
- workflows-labels.yml1.0 KB