best-practices-audit
БесплатноБез исполняемых скриптовНе проверенResearch-grounded validation of a target (file, directory, or topic) against external best practices and vendor docs. Produces a cited, evidence-grounded…
от jmagly★ 233 звезды на GitHubОб этом скилле
Best-Practices Audit
Task
Validate a target — a file, directory, or freeform topic — against current external best practices, vendor documentation, and practitioner discussion. Produce a cited, evidence-grounded comparison report.
This is the research-grounded validation pattern from #929: it institutionalizes the practice of validating against fresh internet sources rather than the model's training-cutoff priors. The improvement is real only when retrieved sources have good signal, so the skill enforces citation guardrails and confidence honesty rather than fabricating breadth.
Parameters
Positional
<target>(required): file path, directory, freeform topic, or issue ref
Focus / Scope
--focus <area>: security | performance | accessibility | licensing | api-design | testing | docs | ops | compliance | … (open vocabulary)--framework <name>: bias toward a named stack (React, Kubernetes, FastAPI, …)--standard <name>: align to a named standard (OWASP, SOC2, WCAG 2.2, NIST 800-53, …)
Research Budget
--recency <window>: default 18 months. Tighten for fast-moving domains, widen for compliance/legal--depth quick|standard|deep: research effort budget (defaultstandard)--sources <list>: restrict to: vendor-docs, standards-bodies, practitioner-blogs, conference-talks, academic, github-discussions--exclude <list>: e.g. exclude SEO-spam domains--cite-threshold <N>: minimum distinct sources before a finding is reported (default2)
Reporting
--dissent: actively surface practitioner disagreement, not just consensus--validate: re-validate existing claims in the target rather than generating new ones--output <path>: where to write the report (CLI handler computes the default)
Pipeline
The CLI handler at src/cli/handlers/best-practices-audit.ts parses flags
and computes the output path; this skill receives a fully-formed prompt and
runs the research pipeline.
Step 1: Scope
- Resolve the target.
- Path exists? Read the file/directory and enumerate distinct claims or decisions stated in it (architecture choices, dependency selections, pattern usages).
- Path doesn't exist? Treat as freeform topic — the entire audit is about the topic itself.
- Inventory claims. Each claim becomes a unit of evaluation downstream: "we use Tower middleware for retries", "Postgres handles >500K users at the budgeted instance size", "WCAG 2.2 AA is required". For freeform topics, the claim is implicitly "what does current practice say about this topic?".
- Apply guidance.
--focusand--frameworkfilter which claims are in scope.--validateswitches to claim re-verification mode (no generative findings).
Step 1.5: Contributor Discovery (per ADR-023)
Before fan-out, discover any installed framework's kind: research contributors
that match the project. The discovery convention is described in ADR-023; the
runtime authority is src/contributors/discover.ts and the discovery loop
matches the algorithm there.
Read
.aiwg/frameworks/registry.json. For each registered framework id, check for<source-path>/research/contributor.mdunderagentic/code/frameworks/,agentic/code/addons/, oragentic/code/extensions/(first match wins per ADR-023 §Layout).Walk
.aiwg/contributors/research/*.mdfor project-local research contributors.For each candidate, parse YAML frontmatter and validate against the
kind: researchschema (published atagentic/code/frameworks/research-complete/skills/best-practices-audit/contributor.schema.json).Run each contributor's
detect.globagainst the project root. Skip contributors whose detection produces fewer thandetect.minCountmatches — installed but unused frameworks do not pollute the audit.For each in-use research contributor, fold its frontmatter into the research plan:
focus_areas— intersect with the user's--focusflag if present. If--focusis omitted, use the contributor's full focus list. Multiple contributors' areas merge with union semantics.sources.preferredandsources.exclude— add to the audit's allow / block lists. The user's--sourcesand--excludeflags take precedence; contributor preferences fill in defaults the user did not specify.recency_default_months— used as the per-contributor default when--recencyis not set. When multiple contributors disagree, pick the shorter window (more conservative — fresher sources are a stronger guarantee than older sources).
Stamp
origin: <framework-id>on every finding sourced through that contributor's expanded plan. Findings sourced from the generic path (no contributor) getorigin: generic. Project-local research contributors stamporigin: project-local.**No regression when n
Установить best-practices-audit в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл best-practices-audit?
Research-grounded validation of a target (file, directory, or topic) against external best practices and vendor docs. Produces a cited, evidence-grounded comparison.
Как установить скилл best-practices-audit?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл best-practices-audit запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic