audit-standards
БесплатноБез исполняемых скриптовНе проверенAudits the current project against the development standards defined in ~/.claude/CLAUDE.md. Documents non-compliant findings as GitHub issues and writes a…
от jeremylongshore★ 2 961 звезда на GitHubОб этом скилле
Audit Standards
Project: !basename $(git rev-parse --show-toplevel 2>/dev/null) 2>/dev/null || basename $PWD
Branch: !git branch --show-current 2>/dev/null || echo "unknown"
Audits the current project against the personal development standards loaded from ~/.claude/CLAUDE.md.
Generates actionable GitHub issues and a prioritised fix plan.
The development standards from the user's global ~/.claude/CLAUDE.md are already loaded into context.
The key principles to audit against are:
- Codify, Don't Document — manual steps should be executable scripts
- Bash Script UX with pfb — terminal output uses pfb with correct visual hierarchy
- Markdown Standards — all markdown passes markdownlint with zero warnings
- Professional Documentation Tone — formal docs are objective, not personal
- Version Control Everything — correct files committed, secrets excluded
- Fail Fast, Pivot Early — (process principle, skip for static audit)
- Behavioral Integrity — (process principle, skip for static audit)
Step 0: Pre-flight check
gh auth status 2>&1 || { echo "ERROR: gh is not authenticated. Run: gh auth login"; exit 1; }
Step 1: Inventory the project
find . -not -path './.git/*' -type f | sort
Also read:
README.md— documentation tone and completenessCLAUDE.md— project AI context file exists and is current- Any
.env,.env.template,.gitignore— secrets handling - Any
*.shfiles — bash scripting standards - Any
*.mdfiles — markdown quality
Step 2: Audit each principle
Principle 1 — Codify, Don't Document
- Does the README describe manual steps that should instead be scripts?
- Do bash scripts use
#!/usr/bin/env bashshebang? - Do scripts have Google-Style header docs (name, description, author, version, usage, dependencies)?
- Do functions have
@param,@return,@exampledoc comments? - Is author attribution derived from
git config user.name/git config user.email? - Are scripts idempotent (safe to run multiple times)?
Run: grep -rn "#!/" --include="*.sh" . to find all scripts.
Principle 2 — Bash Script UX with pfb
For each .sh file:
- Is pfb used for terminal output (not plain
echofor status messages)? - Are emojis passed as a parameter, not embedded in the message string?
- Are log levels (
pfb info/success/warn/error) used for single-line status only? - Is visual hierarchy consistent (heading → subheading, not mixed)?
Run: grep -rn "pfb\|echo" --include="*.sh" . and compare usage patterns.
Principle 3 — Markdown Standards
Check for a .markdownlint.json at the repo root:
cat .markdownlint.json 2>/dev/null || echo "MISSING"
Run markdownlint if available:
markdownlint '**/*.md' 2>&1 | head -50
Check:
- Blank lines around headings, lists, code blocks, tables
- Code blocks specify a language (no bare triple-backtick fences)
- Prose lines ≤ 120 characters
- URLs wrapped in
<>or link syntax - Consistent list numbering (1. 2. 3.)
- YAML frontmatter description fields are single unbroken lines
Principle 4 — Professional Documentation Tone
Read README.md and any formal docs. Flag:
- Second-person language ("you", "your") in formal technical docs (README intro, architecture sections)
- Conversational phrasing in formal sections
- User-specific references that should be generic
Note: READMEs and tutorials may use "you" in instructional sections — this is acceptable.
Principle 5 — Version Control Everything
cat .gitignore 2>/dev/null || echo "MISSING .gitignore"
ls .env* 2>/dev/null
Check:
.gitignoreexists and excludes.env, secrets, build artifacts, IDE files.env.templateexists if the project requires environment configuration- No
.envwith real values present - AI context files (
CLAUDE*.md,AGENTS*.md,GEMINI*.md) are gitignored and symlinked
AI context file check
Find all AI context files in the project (excluding .git):
find . -not -path './.git/*' \( -name 'CLAUDE*.md' -o -name 'AGENTS*.md' -o -name 'GEMINI*.md' \) | sort
For each file found, verify two things:
Gitignored — the pattern appears in
.gitignore:git check-ignore -v <file>Symlink — the file is a symbolic link (pointing to the private
ai-contextrepo), not a regular tracked file:[ -L "<file>" ] && echo "SYMLINK" || echo "REGULAR FILE — should be a symlink"
A finding is raised for any AI context file that is not gitignored OR is not a symlink. The expected
pattern is: file is listed in .gitignore, stored in the private ai-context repo, and symlinked back into
the project directory so local AI tooling finds it normally (see extract-ai-context.sh in that repo).
Step 3: Generate GitHub issues
First, fetch all open issues to avoid creating duplicates:
gh issue list --state open --limit 100 --json title --jq '.[].title'
For ea
Установить audit-standards в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadGlobGrepBashFAQ
Что делает скилл audit-standards?
Audits the current project against the development standards defined in ~/.claude/CLAUDE.md. Documents non-compliant findings as GitHub issues and writes a prioritised fix plan to the project CLAUDE.md. Use when the user says audit against settings, audit standards, check standards compliance, or audit this project.
Как установить скилл audit-standards?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл audit-standards запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic