Git Repo Beginner Guide
lintendo/Axhub-Skills
面向不熟悉 Git 的产品经理、设计师、运营、文档作者等非技术用户,引导 GitHub/GitLab/Gitee/Bitbucket/自建 Git 平台的仓库初始化、授权、克隆、提交同步、冲突处理、版本恢复和协作交接。
Downloads a repository snapshot or template with degit into an empty folder, from GitHub, GitLab, Bitbucket, Sourcehut or a Gist, optionally at a branch, tag or commit.
$ npx skills add Rich-Harris/degit --skill degit -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install Rich-Harris/degit degit --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/Rich-Harris/degit.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/degit .claude/skills/degit && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "degit" agent skill from https://github.com/Rich-Harris/degit/tree/master/skills/degit into .claude/skills/degit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "degit", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/Rich-Harris/degit/tree/master/skills/degitType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add Rich-Harris/degit --skill degit -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install Rich-Harris/degit degit --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Rich-Harris/degit.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/degit .agents/skills/degit && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "degit" agent skill from https://github.com/Rich-Harris/degit/tree/master/skills/degit into .agents/skills/degit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "degit", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Rich-Harris/degit --skill degit -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install Rich-Harris/degit degit --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Rich-Harris/degit.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/degit .cursor/skills/degit && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "degit" agent skill from https://github.com/Rich-Harris/degit/tree/master/skills/degit into .cursor/skills/degit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "degit", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/Rich-Harris/degit.git --path skills/degit--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add Rich-Harris/degit --skill degit -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install Rich-Harris/degit degit --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Rich-Harris/degit.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/degit .gemini/skills/degit && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "degit" agent skill from https://github.com/Rich-Harris/degit/tree/master/skills/degit into .gemini/skills/degit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "degit", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install Rich-Harris/degit degitInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add Rich-Harris/degit --skill degit -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/Rich-Harris/degit.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/degit .github/skills/degit && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "degit" agent skill from https://github.com/Rich-Harris/degit/tree/master/skills/degit into .github/skills/degit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "degit", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Rich-Harris/degit --skill degit -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install Rich-Harris/degit degit --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Rich-Harris/degit.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/degit .opencode/skills/degit && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "degit" agent skill from https://github.com/Rich-Harris/degit/tree/master/skills/degit into .opencode/skills/degit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "degit", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
degitDownloads a repository snapshot or template with degit into an empty folder, from GitHub, GitLab, Bitbucket, Sourcehut or a Gist, optionally at a branch, tag or commit.
The agent runs npx degit@latest, or a global install if you have one, using the smallest command that fits your request: a source such as user/repo, an optional #branch, tag or commit, and an optional destination folder. Sources can be GitHub, GitLab, Bitbucket, Sourcehut or Gist, in short or URL form, and may point at a subdirectory.
The destination must be empty, and --force is suggested only if you explicitly want to overwrite its contents. The skill also covers --cache for offline copies, --verbose for diagnosing failures, --files to clone only chosen paths, alias commands for reusable shortcuts, and the degit.json actions clone, search_replace and remove for templates that need changes after download. Private repositories use an SSH fallback that needs git and working credentials. When the source, ref or destination is unclear, the agent asks before giving a command that could overwrite files.
Read from SKILL.md and the folder at commit abb913a. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
npxFrom the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
gist.github.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
degit Project Scaffolding loads about 534 tokens when it runs. Until then it costs about 15 tokens; SKILL.md has 254 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from Rich-Harris/degit at commit abb913a, republished under its MIT licence (© Rich-Harris). 254 words, ~534 tokens.
.claude/skills/degit/SKILL.md (or your agent's skills folder).Help the user scaffold a project with degit. Use npx degit@latest unless they have installed degit globally.
Start with the smallest command that matches their request:
npx degit@latest user/repo
npx degit@latest user/repo my-project
npx degit@latest user/repo#branch my-projectSources can be GitHub (user/repo, github:user/repo, or a GitHub URL), GitLab (gitlab:user/repo, a GitLab URL, or gitlab://host/user/repo), Bitbucket (bitbucket:user/repo or URL), Sourcehut (git.sr.ht/user/repo, SSH form, or URL), or Gist (https://gist.github.com/<id>, https://gist.github.com/<user>/<id>, git@gist.github.com:<id>.git, or ssh://git@gist.github.com/<id>). A #ref can name a branch, tag, or commit. A source may include a subdirectory path.
--force unless the user explicitly wants to overwrite its contents.--cache to require a cached copy (no network). Without --cache, degit tries the network first and falls back to the cached copy if the network is unreachable. Use --verbose to diagnose failures. --mode=git still works but is unnecessary; tar snapshots are the default.--files <paths> or -F <paths> to clone only specific files or directories; separate multiple paths with commas or repeat the flag.git on PATH and working repository credentials.degit alias <repo> <name>, then degit <name>; use degit ls and degit unalias <name> to manage aliases.degit.json can use clone, search_replace, and remove actions. search_replace uses a named environment variable for its replacement value.If source, ref, destination, or whether the destination is empty is unknown, ask before giving a potentially destructive command.
© Rich-Harris, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/degit of Rich-Harris/degit.
Open the folder on GitHubat commit abb913a
degit Project Scaffolding next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| degit Project Scaffolding this skillRich-Harris/degit | 7.9k | — | ~534 | Automated safety check: Pass | MIT | |
| Git Repo Beginner Guidelintendo/Axhub-Skills | 130 | — | ~893 | Automated safety check: Notes | MIT | |
| Git Platformathola/claude-night-market | 341 | — | ~1.2k | Automated safety check: Pass | MIT | |
| Git MacheteVirtusLab/git-machete | 1.1k | — | ~6.1k | Automated safety check: Pass | MIT | |
| MR and PR Description Draftertabler/tabler | 42k | — | ~2k | Automated safety check: Pass | MIT | |
| Git Init Remoteexception-coder/npe_get_jobs | 176 | — | ~662 | Automated safety check: Pass | Custom licence |
lintendo/Axhub-Skills
面向不熟悉 Git 的产品经理、设计师、运营、文档作者等非技术用户,引导 GitHub/GitLab/Gitee/Bitbucket/自建 Git 平台的仓库初始化、授权、克隆、提交同步、冲突处理、版本恢复和协作交接。
athola/claude-night-market
Detects git forge (GitHub/GitLab/Bitbucket) and maps CLI commands cross-platform.
VirtusLab/git-machete
A skill your agent uses whenever invoking the git machete CLI to organize branch chains, compute fork points, run stacked rebases/merges, or manage GitHub/GitLab PR/MR chains - especially in a repo…
tabler/tabler
Drafts a merge request or pull request title and body in simple English from the branch's git history and diff against origin/dev, ready to paste into GitLab or GitHub.
exception-coder/npe_get_jobs
Initialize git in a local project without a repository, connect it to a remote, and generate a proper .gitignore.
exception-coder/npe_get_jobs
Analyze local code changes, automatically generate meaningful commit messages based on the changes, and push to remote repository (GitHub, GitLab, Gitee, Alibaba Cloud DevOps, etc.).
Categories
Downloads a repository snapshot or template with degit into an empty folder, from GitHub, GitLab, Bitbucket, Sourcehut or a Gist, optionally at a branch, tag or commit. The agent runs npx degit@latest, or a global install if you have one, using the smallest command that fits your request: a source such as user/repo, an optional #branch, tag or commit, and an optional destination folder. Sources can be GitHub, GitLab, Bitbucket, Sourcehut or Gist, in short or URL form, and may point at a subdirectory.
degit Project Scaffolding fits situations like: starting a new project from an existing template repository; pulling a single folder out of a repository without cloning all of it; saving a shortcut for a template you reuse often.
Run `npx skills add Rich-Harris/degit --skill degit -a claude-code`. Or copy the skill folder (skills/degit in Rich-Harris/degit) into .claude/skills/degit in your project. Claude Code loads it when a task matches its description.
Run `npx skills add Rich-Harris/degit --skill degit -a codex`. Or copy the skill folder (skills/degit in Rich-Harris/degit) into .agents/skills/degit in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Rich-Harris/degit --skill degit -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/degit, .gemini/skills/degit, .github/skills/degit and .opencode/skills/degit in your project.
Going by SKILL.md and its folder, degit Project Scaffolding needs the command-line tools its instructions call (npx). Our summary lists: npx, which ships with Node.js; git on PATH and repository credentials, for private repositories.
SKILL.md names 1 domain. In commands or code: gist.github.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
degit Project Scaffolding is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 534 tokens (SKILL.md is roughly 2.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with degit Project Scaffolding: Git Repo Beginner Guide (lintendo/Axhub-Skills, 130 stars), Git Platform (athola/claude-night-market, 341 stars), Git Machete (VirtusLab/git-machete, 1.1k stars) and MR and PR Description Drafter (tabler/tabler, 42k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Rich-Harris (a GitHub user) maintains it in Rich-Harris/degit, which has 7,946 GitHub stars. The repository was last updated on September 13, 2026.
Source: Rich-Harris/degit on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.