Notre avis
Clone un dépôt Git de manière superficielle (shallow clone) vers un emplacement temporaire pour une analyse locale.
Points forts
- Évite l'utilisation d'API web en travaillant localement
- Gagne du temps et de la bande passante grâce au shallow clone
- Nettoyage facile du répertoire temporaire
- Utilisation simple avec une seule commande
Limites
- Ne clone qu'une seule branche (shallow clone)
- Le répertoire temporaire doit être supprimé manuellement
- Nécessite Git installé sur le système
Utilisez cette compétence lorsque vous devez analyser le contenu d'un dépôt localement sans récupérer tout l'historique.
Ne l'utilisez pas si vous avez besoin de l'historique complet du dépôt ou si vous prévoyez de pousser des modifications.
Analyse de sécurité
SûrThe skill performs a standard git shallow clone to a temporary directory using Bash. No destructive actions, exfiltration of data, or obfuscated execution are present. The operation is benign and well-defined.
Aucun point d'attention détecté
Exemples
Perform a shallow clone of https://github.com/psf/requests.git to a temporary directory and print the path.Shallow clone the repository https://github.com/example/repo.git at tag 'v2.0' and show me the cloned path.name: git-shallow-clone description: Perform a shallow clone of a Git repository to a temporary location. allowed-tools: Bash
Shallow Clone
Provides a script for creating a shallow clone of a Git repository to a temporary location. This skill should be used to analyze repository contents locally instead of using web APIs.
Usage
Use the scripts/shallow-clone.sh script in this directory, for example:
./scripts/shallow-clone.sh <repository_url> [<tag_or_branch>]
The script will print the path to the cloned repository when done, for example:
$ ./scripts/shallow-clone.sh https://github.com/psf/requests.git
Cloning https://github.com/psf/requests.git (shallow, ref: HEAD) to /tmp/shallow-clone-DDqkuv...
/tmp/shallow-clone-DDqkuv/repo
After analyzing the local repository, clean up the temporary directory with:
$ rm -rf <path_to_temporary_directory>
Expert Next.js App Router
Developpement
Un skill qui transforme Claude en expert Next.js App Router.
Générateur de README
Developpement
Crée des README.md professionnels et complets pour vos projets.
Rédacteur de Documentation API
Developpement
Génère de la documentation API complète au format OpenAPI/Swagger.