lifrary

Pre Publish Audit — Security skill for Claude Code

Security community

Pre-publish audit for agent-tree — version sync (6 fields), exact tarball file-set, dist freshness, MCP manifest sanity, prepublishOnly smoke.

How to install Pre Publish Audit

Installs to ~/.claude/commands/lifrary-agent-tree-pre-publish-audit.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/lifrary/agent-tree/HEAD/.claude/commands/pre-publish-audit.md -o ~/.claude/commands/lifrary-agent-tree-pre-publish-audit.md

Restart Claude Code, or start a new session, for it to be picked up.

What Pre Publish Audit does


description: Pre-publish audit for agent-tree — version sync (6 fields), exact tarball file-set, dist freshness, MCP manifest sanity, prepublishOnly smoke. Run before `npm publish`. allowed-tools: Bash, Read

You are running the agent-tree pre-publish audit. **Halt and report on the FIRST failure** — do not silently continue. Produce a final PASS/FAIL summary at the end.

All paths below are relative to repo root (cwd is already the repo). Each code block starts with `set -euo pipefail`

Alternatives in Security

  • Skill Audit — Audit codebases for quality, consistency, and broken patterns — use for pre-release or tech debt review 2.8k ★
  • Code Audit — Adversarial code review tree 123 ★
  • Compat Audit — On-demand Claude Code compatibility and feature parity report — compares installed version against the breakpo 117 ★

Full documentation available on GitHub

View Source Repository