Skip to main content

archive-src

Use when the user wants a minimal source-only archive for upload or checkpoint. Creates a tar.gz with just source and test files from all workspace crates.

Zur Installation springen

Quellinformationen

Repository
tomevault-io/skills-registry
Letzte Quellaktivität
28. April 2026 um 22:53
Erkannte Sprache von SKILL.md
Englisch
Sterne
1
Forks
0

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.

Datei-Explorer
2 Dateien

SKILL.md wird angezeigt

SKILL.md
Quellanweisungen · Schreibgeschützte Vorschau
name
archive-src
description
Use when the user wants a minimal source-only archive for upload or checkpoint. Creates a tar.gz with just source and test files from all workspace crates.
metadata
{"author":"ahrav"}
# Archive Source + Tests Package only source code and tests from all workspace crates into a compact `.tar.gz` archive. ## What's Included - `crates/*/src/**` - All crate source code - `crates/*/tests/**` - All crate integration/test files - `Cargo.toml` - Root workspace manifest - `crates/*/Cargo.toml` - Per-crate manifests (including fuzz) ## What's Excluded Everything else: benches, fuzz targets, docs, config files, lock file, CI, `.claude/`, `.github/`, binaries. ## Workflow Run from the project root: ```bash TIMESTAMP=$(date +%Y%m%d-%H%M%S) ARCHIVE="gossip-rs-src-${TIMESTAMP}.tar.gz" git ls-files -z -- \ ':(glob)crates/*/src/**' \ ':(glob)crates/*/tests/**' \ 'Cargo.toml' \ ':(glob)crates/*/Cargo.toml' \ ':(glob)crates/*/fuzz/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. --- > Converted and distributed by [TomeVault](https://tomevault.io/claim/ahrav) — claim your Tome and manage your conversions. <!-- tomevault:4.0:skill_md:2026-04-14 -->
Auf GitHub ansehen