urmzd/dotfiles / dot_agents/skills/repo-init
repo-init
VerifiedEnd-to-end repo bootstrap: creates the GitHub repo (gh repo create), adds an Apache-2.0 LICENSE, dispatches to scaffold-project for CI/release/config, invokes community-health, writes a README, sets topics/description, and makes the initial commit and push. Use when starting a brand-new project from zero and you need the GitHub repo, metadata, and first push handled, not just local files. Do NOT use to scaffold files inside an existing repo; invoke scaffold-project directly for that.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 2.9 KB |
SKILL.md
View on GitHub---
name: repo-init
description: >
End-to-end repo bootstrap: creates the GitHub repo (gh repo create), adds an
Apache-2.0 LICENSE, dispatches to scaffold-project for CI/release/config, invokes
community-health, writes a README, sets topics/description, and makes the initial
commit and push. Use when starting a brand-new project from zero and you need the
GitHub repo, metadata, and first push handled, not just local files. Do NOT use to
scaffold files inside an existing repo; invoke scaffold-project directly for that.
allowed-tools: Read, Grep, Glob, Bash(git *), Bash(gh *), Edit, Write
user-invocable: true
arguments:
- name: name
description: Repository name
required: true
- name: lang
description: "Language/type: rust, go, python, node, terraform"
required: false
- name: description
description: One-line repo description
required: false
- name: visibility
description: "public or private (default: public)"
required: false
---
# Repo Init
Bootstrap a complete repository from zero to pushed.
## Steps
1. **Create GitHub repo**: `gh repo create <name> --<visibility> --description "<description>" --clone` (default public).
2. **Add LICENSE**: Create an Apache-2.0 LICENSE file in the repo root.
3. **Scaffold**: If a language is specified, invoke `scaffold-project` (which dispatches to `scaffold-<lang>`) to produce:
- CI workflow (`.github/workflows/ci.yml`) and release workflow (`.github/workflows/release.yml`); see `setup-ci`.
- `sr.yaml` for semantic release; see `sync-release`.
- Task runner native to the language (npm scripts, Makefile, cargo, justfile for Python).
- `.envrc` via the `setup-devenv` direnv pattern (vanilla direnv + per-language version manager, not a Nix dev shell).
- Language-specific config (Cargo.toml, go.mod, pyproject.toml, package.json, etc.).
4. **Community health**: Invoke `community-health` to add `CODE_OF_CONDUCT.md`, `SECURITY.md`, `.github/pull_request_template.md`, and `.github/ISSUE_TEMPLATE/` (bug report, feature request, config). Substitute `{OWNER}`, `{REPO}`, `{CURRENT_MAJOR}`, and `{CHECK_COMMAND}` placeholders. For a brand-new pre-1.0 project, set `{CURRENT_MAJOR}` to `0` and rewrite the SECURITY.md supported-versions table to `0.x Yes / < 0.x No`.
5. **README**: Generate a README with the repo name, description, and standard badge layout.
6. **Set metadata**: `gh repo edit --add-topic <topics> --description "<description>"` with relevant topics for the language/type.
7. **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`
8. **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.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-changelog-updatemorluto/reaPrepare or rewrite REA release changelogs and GitHub release notes from pinned Git history, with verified contributor thanks and Release Please synchronization. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| academy-guideanthropics/skillsStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials, and use cases from Claude Academy (academy.claude.com), Anthropic's learning hub. Trigger on: "how do I", "how can I", "getting started with", "what can Claude do", "teach me", "learn to use"; questions about artifacts, projects, skills, plugins, connectors, MCP; requests about rolling Claude out to a team, class, or organization; and any ask for training materials, onboarding content, or learning resources. Use it when the user is learning how to use a feature or product — not when they are mid-task and just want the task done. This skill composes with other skills: after consulting product documentation to answer how a Claude feature works, also check here for a matching course or tutorial — a docs-grounded answer and an Academy recommendation belong together. Only recommend on a strong match; never invent Academy content. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| claude-apianthropics/skillsReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER — read BEFORE opening the target file; don't skip because it "looks like a one-liner" — whenever: the prompt names Claude/Anthropic in any form (Claude, Anthropic, Fable, Opus, Sonnet, Haiku, `anthropic`, `@anthropic-ai`, `claude-*`, `us.anthropic.*`, `[1m]`); the user asks about an LLM (pricing/model choice/limits/caching) — never answer from memory; OR the task is LLM-shaped with provider unstated (agent/MCP/tool-definition/multi-agent/RAG/LLM-judge/computer-use; generate/summarize/extract/classify/rewrite/converse over NL; debugging refusals/cutoffs/streaming/tool-calls/tokens). SKIP only when another provider is being worked on (overrides all triggers): OpenAI/GPT/Gemini/Llama/Mistral/Cohere/Ollama named in the query; OR `grep -rE 'openai|langchain_openai|google.generativeai|genai|mistralai|cohere|ollama'` over the project hits (run this grep FIRST if no provider named — don't Read the file). | Stars: 198k | Updated | Claude CodeCodex | Unverified | Install |
| doc-coauthoringanthropics/skillsGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision docs, or similar structured content. This workflow helps users efficiently transfer context, refine content through iteration, and verify the doc works for readers. Trigger when user mentions writing docs, creating proposals, drafting specs, or similar documentation tasks. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |