[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C3954M9CFKRH3AR8MP020W":3,"skill-same:01M6C3954M9CFKRH3AR8MP020W":104},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":60,"linkOnly":61,"markdownContent":62,"markdownBody":63,"frontMatter":64,"refName":74,"commitSha":75,"skillDirectory":76,"forksCount":77,"repositoryHtmlUrl":78,"repositoryHomepageUrl":79,"ownerHtmlUrl":80,"ownerBlogUrl":81,"ownerDescription":82,"updatedAt":83,"install":84,"resources":97},"01M6C3954M9CFKRH3AR8MP020W","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.","对照外部最佳实践和厂商文档，对目标（文件、目录或主题）进行基于研究的验证。产出带引用、有证据支撑的对比分析。","jmagly\u002Faiwg","jmagly","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1159087?v=4","01M6C10AK8N2WCSQN11FYGTJWN","Joseph Magly","01M6C10AQ8A2RMED1Y1BSVY7NF",229,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fresearch\u002Fskills\u002Fbest-practices-audit\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BRK8296DVQW3GCBXC89NVG","网页搜索与信息研究","SCENARIO","使用场景",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C82QA6RFSM572EJHQQYPMH","研究工程师","PROFESSION","适用职业",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59],"best practices","audit","best practices audit","read","depth","path","websearch","opus","quick","impact","deep","focus","evidence synthesis","evidence","vendor","webfetch","write","directory","technical","grep","Bash","file","validation","reasoning","validate","change","research","policy","docs","2026-11-10 10:12:30",false,"---\nnamespace: aiwg\nname: best-practices-audit\nplatforms: [all]\ndescription: Research-grounded validation of a target (file, directory, or topic) against external best practices and vendor docs. Produces a cited, evidence-grounded comparison.\ncommandHint:\n  argumentHint: \"\u003Ctarget> [--focus \u003Carea>] [--standard \u003Cname>] [--depth quick|standard|deep] [--cite-threshold \u003CN>] [--dissent] [--validate] [--output \u003Cpath>]\"\n  allowedTools: Read, Write, Glob, Grep, Bash, WebFetch, WebSearch\n  model: opus\n  category: research-validation\n  modelRole: reasoning\n  modelTier: premium\n  modelRationale: External evidence synthesis can change high-impact technical policy.\n---\n\n# Best-Practices Audit\n\n## Task\n\nValidate a target — a file, directory, or freeform topic — against current\nexternal best practices, vendor documentation, and practitioner discussion.\nProduce a cited, evidence-grounded comparison report.\n\nThis is the research-grounded validation pattern from #929: it institutionalizes\nthe practice of validating against fresh internet sources rather than the\nmodel's training-cutoff priors. The improvement is real **only when retrieved\nsources have good signal**, so the skill enforces citation guardrails and\nconfidence honesty rather than fabricating breadth.\n\n## Parameters\n\n### Positional\n- **`\u003Ctarget>`** (required): file path, directory, freeform topic, or issue ref\n\n### Focus \u002F Scope\n- **`--focus \u003Carea>`**: security | performance | accessibility | licensing | api-design | testing | docs | ops | compliance | … (open vocabulary)\n- **`--framework \u003Cname>`**: bias toward a named stack (React, Kubernetes, FastAPI, …)\n- **`--standard \u003Cname>`**: align to a named standard (OWASP, SOC2, WCAG 2.2, NIST 800-53, …)\n\n### Research Budget\n- **`--recency \u003Cwindow>`**: default 18 months. Tighten for fast-moving domains, widen for compliance\u002Flegal\n- **`--depth quick|standard|deep`**: research effort budget (default `standard`)\n- **`--sources \u003Clist>`**: restrict to: vendor-docs, standards-bodies, practitioner-blogs, conference-talks, academic, github-discussions\n- **`--exclude \u003Clist>`**: e.g. exclude SEO-spam domains\n- **`--cite-threshold \u003CN>`**: minimum distinct sources before a finding is reported (default `2`)\n\n### Reporting\n- **`--dissent`**: actively surface practitioner disagreement, not just consensus\n- **`--validate`**: re-validate existing claims in the target rather than generating new ones\n- **`--output \u003Cpath>`**: where to write the report (CLI handler computes the default)\n\n## Pipeline\n\nThe CLI handler at `src\u002Fcli\u002Fhandlers\u002Fbest-practices-audit.ts` parses flags\nand computes the output path; this skill receives a fully-formed prompt and\nruns the research pipeline.\n\n### Step 1: Scope\n\n1. **Resolve the target.**\n   - Path exists? Read the file\u002Fdirectory and enumerate distinct claims or\n     decisions stated in it (architecture choices, dependency selections,\n     pattern usages).\n   - Path doesn't exist? Treat as freeform topic — the entire audit is\n     about the topic itself.\n2. **Inventory claims.** Each claim becomes a unit of evaluation downstream:\n   \"we use Tower middleware for retries\", \"Postgres handles >500K users at\n   the budgeted instance size\", \"WCAG 2.2 AA is required\". For freeform\n   topics, the claim is implicitly \"what does current practice say about\n   this topic?\".\n3. **Apply guidance.** `--focus` and `--framework` filter which claims are\n   in scope. `--validate` switches to claim re-verification mode (no\n   generative findings).\n\n### Step 1.5: Contributor Discovery (per ADR-023)\n\nBefore fan-out, discover any installed framework's `kind: research` contributors\nthat match the project. The discovery convention is described in ADR-023; the\nruntime authority is `src\u002Fcontributors\u002Fdiscover.ts` and the discovery loop\nmatches the algorithm there.\n\n1. Read `.aiwg\u002Fframeworks\u002Fregistry.json`. For each registered framework id,\n   check for `\u003Csource-path>\u002Fresearch\u002Fcontributor.md` under\n   `agentic\u002Fcode\u002Fframeworks\u002F`, `agentic\u002Fcode\u002Faddons\u002F`, or `agentic\u002Fcode\u002Fextensions\u002F`\n   (first match wins per ADR-023 §Layout).\n2. Walk `.aiwg\u002Fcontributors\u002Fresearch\u002F*.md` for project-local research\n   contributors.\n3. For each candidate, parse YAML frontmatter and validate against the\n   `kind: research` schema (published at\n   `agentic\u002Fcode\u002Fframeworks\u002Fresearch-complete\u002Fskills\u002Fbest-practices-audit\u002Fcontributor.schema.json`).\n4. Run each contributor's `detect.glob` against the project root. Skip contributors\n   whose detection produces fewer than `detect.minCount` matches — installed\n   but unused frameworks do not pollute the audit.\n5. For each in-use research contributor, fold its frontmatter into the\n   research plan:\n\n   - **`focus_areas`** — intersect with the user's `--focus` flag if present.\n     If `--focus` is omitted, use the contributor's full focus list. Multiple\n     contributors' areas merge with union semantics.\n   - **`sources.preferred`** and **`sources.exclude`** — add to the audit's\n     allow \u002F block lists. The user's `--sources` and `--exclude` flags take\n     precedence; contributor preferences fill in defaults the user did not\n     specify.\n   - **`recency_default_months`** — used as the per-contributor default\n     when `--recency` is not set. When multiple contributors disagree, pick\n     the **shorter** window (more conservative — fresher sources are a\n     stronger guarantee than older sources).\n6. Stamp `origin: \u003Cframework-id>` on every finding sourced through that\n   contributor's expanded plan. Findings sourced from the generic path\n   (no contributor) get `origin: generic`. Project-local research\n   contributors stamp `origin: project-local`.\n7. **No regression when no contributors are present.** If discovery returns\n   zero in-use contributors, fall through to the bare generic path described\n   in #943 — same behavior as before this issue's wiring landed.\n\nWhen validate-metadata is available, the schema enforces correctness at\ndeploy time. At audit time, this step trusts validated frontmatter; a\ncontributor that fails parsing or validation is logged and skipped per\nADR-023 §Failure mode.\n\n### Step 2: Research Fan-Out\n\nDispatch research per claim\u002Ffocus area using the AIWG research-complete\nagents, expanded by any contributor configurations from Step 1.5.\n**Reuse existing capabilities — do not implement parallel research\nmachinery.**\n\nAvailable capabilities (load-on-demand from research-complete):\n- `find-sources` — discover candidate sources via vendor docs, standards\n  bodies, practitioner channels\n- `research-acquire` — fetch and process candidate documents\n- `research-quality` — apply GRADE quality scoring\n- `citation-guard` — block fabricated citations\n- `research-query` — query the local research corpus when one is present\n\nIf `media-curator` and the marketing kit are also installed, dispatch them\nfor web-scraping cross-references where appropriate (e.g. practitioner\nblog comparisons).\n\n**Concurrency rule per AIWG context-budget**: the agent should issue parallel\nresearch tasks where independent (different focus areas, different claims),\nbut not multiplex the same claim into N redundant subagents.\n\n### Step 3: Source Quality Gating\n\nFor each candidate source returned by research:\n\n1. Apply `--sources` allow-list and `--exclude` block-list.\n2. Run `citation-guard` to verify the source is real and retrievable\n   (URL reachable, content present at the cited location, not a 404 or\n   redirect to unrelated content).\n3. Apply GRADE methodology via `research-quality` — score each source as\n   high \u002F moderate \u002F low.\n4. Apply `--recency` window — sources older than the window are demoted\n   one quality level.\n5. Drop sources that fail any gate. Do not \"rescue\" weak sources by\n   relaxing thresholds without explicit `--guidance` to do so.\n\n### Step 4: Comparison\n\nFor each claim:\n\n1. Aggregate the surviving sources.\n2. If fewer than `--cite-threshold` distinct sources support the claim's\n   alignment-or-divergence assessment, **downgrade the finding to \"weak\n   signal\" rather than dropping it silently**. Users need to see when\n   the corpus didn't support a strong conclusion — that is itself a\n   finding.\n3. Determine alignment: ALIGNED \u002F PARTIAL \u002F DIVERGES \u002F CONTESTED.\n4. With `--dissent`, also extract dissenting voices: who argues the other\n   way, where, and on what grounds. Surface these as a labeled section,\n   not a footnote.\n\n### Step 5: Report\n\nWrite to the output path computed by the CLI handler. Structure per #929 §5:\n\n```markdown\n# Best-Practices Audit: \u003Ctarget>\n\n**Generated**: YYYY-MM-DD\n**Focus**: \u003Cflags or 'all'>\n**Depth**: \u003Cflag>\n**Cite threshold**: \u003CN>\n\n## Executive Summary\n\n\u003C2–4 sentences: what's aligned, what's misaligned, overall confidence>\n\n## Findings\n\n### Finding 1: \u003Cclaim or decision under review>\n\n- **Current state in project**: \u003Cquote\u002Fparaphrase with file:line if available>\n- **Current industry practice**: \u003Csummary>\n- **Alignment**: ALIGNED | PARTIAL | DIVERGES | CONTESTED | WEAK SIGNAL\n- **Confidence**: high | moderate | low\n- **Evidence**:\n  - [S1] \u003Csource title> — \u003Cvendor\u002Fstandards body\u002Fblog>, \u003Cdate>, \u003Curl>\n  - [S2] ...\n- **Recommendation**: \u003Cspecific change or 'keep as-is, well-justified by\n  current practice'>\n\n(repeat per claim)\n\n## Dissenting Views \u002F Open Debates\n\n\u003Cwhere practitioners disagree and why — empty section is acceptable when\nnothing surfaced; do not invent dissent>\n\n## Sources\n\nFull bibliography with retrieval dates. Every source cited above must\nappear here with full provenance. No citation appears in Findings without\nappearing in Sources.\n\n## Methodology Notes\n\n- Research depth: \u003Cquick|standard|deep>\n- Recency window: \u003Cwindow>\n- Sources excluded: \u003Clist, including domains blocked by --exclude>\n- Sources unavailable: \u003Clist, with reason — e.g. paywalled, 404>\n```\n\n## Anti-Hallucination Guardrails (Hard Requirements)\n\nThese are **non-negotiable**. Failure to meet any of these breaks the\naudit's core value proposition.\n\n1. **No fabricated citations, DOIs, URLs, or quotes.** Every cited URL must\n   be the result of a retrieval that returned content at that URL. `citation-guard`\n   enforces this; if `citation-guard` is unavailable, the audit must\n   surface that fact in Methodology Notes and downgrade overall confidence.\n2. **Cite-threshold is enforced, not advisory.** A finding below threshold is\n   downgraded to WEAK SIGNAL or dropped — never reported as if the threshold\n   were met.\n3. **Conflicting sources surface as labeled disagreement.** If sources A and B\n   disagree, the report says so explicitly. The audit does not silently\n   pick one and pretend consensus.\n4. **Sparse signal is reported honestly.** When the corpus is thin or weak,\n   the report says so and downgrades confidence. The audit does **not**\n   fill the void with the model's training-data priors.\n5. **Training-data-only claims are marked.** Any background context the\n   audit relies on without a citation is labeled `(no external citation\n   verified)` so the reader knows what's grounded vs what's not.\n6. **`--validate` mode never generates new findings.** It only re-checks\n   claims already present in the target. If a claim's supporting source\n   is no longer reachable or has changed, the audit reports that the\n   claim is now unverified, not that there's a new claim to make.\n\n## Out of Scope (deferred per #929)\n\n- Cache layer for repeated audits — see deferred tracker #946 (caching applies\n  to contributor discovery; research caching is a separate concern but not\n  in scope for this skill)\n- Auto-ingest into the knowledge-base framework — defer until best-practices-audit\n  has been used in anger and we can see whether ingestion is valuable\n  (#929 open question 4)\n- (Contributor-driven prompt expansion now wired in — see Step 1.5 above. The\n  earlier \"deferred\" note from #943 is resolved by #944.)\n\n## References\n\n- @.aiwg\u002Farchitecture\u002Fdecisions\u002FADR-023-contributor-discovery-convention.md — the contributor convention #944 will wire into this skill\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fresearch-complete\u002Fskills\u002Ffind-sources\u002FSKILL.md — source discovery\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fresearch-complete\u002Fskills\u002Fresearch-acquire\u002FSKILL.md — source retrieval and processing\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fresearch-complete\u002Fskills\u002Fresearch-quality\u002FSKILL.md — GRADE methodology\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fresearch-complete\u002Fskills\u002Fcitation-guard\u002FSKILL.md — fabricated-citation detection\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fresearch-complete\u002Fskills\u002Fresearch-query\u002FSKILL.md — local corpus queries\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Frules\u002Fresearch-before-decision.md — research-first rule the audit's pipeline implements\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Frules\u002Fcontext-budget.md — parallel subagent limits applied during research fan-out\n","# Best-Practices Audit\n\n## Task\n\nValidate a target — a file, directory, or freeform topic — against current\nexternal best practices, vendor documentation, and practitioner discussion.\nProduce a cited, evidence-grounded comparison report.\n\nThis is the research-grounded validation pattern from #929: it institutionalizes\nthe practice of validating against fresh internet sources rather than the\nmodel's training-cutoff priors. The improvement is real **only when retrieved\nsources have good signal**, so the skill enforces citation guardrails and\nconfidence honesty rather than fabricating breadth.\n\n## Parameters\n\n### Positional\n- **`\u003Ctarget>`** (required): file path, directory, freeform topic, or issue ref\n\n### Focus \u002F Scope\n- **`--focus \u003Carea>`**: security | performance | accessibility | licensing | api-design | testing | docs | ops | compliance | … (open vocabulary)\n- **`--framework \u003Cname>`**: bias toward a named stack (React, Kubernetes, FastAPI, …)\n- **`--standard \u003Cname>`**: align to a named standard (OWASP, SOC2, WCAG 2.2, NIST 800-53, …)\n\n### Research Budget\n- **`--recency \u003Cwindow>`**: default 18 months. Tighten for fast-moving domains, widen for compliance\u002Flegal\n- **`--depth quick|standard|deep`**: research effort budget (default `standard`)\n- **`--sources \u003Clist>`**: restrict to: vendor-docs, standards-bodies, practitioner-blogs, conference-talks, academic, github-discussions\n- **`--exclude \u003Clist>`**: e.g. exclude SEO-spam domains\n- **`--cite-threshold \u003CN>`**: minimum distinct sources before a finding is reported (default `2`)\n\n### Reporting\n- **`--dissent`**: actively surface practitioner disagreement, not just consensus\n- **`--validate`**: re-validate existing claims in the target rather than generating new ones\n- **`--output \u003Cpath>`**: where to write the report (CLI handler computes the default)\n\n## Pipeline\n\nThe CLI handler at `src\u002Fcli\u002Fhandlers\u002Fbest-practices-audit.ts` parses flags\nand computes the output path; this skill receives a fully-formed prompt and\nruns the research pipeline.\n\n### Step 1: Scope\n\n1. **Resolve the target.**\n   - Path exists? Read the file\u002Fdirectory and enumerate distinct claims or\n     decisions stated in it (architecture choices, dependency selections,\n     pattern usages).\n   - Path doesn't exist? Treat as freeform topic — the entire audit is\n     about the topic itself.\n2. **Inventory claims.** Each claim becomes a unit of evaluation downstream:\n   \"we use Tower middleware for retries\", \"Postgres handles >500K users at\n   the budgeted instance size\", \"WCAG 2.2 AA is required\". For freeform\n   topics, the claim is implicitly \"what does current practice say about\n   this topic?\".\n3. **Apply guidance.** `--focus` and `--framework` filter which claims are\n   in scope. `--validate` switches to claim re-verification mode (no\n   generative findings).\n\n### Step 1.5: Contributor Discovery (per ADR-023)\n\nBefore fan-out, discover any installed framework's `kind: research` contributors\nthat match the project. The discovery convention is described in ADR-023; the\nruntime authority is `src\u002Fcontributors\u002Fdiscover.ts` and the discovery loop\nmatches the algorithm there.\n\n1. Read `.aiwg\u002Fframeworks\u002Fregistry.json`. For each registered framework id,\n   check for `\u003Csource-path>\u002Fresearch\u002Fcontributor.md` under\n   `agentic\u002Fcode\u002Fframeworks\u002F`, `agentic\u002Fcode\u002Faddons\u002F`, or `agentic\u002Fcode\u002Fextensions\u002F`\n   (first match wins per ADR-023 §Layout).\n2. Walk `.aiwg\u002Fcontributors\u002Fresearch\u002F*.md` for project-local research\n   contributors.\n3. For each candidate, parse YAML frontmatter and validate against the\n   `kind: research` schema (published at\n   `agentic\u002Fcode\u002Fframeworks\u002Fresearch-complete\u002Fskills\u002Fbest-practices-audit\u002Fcontributor.schema.json`).\n4. Run each contributor's `detect.glob` against the project root. Skip contributors\n   whose detection produces fewer than `detect.minCount` matches — installed\n   but unused frameworks do not pollute the audit.\n5. For each in-use research contributor, fold its frontmatter into the\n   research plan:\n\n   - **`focus_areas`** — intersect with the user's `--focus` flag if present.\n     If `--focus` is omitted, use the contributor's full focus list. Multiple\n     contributors' areas merge with union semantics.\n   - **`sources.preferred`** and **`sources.exclude`** — add to the audit's\n     allow \u002F block lists. The user's `--sources` and `--exclude` flags take\n     precedence; contributor preferences fill in defaults the user did not\n     specify.\n   - **`recency_default_months`** — used as the per-contributor default\n     when `--recency` is not set. When multiple contributors disagree, pick\n     the **shorter** window (more conservative — fresher sources are a\n     stronger guarantee than older sources).\n6. Stamp `origin: \u003Cframework-id>` on every finding sourced through that\n   contributor's expanded plan. Findings sourced from the generic path\n   (no contributor) get `origin: generic`. Project-local research\n   contributors stamp `origin: project-local`.\n7. **No regression when no contributors are present.** If discovery returns\n   zero in-use contributors, fall through to the bare generic path described\n   in #943 — same behavior as before this issue's wiring landed.\n\nWhen validate-metadata is available, the schema enforces correctness at\ndeploy time. At audit time, this step trusts validated frontmatter; a\ncontributor that fails parsing or validation is logged and skipped per\nADR-023 §Failure mode.\n\n### Step 2: Research Fan-Out\n\nDispatch research per claim\u002Ffocus area using the AIWG research-complete\nagents, expanded by any contributor configurations from Step 1.5.\n**Reuse existing capabilities — do not implement parallel research\nmachinery.**\n\nAvailable capabilities (load-on-demand from research-complete):\n- `find-sources` — discover candidate sources via vendor docs, standards\n  bodies, practitioner channels\n- `research-acquire` — fetch and process candidate documents\n- `research-quality` — apply GRADE quality scoring\n- `citation-guard` — block fabricated citations\n- `research-query` — query the local research corpus when one is present\n\nIf `media-curator` and the marketing kit are also installed, dispatch them\nfor web-scraping cross-references where appropriate (e.g. practitioner\nblog comparisons).\n\n**Concurrency rule per AIWG context-budget**: the agent should issue parallel\nresearch tasks where independent (different focus areas, different claims),\nbut not multiplex the same claim into N redundant subagents.\n\n### Step 3: Source Quality Gating\n\nFor each candidate source returned by research:\n\n1. Apply `--sources` allow-list and `--exclude` block-list.\n2. Run `citation-guard` to verify the source is real and retrievable\n   (URL reachable, content present at the cited location, not a 404 or\n   redirect to unrelated content).\n3. Apply GRADE methodology via `research-quality` — score each source as\n   high \u002F moderate \u002F low.\n4. Apply `--recency` window — sources older than the window are demoted\n   one quality level.\n5. Drop sources that fail any gate. Do not \"rescue\" weak sources by\n   relaxing thresholds without explicit `--guidance` to do so.\n\n### Step 4: Comparison\n\nFor each claim:\n\n1. Aggregate the surviving sources.\n2. If fewer than `--cite-threshold` distinct sources support the claim's\n   alignment-or-divergence assessment, **downgrade the finding to \"weak\n   signal\" rather than dropping it silently**. Users need to see when\n   the corpus didn't support a strong conclusion — that is itself a\n   finding.\n3. Determine alignment: ALIGNED \u002F PARTIAL \u002F DIVERGES \u002F CONTESTED.\n4. With `--dissent`, also extract dissenting voices: who argues the other\n   way, where, and on what grounds. Surface these as a labeled section,\n   not a footnote.\n\n### Step 5: Report\n\nWrite to the output path computed by the CLI handler. Structure per #929 §5:\n\n```markdown\n# Best-Practices Audit: \u003Ctarget>\n\n**Generated**: YYYY-MM-DD\n**Focus**: \u003Cflags or 'all'>\n**Depth**: \u003Cflag>\n**Cite threshold**: \u003CN>\n\n## Executive Summary\n\n\u003C2–4 sentences: what's aligned, what's misaligned, overall confidence>\n\n## Findings\n\n### Finding 1: \u003Cclaim or decision under review>\n\n- **Current state in project**: \u003Cquote\u002Fparaphrase with file:line if available>\n- **Current industry practice**: \u003Csummary>\n- **Alignment**: ALIGNED | PARTIAL | DIVERGES | CONTESTED | WEAK SIGNAL\n- **Confidence**: high | moderate | low\n- **Evidence**:\n  - [S1] \u003Csource title> — \u003Cvendor\u002Fstandards body\u002Fblog>, \u003Cdate>, \u003Curl>\n  - [S2] ...\n- **Recommendation**: \u003Cspecific change or 'keep as-is, well-justified by\n  current practice'>\n\n(repeat per claim)\n\n## Dissenting Views \u002F Open Debates\n\n\u003Cwhere practitioners disagree and why — empty section is acceptable when\nnothing surfaced; do not invent dissent>\n\n## Sources\n\nFull bibliography with retrieval dates. Every source cited above must\nappear here with full provenance. No citation appears in Findings without\nappearing in Sources.\n\n## Methodology Notes\n\n- Research depth: \u003Cquick|standard|deep>\n- Recency window: \u003Cwindow>\n- Sources excluded: \u003Clist, including domains blocked by --exclude>\n- Sources unavailable: \u003Clist, with reason — e.g. paywalled, 404>\n```\n\n## Anti-Hallucination Guardrails (Hard Requirements)\n\nThese are **non-negotiable**. Failure to meet any of these breaks the\naudit's core value proposition.\n\n1. **No fabricated citations, DOIs, URLs, or quotes.** Every cited URL must\n   be the result of a retrieval that returned content at that URL. `citation-guard`\n   enforces this; if `citation-guard` is unavailable, the audit must\n   surface that fact in Methodology Notes and downgrade overall confidence.\n2. **Cite-threshold is enforced, not advisory.** A finding below threshold is\n   downgraded to WEAK SIGNAL or dropped — never reported as if the threshold\n   were met.\n3. **Conflicting sources surface as labeled disagreement.** If sources A and B\n   disagree, the report says so explicitly. The audit does not silently\n   pick one and pretend consensus.\n4. **Sparse signal is reported honestly.** When the corpus is thin or weak,\n   the report says so and downgrades confidence. The audit does **not**\n   fill the void with the model's training-data priors.\n5. **Training-data-only claims are marked.** Any background context the\n   audit relies on without a citation is labeled `(no external citation\n   verified)` so the reader knows what's grounded vs what's not.\n6. **`--validate` mode never generates new findings.** It only re-checks\n   claims already present in the target. If a claim's supporting source\n   is no longer reachable or has changed, the audit reports that the\n   claim is now unverified, not that there's a new claim to make.\n\n## Out of Scope (deferred per #929)\n\n- Cache layer for repeated audits — see deferred tracker #946 (caching applies\n  to contributor discovery; research caching is a separate concern but not\n  in scope for this skill)\n- Auto-ingest into the knowledge-base framework — defer until best-practices-audit\n  has been used in anger and we can see whether ingestion is valuable\n  (#929 open question 4)\n- (Contributor-driven prompt expansion now wired in — see Step 1.5 above. The\n  earlier \"deferred\" note from #943 is resolved by #944.)\n\n## References\n\n- @.aiwg\u002Farchitecture\u002Fdecisions\u002FADR-023-contributor-discovery-convention.md — the contributor convention #944 will wire into this skill\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fresearch-complete\u002Fskills\u002Ffind-sources\u002FSKILL.md — source discovery\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fresearch-complete\u002Fskills\u002Fresearch-acquire\u002FSKILL.md — source retrieval and processing\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fresearch-complete\u002Fskills\u002Fresearch-quality\u002FSKILL.md — GRADE methodology\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fresearch-complete\u002Fskills\u002Fcitation-guard\u002FSKILL.md — fabricated-citation detection\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fresearch-complete\u002Fskills\u002Fresearch-query\u002FSKILL.md — local corpus queries\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Frules\u002Fresearch-before-decision.md — research-first rule the audit's pipeline implements\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Frules\u002Fcontext-budget.md — parallel subagent limits applied during research fan-out\n",{"name":5,"namespace":65,"platforms":66,"commandHint":68,"description":7},"aiwg",[67],"all",{"model":38,"category":69,"modelRole":54,"modelTier":70,"allowedTools":71,"argumentHint":72,"modelRationale":73},"research-validation","premium","Read, Write, Glob, Grep, Bash, WebFetch, WebSearch","\u003Ctarget> [--focus \u003Carea>] [--standard \u003Cname>] [--depth quick|standard|deep] [--cite-threshold \u003CN>] [--dissent] [--validate] [--output \u003Cpath>]","External evidence synthesis can change high-impact technical policy.","main","6754967c344ccb087a8de06972f55a41067b291b","agentic\u002Fcode\u002Fplugins\u002Fresearch\u002Fskills\u002Fbest-practices-audit",36,"https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg","https:\u002F\u002Faiwg.io","https:\u002F\u002Fgithub.com\u002Fjmagly","https:\u002F\u002Fintegrolabs.io","ml\u002Fai, industrial automation, safety\u002Fsecurity, ssi\r\n\r\nmagly.net\r\nintegrolabs.io\r\naiwg.io\r\nfortemi.com\r\npagenary.com\r\nbytecask.com","2026-11-14 10:46:34",{"source":9,"skillName":5,"commands":85,"prompt":95,"zipAvailable":96},[86,89,92],{"tool":87,"command":88},"npx","npx skills add jmagly\u002Faiwg --skill best-practices-audit",{"tool":90,"command":91},"bunx","bunx skills add jmagly\u002Faiwg --skill best-practices-audit",{"tool":93,"command":94},"pnpm","pnpm dlx skills add jmagly\u002Faiwg --skill best-practices-audit","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fresearch\u002Fskills\u002Fbest-practices-audit\u002FSKILL.md",true,[98],{"path":99,"resourceType":100,"resourceTypeDesc":101,"sizeBytes":102,"sourceHtmlUrl":103},"contributor.schema.json","REFERENCE","参考文档",3025,"https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fresearch\u002Fskills\u002Fbest-practices-audit\u002Fcontributor.schema.json",[105,113,118,142,161,166],{"skillNo":106,"name":107,"nameZh":17,"description":108,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":112},"01M78KW7PZJ9YQZQMW84SN2YD4","plugin-search","Search marketplaces for plugins using configured local manifests and directory caches; rank matching plugins by observed installs, review tier and cache dates without installing or fetching anything","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Futils\u002Fskills\u002Fplugin-search\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":114,"name":107,"nameZh":17,"description":108,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":112},"01M78KSEZS9ZNNFESY9ANW22S0","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Fskills\u002Fplugin-search\u002FSKILL.md",[],[],{"skillNo":119,"name":120,"nameZh":17,"description":121,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":122,"categories":123,"keywords":124,"publishedAt":60},"01M70QA0BSYJ49EES9V4RE8QH1","host-hardening","Read-only system hardening baseline and plan-first host hardening recommendations for SSH, Docker bind addresses, firewall persistence, datastores, exporters and audit retention.","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fsecurity-engineering\u002Fskills\u002Fhost-hardening\u002FSKILL.md",[],[125,126,127,128,129,34,130,131,132,32,133,134,135,51,136,137,138,139,140,141],"hardening","host","host hardening","verification","secrets","request","remediation","recommendations","plan","port","bind","access","only","retention","re","never","firewall",{"skillNo":143,"name":144,"nameZh":17,"description":145,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":146,"categories":147,"keywords":148,"publishedAt":60},"01M70PNT2Z4HMZPRBTAF6073NN","exposure-analysis","Read-only firewall analysis and effective host exposure reconstruction for Docker published ports, UFW bypass, stale rules, CDN scope, IPv6 asymmetry and external probe allowlists.","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fforensics\u002Fskills\u002Fexposure-analysis\u002FSKILL.md",[],[149,150,151,152,153,47,34,154,134,140,51,155,126,156,137,157,158,141,159,160],"analysis","exposure analysis","collection","reconstruction","operator","credentials","unknown","internet","local","scope","ports","ufw",{"skillNo":162,"name":120,"nameZh":17,"description":121,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":163,"categories":164,"keywords":165,"publishedAt":60},"01M70P8QATMPKA78E4FT5D2TNA","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsecurity-engineering\u002Fskills\u002Fhost-hardening\u002FSKILL.md",[],[125,126,127,139,140,141,135,138,132,129,34,130,131,32,133,134,128,51,136,137],{"skillNo":167,"name":144,"nameZh":17,"description":145,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":168,"categories":169,"keywords":170,"publishedAt":60},"01M70NMPVJ5H0JH131P60FW4R8","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fforensics-complete\u002Fskills\u002Fexposure-analysis\u002FSKILL.md",[],[149,150,160,159,153,158,157,137,152,47,34,154,134,151,51,155,126,141,140,156]]