utility-pm-skill-auditor — скилл для Claude Code: аудит репозитория
Прогоняет все валидаторы по репозиторию, пересчитывает агрегаты и находит сквозные проблемы, которые не ловит ни один валидатор по отдельности.
npx skills add product-on-purpose/pm-skills --skill utility-pm-skill-auditor -a claude-codeЧто делает utility-pm-skill-auditor
Скилл запускает субагента pm-skill-auditor, который проходит по всему репозиторию: вызывает набор валидаторов, сверяет пересчитанные счётчики с объявленными значениями в CONTEXT.md, AGENTS.md и README.md, а затем проверяет сквозные места вроде скилла без команды, пробелов в примерах или осиротевших семейных контрактов. На выходе — отчёт с оценками P0/P1/P2/P3 и машиночитаемым статусом.
Устроено так: скилл определяет клиент. В Claude с установленным плагином pm-skills он вызывает @agent-pm-skills:pm-skill-auditor. В остальных клиентах читает agents/pm-skill-auditor.md и выполняет его инструкции прямо в текущем ходе, прогоняя четыре шага: валидаторы через Bash (канонический вход — bash scripts/pre-tag-validate.sh), сквозные проверки, пересчёт агрегатов, сборка отчёта. Аргументы вроде --scope changed, --since-tag v2.15.0 или --severity-floor P1 передаются дальше.
Аудит только находит проблемы, чинить их придётся вам. Если нужен разбор одного артефакта — PRD, OKR, персоны — это другой скилл, utility-pm-critic; глубокая проверка одного скилла на соответствие конвенциям — тоже не сюда. Для сквозных проверок нужен Bash и умение клиента читать файл по пути и принимать его тело как инструкции; если что-то из этого работает ненадёжно, остаётся ручной вызов валидаторов.
Какие задачи решает
- прогнать все валидаторы репозитория одной командой перед релизом
- сверить пересчитанные счётчики с объявленными в CONTEXT.md и AGENTS.md
- найти скиллы без парной слэш-команды
- проверить репозиторий на сквозные проблемы, которые пропускают отдельные валидаторы
- получить машиночитаемый статус аудита для встраивания в пайплайн
Примеры запросов агенту
- прогони аудит репозитория через utility-pm-skill-auditor
- запусти аудит только по изменённым файлам: --scope changed
- проверь репозиторий с порогом серьёзности --severity-floor P1
Как установить utility-pm-skill-auditor
1Через Skills CLI (Vercel)
npx skills add product-on-purpose/pm-skills --skill utility-pm-skill-auditor -a claude-code2Вручную: положить файлы
~/.claude/skills/utility-pm-skill-auditor/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/utility-pm-skill-auditor/
1Через Skills CLI (Vercel)
npx skills add product-on-purpose/pm-skills --skill utility-pm-skill-auditor -a codex2Вручную: положить файлы
.agents/skills/utility-pm-skill-auditor/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add product-on-purpose/pm-skills --skill utility-pm-skill-auditor -a cursor2Вручную: положить файлы
.cursor/skills/utility-pm-skill-auditor/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install product-on-purpose/pm-skills utility-pm-skill-auditor2Вручную: положить файлы
.github/skills/utility-pm-skill-auditor/SKILL.md1Через Skills CLI (Vercel)
npx skills add product-on-purpose/pm-skills --skill utility-pm-skill-auditor -a gemini-cli2Командой платформы
gemini skills install https://github.com/product-on-purpose/pm-skills --path skills/utility-pm-skill-auditorВручную: положить файлы
.devin/skills/utility-pm-skill-auditor/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add product-on-purpose/pm-skills --skill utility-pm-skill-auditor -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о utility-pm-skill-auditor
Как установить utility-pm-skill-auditor в Claude?
Через npx: npx skills add product-on-purpose/pm-skills --skill utility-pm-skill-auditor -a claude-code. После установки файл скилла лежит в ~/.claude/skills/utility-pm-skill-auditor/SKILL.md.
Что делает utility-pm-skill-auditor?
Запускает субагента pm-skill-auditor, который прогоняет валидаторы по всему репозиторию, пересчитывает агрегатные счётчики и ищет сквозные проблемы. Результат — отчёт с оценками P0/P1/P2/P3 и машиночитаемым статусом.
Чем аудитор отличается от utility-pm-skill-validate?
Аудитор идёт вширь по всему каталогу, а utility-pm-skill-validate глубоко проверяет один скилл на соответствие конвенциям авторинга. Для разбора конкретного PM-артефакта есть utility-pm-critic.
Исходный текст
SKILL.md · Apache-2.0
---
name: utility-pm-skill-auditor
description: Run a repo-wide cross-cutting governance audit via the pm-skill-auditor sub-agent. Aggregates the enforcing validator suite, re-derives aggregate counters, and surfaces cross-cutting issues no single validator catches, graded P0/P1/P2/P3 with a machine-readable status. Use for pre-release readiness checks or a periodic repo health audit.
license: Apache-2.0
metadata:
classification: utility
version: "1.1.0"
updated: 2026-06-10
category: governance
frameworks: [triple-diamond]
author: product-on-purpose
---
<!-- PM-Skills | https://github.com/product-on-purpose/pm-skills | Apache 2.0 -->
# PM Skill Auditor (Dispatch Skill)
Cross-client dispatch wrapper for the `pm-skill-auditor` sub-agent. Detects runtime; dispatches to the native sub-agent on Claude Code; reads `agents/pm-skill-auditor.md` and executes inline on non-Claude clients.
## When to Use
- You need a repo-wide audit pass: all enforcing validators, cross-cutting checks (skill-without-command, sample gaps, family contract orphans, etc.), and aggregate counter re-derivation against declared values in CONTEXT.md + AGENTS.md + README.md
- You are running on a non-Claude AI client without native pm-skill-auditor sub-agent support
- You are running on Claude Code and prefer skill-invocation semantics (e.g., for chaining inside a workflow that also uses other dispatch skills)
## When NOT to Use
- You want to review a specific PM artifact (PRD, OKR, persona) -> use `utility-pm-critic` instead
- You want to draft a CHANGELOG entry -> use `utility-pm-changelog-curator` (ships in Phase 4)
- You want to ship a release -> use `utility-pm-release-conductor` (ships in Phase 5)
- You want to FIX issues found in an audit -> the auditor is detection-only; remediation is maintainer judgment or future `pm-frontmatter-doctor` (v2.17+)
- You want a deep, single-skill check against the authoring conventions -> use `utility-pm-skill-validate`. The auditor goes wide across the catalog; it does not go deep on one skill.
## Instructions
**Runtime detection step.** Determine which AI client is invoking this skill.
### If you are running in Claude Code with the pm-skills plugin installed
Invoke `@agent-pm-skills:pm-skill-auditor` on the repo. Pass any scope arguments from `$ARGUMENTS` (e.g., `--scope changed`, `--since-tag v2.15.0`, `--severity-floor P1`). Return the sub-agent's audit report to the user.
### If you are running in any other AI client
Codex CLI, Cursor, Windsurf, Copilot, Gemini CLI, or any other client without native pm-skills plugin sub-agent support:
1. Read the canonical sub-agent definition at `agents/pm-skill-auditor.md`
2. Execute the system prompt body in that file as your operating instructions for this turn
3. Run the four-step audit flow:
- Step 1: Invoke validators via Bash (prefer `bash scripts/pre-tag-validate.sh` as canonical entry point)
- Step 2: Run cross-cutting checks from the catalog at `docs/internal/release-plans/v2.16.0/spec_pm-skill-auditor.md#cross-cutting-check-catalog`
- Step 3: Re-derive aggregate counters from filesystem and compare to declared values
- Step 4: Compose layered output report
4. Apply scope and severity-floor arguments from `$ARGUMENTS`
5. Return the layered output per master plan D26 (full report + Status Summary + Status YAML)
## Cross-Client Notes
See [Sub-Agent Compatibility Matrix](../../docs/reference/sub-agent-compatibility.md) for the canonical cross-client status. Summary for this skill as of v2.16.0: PRODUCTION on Claude Code + Codex CLI (Codex CLI successfully invoked the validator suite via Bash + produced a layered audit report with re-derived aggregate counters); EXPERIMENTAL on Cursor / Windsurf / Copilot CLI / Gemini CLI.
The "read canonical agent definition and execute inline" pattern depends on the AI client being able to:
1. Read a referenced file path
2. Execute Bash to invoke validator scripts
3. Treat the agent definition body as operating instructions for the current turn
Most AI clients support all three. If any are unreliable on a specific client, that client falls back to manual validator invocation + manual cross-cutting checks.
## Reference Files
- Canonical sub-agent definition: [`agents/pm-skill-auditor.md`](../../agents/pm-skill-auditor.md)
- Behavioral spec: [`docs/internal/release-plans/v2.16.0/spec_pm-skill-auditor.md`](../../docs/internal/release-plans/v2.16.0/spec_pm-skill-auditor.md)
- Runtime components catalog: [`docs/reference/runtime-components.md`](../../docs/reference/runtime-components.md)
- Cross-cutting check catalog: `docs/internal/release-plans/v2.16.0/spec_pm-skill-auditor.md#cross-cutting-check-catalog`
- Pre-tag validator bundle: `scripts/pre-tag-validate.{sh,ps1}`
- Output template: `references/TEMPLATE.md`
- Worked example: `references/EXAMPLE.md`
© product-on-purpose · Apache-2.0 · product-on-purpose/pm-skills