Repo Init
Bootstrap a complete repository from zero to pushed.
Steps
-
Create GitHub repo:
gh repo create <name> --<visibility> --description "<description>" --clone(default public). -
Add LICENSE: Create an Apache-2.0 LICENSE file in the repo root.
-
Scaffold: If a language is specified, invoke the appropriate scaffold skill pattern:
- Set up CI workflow (
.github/workflows/ci.yml) - Set up release workflow (
.github/workflows/release.yml) - Create
sr.yamlfor semantic release - Set up task runner (native to the language — npm scripts, Makefile, cargo, justfile for Python)
- Create
.envrcwith appropriate Nix dev shell - Create language-specific config (Cargo.toml, go.mod, pyproject.toml, package.json, etc.)
- Set up CI workflow (
-
README: Generate a README with the repo name, description, and standard badge layout.
-
Set metadata:
gh repo edit --add-topic <topics> --description "<description>"with relevant topics for the language/type. -
Initial commit and push:
git add -A(safe here since it’s a brand new repo)git commit -m "chore: initial project scaffold"git push -u origin main
-
Report: Show the repo URL.
Rules
- Default to Apache-2.0 license.
- Default to public visibility.
- If no language is specified, create a minimal repo with just LICENSE, README, and .gitignore.
- Use conventional commits for the initial commit.