Agent skill
archive-src
Use when the user wants a minimal source-only archive for upload or checkpoint. Creates a tar.gz with just src/ and tests/ directories.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/archive-src-ahrav-gossip-rs
SKILL.md
Archive Source + Tests
Package only src/ and tests/ into a compact .tar.gz archive.
What's Included
src/**- All source codetests/**- All test files (integration, property, smoke, simulation, diagnostic, corpus)Cargo.toml- Project manifest (needed for context)
What's Excluded
Everything else: benches, fuzz, docs, config files, lock file, CI, .claude/, .github/, binaries.
Workflow
Run from the project root:
TIMESTAMP=$(date +%Y%m%d-%H%M%S)
ARCHIVE="scanner-rs-src-${TIMESTAMP}.tar.gz"
git ls-files -z -- 'src/' 'tests/' 'Cargo.toml' \
| grep -zZv -e '\.pack$' -e '\.bin$' \
| tar czf "${ARCHIVE}" --null -T -
echo "Created ${ARCHIVE} ($(du -h "${ARCHIVE}" | cut -f1))"
Report the archive name and size to the user when done.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?