verify-artifact

Validates derived artifacts against their sources before sending or publishing them.

1.5k|3.0k|Updated Feb 6, 2026
One-click install
npx skills add https://github.com/pedrohcgs/claude-code-my-workflow --skill verify-artifact
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: verify-artifact
Source: https://github.com/pedrohcgs/claude-code-my-workflow/tree/main/.claude/skills/verify-artifact
Command: npx skills add https://github.com/pedrohcgs/claude-code-my-workflow --skill verify-artifact

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Reviewers often report defects that exist only in a corrupted, truncated, or stale artifact rather than in the actual work, wasting entire review cycles. This Skill prevents that by verifying the exact file you are about to send before it leaves your hands.

Core Features & Use Cases

  • Rebuild and Stage Safely: Rebuilds from source and stages to a local directory in one shell command, avoiding cloud-sync dehydration issues from Dropbox, iCloud, or OneDrive.
  • Integrity and Diff Checks: Verifies the file parses, checks size and counts, samples first/last content, counts unresolved markers, and diffs identifiers, numbering, and counts against the source.
  • Recipient Echo Protocol: Requires the reviewer to state filenames, page counts, and versions received, catching stale caches and wrong attachments.
  • Use Case: Before sending a rebuilt paper PDF to a coauthor, verify it parses with pdfinfo, confirm no unresolved LaTeX references remain, diff lemma numbering against the source, and use a unique filename like report_r6.pdf.

Quick Start

Verify the PDF I am about to send for review by rebuilding it from source, checking its integrity, and diffing it against the source document.

Frequently Asked Questions about verify-artifact

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I verify a PDF before sending it for review?

Rebuild the PDF from source and stage it to a local directory in the same shell command, then confirm it parses with pdfinfo or pdftotext, check size and page counts, and sample the first and last pages for expected content.

How to check a derived document against its source file?

Enumerate what could have been lost in the transformation: diff identifiers, labels, and anchors between source and artifact, check numbering stability, and compare counts of sections, tables, figures, and rows before and after.

Why does my PDF become corrupt in Dropbox or iCloud?

Cloud-synced folders dehydrate files, so a PDF can become zero bytes or a partial copy between building and reading it. Build-tool up-to-date messages check timestamps, not content, so always stage to a local non-synced directory and verify there.

What should I do when review feedback does not match my document?

Suspect the artifact first before changing your work. Signals include complaints about missing references, truncated sections, or numbering that does not match your copy; re-verify the artifact before re-verifying the work.

How do I make sure a reviewer received the correct file version?

Use unique filenames per round such as report_r6.pdf instead of report.pdf, and require the recipient to state the exact filenames, page counts, and version at the top of their response to catch stale caches and wrong attachments.