In short.
The degit skill is a repository-template command guide for developers using coding assistants, but downloaded templates can run automatic follow-up actions. It explains source selection, empty destinations, caching, private access, aliases and controls for template actions. The supplied files establish the documented instructions and licence terms; CLI behavior, compatibility and successful execution were not assessed.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage is limited to skills/degit at commit ce5bea671a5424122a2e6e98b8cf3d8f2340dd4b; the supplied manifest lists SKILL.md as its complete contents. The repository-root LICENSE.md supplies the associated licence notice. The CLI implementation, package metadata, other repository files, assistant integration and downloaded templates are outside this scope. No commands were executed, so behavior, compatibility, performance and successful project creation remain unverified.
The overview
Identity
This resource is the Markdown instruction skill at skills/degit/SKILL.md in Rich-Harris/degit. Its declared purpose is downloading repository snapshots or templates. The source folder is [https://github.com/Rich-Harris/degit/tree/master/skills/degit].
The skill tells an assistant how to choose degit commands. It does not include the underlying CLI implementation in the supplied scope.
Assessment
The instructions provide useful detail for routine project setup: choosing a repository and reference, selecting files, using an empty destination and controlling template actions. They also cover private access and troubleshooting options.
The main practical caution is automatic processing of a downloaded degit.json. The skill documents controls for this behavior, but the supplied text cannot establish the safety of any particular template or verify the CLI's implementation.
Users
The skill suits developers asking a coding assistant to create a project from an existing repository or template. Experienced developers may find its reference selection, partial downloads and aliases useful.
Beginners still need to identify the intended repository, understand where files will be written and have access to a command-line environment. Assistant-specific installation instructions are not supplied.
Capabilities
The skill documents sources on GitHub, GitLab, Bitbucket, Sourcehut and Gist, including several URL and SSH forms. A source can include a subdirectory, while a #ref suffix can select a branch, tag or commit.
It covers selecting paths with --files or -F, requiring cached content with --cache, diagnosing failures with --verbose and using private repositories. Reusable shortcuts use degit alias <repo> <name>, degit <name>, degit ls and degit unalias <name>.
For template customization, it describes clone, search_replace and remove actions in a top-level degit.json, plus --no-actions and --allow-env controls.
Using it
Requirements
The documented commands require access to npx or an existing global degit installation. Supported runtime versions, operating systems and assistant hosts are not specified.
The destination must be empty and defaults to the current directory. SSH or private-repository use requires git on PATH and working repository credentials. Cache-only use requires an available cached copy.
Mechanism
The skill guides an assistant in constructing commands for a separate degit CLI. It describes tar snapshots as the default; --mode=git remains available. Without --cache, degit is documented to try the network first and fall back to cached content when the network is unreachable. With --cache, it requires cached content without network access.
A downloaded top-level degit.json is documented to run automatically. Its search_replace action obtains replacement text from a named environment variable. --no-actions skips template actions, while --allow-env <names> limits which environment variables search_replace may read.
Setup
The skill's default invocation is npx degit@latest, with a globally installed degit command offered as another option. Before using a command, establish the repository, reference and destination, and confirm that the destination is empty.
The instructions caution against suggesting --force without an explicit request to overwrite destination contents. They do not explain how to install or register this skill in a particular assistant.
Example
An illustrative command is npx degit@latest user/repo#branch my-project --no-actions. Replace user/repo and branch with the intended repository and reference, and use an empty destination. The command requests that source while skipping template actions.
The source and reference here are placeholders. No command was executed, and no resulting project was inspected.
Assessment & evidence
Limitations
The supplied scope contains instructions rather than executable implementation or test results. Repository access, credential fallback, cache behavior, supported source forms and template-action controls were not exercised.
The default @latest invocation does not pin the CLI version. No compatibility matrix, performance measurements or guarantees about third-party templates are supplied. Allowing template actions requires understanding their requested changes; restricting environment access does not itself disable other actions.
Reasoning
The skill's practical value is collecting related command choices in one place. Reference selection makes the requested source explicit, file selection narrows what is copied, and the empty-directory rule makes destination handling clearer.
A named commit can fix the requested repository content more precisely than a moving branch. Reproducing the overall operation would also require establishing the CLI version and environment, which this skill does not pin.
Alternatives
The source offers npx invocation and an existing global degit installation as operating choices. It also documents --mode=git as an alternative to the default tar-snapshot mode.
No competing assistant skills or project generators are compared in the supplied material. Relative performance, reliability and ease of use are unknown.
Evidence
The instructions are available at the fixed source address [https://raw.githubusercontent.com/Rich-Harris/degit/ce5bea671a5424122a2e6e98b8cf3d8f2340dd4b/skills/degit/SKILL.md]. They support the documented command forms and cautions, without demonstrating execution.
The accompanying repository licence is [https://raw.githubusercontent.com/Rich-Harris/degit/ce5bea671a5424122a2e6e98b8cf3d8f2340dd4b/LICENSE.md]. No CLI source, package metadata, downloaded template or runtime output is included in the supplied material.
Access & freshness
Costs
The supplied licence grants software permissions free of charge. Neither supplied file provides operating prices, assistant-service charges or measured resource usage, so total cost is unknown.
Rights
The repository-level LICENSE.md permits use, copying, modification, distribution, sublicensing and sale, provided the copyright and permission notices accompany copies or substantial portions. It also disclaims warranties and liability.
These permissions concern the supplied software and documentation. Rights to repositories or templates downloaded with degit are not established by these files and depend on their own terms.
Freshness
The supplied snapshot was captured on 15 November 2026 at 18:09:15.306 UTC and identifies repository commit ce5bea671a5424122a2e6e98b8cf3d8f2340dd4b. That commit identifies the described files, not a published degit CLI version.
The master folder address and the skill's @latest command are moving references. Current release compatibility and changes after this snapshot are unknown.
Actions
Choose the repository, reference and empty destination before using the documented commands. For an untrusted template, use --no-actions to skip its automatic actions. If search_replace needs environment values, --allow-env <names> provides a narrower access option.
Check the template's own licence and requested changes. For repeatable use, establish the CLI version as well as the repository reference; the supplied instructions leave CLI version selection at @latest by default.
