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 src/ and tests/ directories.

跳到安装

来源信息

仓库
tomevault-io/skills-registry
最近来源活动
2026年4月28日 22:53
检测到的 SKILL.md 语言
英语
星标
1
分支
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
2 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
archive-src
description
Use when the user wants a minimal source-only archive for upload or checkpoint. Creates a tar.gz with just src/ and tests/ directories.
metadata
{"author":"ahrav"}
# Archive Source + Tests Package only `src/` and `tests/` into a compact `.tar.gz` archive. ## What's Included - `src/**` - All source code - `tests/**` - 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, `.codex/`, `.claude/`, `.github/`, binaries. ## Workflow Run from the project root: ```bash 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. --- > 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 -->
在 GitHub 查看