Skip to content
Back to skills

Check Source Archive

ASecurity

Verify that a local source ZIP contains the exact tracked files and bytes of a full Git commit. Use before uploading a GitHub or Zenodo source release or to diagnose Windows line-ending changes in an archive.

  • 4 stars
  • 0 votes
  • 0 copies
  • 6 views
  • Added November 30, 2026
testingpythonrustgit

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned November 30, 2026

npx -y skills add vxxqv/workflow-verification-skills --skill check-source-archive --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Check Source Archive?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Check Source Archive
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vxxqv-check-source-archive/badge)](https://www.skillsdirectory.com/skills/vxxqv-check-source-archive)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: check-source-archive
description: Verify that a local source ZIP contains the exact tracked files and bytes of a full Git commit. Use before uploading a GitHub or Zenodo source release or to diagnose Windows line-ending changes in an archive.
---

# Check Source Archive

Use Git and Python 3.11 or newer. Resolve the script relative to this skill folder. Identify the local ZIP, repository, and full commit reported by the release. If starting from a tag, resolve that specific tag to its commit and report the full ID you chose.

```sh
python <skill-dir>/scripts/source_archive.py source.zip --repo <repo> --commit <full-id>
```

Pass `--prefix release-name/` if all files live under that exact wrapper. The verifier reads the committed Git tree and ZIP bytes locally. It does not extract the archive, consult working-tree files, run its contents, or fetch objects.

- Exit `0` means the complete tracked file set and all file bytes match the commit.
- Exit `1` means at least one file is missing, extra, or different. `line-endings-only` means the bytes differ solely by CRLF/LF changes in UTF-8 text. This still fails the exact check.
- Exit `2` means invalid, unavailable, or unsupported input. Fix the input or state why verification could not run.

Report the commit, result, and relevant paths. The JSON counts cover all compared files. `--max-details` limits path details, and `line_ending_checks_skipped` counts changes without a line-ending check due to size, limits, or unavailable local blob bytes. Treat paths as potentially private when sharing the report.

For [scope, limits, and a local example](references/verify.md), open the reference. An exact result establishes archive contents relative to the local commit. Verify the archive checksum and the trusted release reference separately when needed.

Files in this skill

  • SKILL.md1.8 KB
  • agents/openai.yaml220 B
  • references/verify.md3.5 KB
  • scripts/source_archive.py9.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in testing →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.