/prompt-auditor:auditfrom prompt-auditor
Audits a directory of skills, agents, or prompts (SKILL.md, AGENTS.md, CLAUDE.md) for deterministic offline static findings, grouped critical, major, then minor. Optionally offers a pre-commit hook for staged files.
Ships in prompt-auditor. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Run the same static checks the upstream Left the Chat page and its pre-commit hook use, at full local depth, against a directory the user names.
Ask which directory to audit if not given. Default to the current directory.
Run: node "${CLAUDE_PLUGIN_ROOT}/skills/audit/scripts/audit.mjs" <directory>
Print the output as-is: findings grouped critical, then major, then minor.
If this is the first time this skill has run in this repo, offer to enable a
pre-commit hook that calls "${CLAUDE_PLUGIN_ROOT}/skills/audit/scripts/audit-staged.mjs"
against files staged in the target repo. Disabled by default. Ask before enabling it;
never enable it unasked. A minimal hook body:
#!/usr/bin/env bash
node "${CLAUDE_PLUGIN_ROOT}/skills/audit/scripts/audit-staged.mjs" || exit 1
Write it to .git/hooks/pre-commit (or a hooks directory pointed at by
git config core.hooksPath) in the target repo, and mark it executable.
examples/find-ai-events.md (with
examples/find-ai-events-fixed.md alongside it
as the corrected version) is a task prompt written to trip every PROMPT-* check - useful
for seeing the full report shape without writing a prompt from scratch.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub youngleadersdottech/young-leaders-tech-marketplace --plugin prompt-auditorOther plugins' skills for the same job