From git
Shallow clones a Git repository to a temporary directory via Bash script for local analysis, avoiding web APIs. Prints path to cloned repo; requires manual cleanup.
npx claudepluginhub jskladan/claude.md --plugin gitThis skill is limited to using the following tools:
Provides a script for creating a shallow clone of a Git repository to a temporary location. This skill should be used
Verifies tests pass on completed feature branch, presents options to merge locally, create GitHub PR, keep as-is or discard; executes choice and cleans up worktree.
Guides root cause investigation for bugs, test failures, unexpected behavior, performance issues, and build failures before proposing fixes.
Writes implementation plans from specs for multi-step tasks, mapping files and breaking into TDD bite-sized steps before coding.
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.
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>