archive-full
Use when the user wants to package all source code into a tar.gz archive for upload or checkpoint. Creates a comprehensive archive excluding binaries and build artifacts.
SKILL.md.claude/skills/archive-full/SKILL.md
GitHubArchive Full Source
Package all git-tracked files from the workspace into a single .tar.gz archive, excluding binaries.
What's Included
All git-tracked files across the workspace, including:
crates/*/src/**andcrates/*/tests/**- All crate source and testsCargo.toml,Cargo.lock- Workspace manifest and lockfiledocs/,diagrams/,specs/- Documentation and specifications- Config files (
.github/,.claude/, etc.)
What's Excluded
- Binary files (
*.pack,*.bin,*.so,*.dylib,*.a) - Performance data (
perf.data) - Build artifacts are not git-tracked and excluded automatically
Workflow
Run from the project root:
TIMESTAMP=$(date +%Y%m%d-%H%M%S)
ARCHIVE="gossip-rs-full-${TIMESTAMP}.tar.gz"
git ls-files -z \
| grep -zZv -e '\.pack$' -e '\.bin$' -e '\.so$' -e '\.dylib$' -e '\.a$' -e 'perf\.data' \
| tar czf "${ARCHIVE}" --null -T -
echo "Created ${ARCHIVE} ($(du -h "${ARCHIVE}" | cut -f1))"
Report the archive name and size to the user when done.