[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71FW8BDNCRBCXQQNNBSMCRA":3,"skill-same:01M71FW8BDNCRBCXQQNNBSMCRA":78},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":46,"commitSha":47,"skillDirectory":48,"forksCount":14,"repositoryHtmlUrl":49,"repositoryHomepageUrl":6,"ownerHtmlUrl":50,"ownerBlogUrl":51,"ownerDescription":52,"updatedAt":53,"install":54,"resources":67},"01M71FW8BDNCRBCXQQNNBSMCRA","audit-adr",null,"ADR audit methodology — judges one ADR against the ADR evidence model, covering declaration form, atemporal voice, and per-rule tag validity.","outcomeeng\u002Fplugins","outcomeeng","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F257335685?v=4","01M71FRVRF36XYR3HRSCGFHK2R","Outcome Engineering","01M71FRVS4BZG17DWANFJ7EPNY",1,"MIT","https:\u002F\u002Fgithub.com\u002Foutcomeeng\u002Fplugins\u002Fblob\u002Fmain\u002Fsrc\u002Fplugins\u002Fproduct-tree\u002Fskills\u002Faudit-adr\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"audit adr","audit","adr","grep","read","merge","one","file","Bash","git merge","audit methodology","git branch","use","tool","model","diff","evidence","show","branch","form","2026-11-10 10:12:30",false,"---\nname: audit-adr\ndescription: >-\n  ADR audit methodology — judges one ADR against the ADR evidence model,\n  covering declaration form, atemporal voice, and per-rule tag validity.\nargument-hint: \"\u003Cadr-file-path>\"\nallowed-tools: Read, Grep, Glob, {{! tool('use_skill') !}}, Bash(git branch --show-current:*), Bash(git merge-base:*), Bash(git diff:*)\n---\n\n\u003Cobjective>\n\nA verdict on one ADR against the ADR evidence model — APPROVED or REJECTED, with findings on touched text naming the section, rule, and evidence for declaration form, atemporal voice, or per-rule tag validity and assertion-type fit, and every other finding returned as `filed`.\n\n\u003C\u002Fobjective>\n\n\u003Cconstraints>\n\n**ARCHITECTURE BY DEFINITION.**\n\nAn ADR's content is architecture — technology choices, data structures, implementation approaches. NEVER classify ADR content as product-behavior-versus-architecture; that classification is the PDR audit's concern. Audit the ADR's form, not whether its content belongs elsewhere.\n\n**ASSERTION TYPE MUST MATCH THE CLAIM.**\n\nApply the canonical template's form. Rules directly under `## Verification`, outside any group, await selection and may coexist with groups; judge their specificity, structure, voice, and consistency. A rule carries no tag, because its group heading names its verification type and its leading slug is its one name. `\u002Fverify` selects the verification type, then `\u002Ftest` selects a Testing rule's assertion type. A universal claim is never `scenario`; a tag on a rule, a repeated slug, or a quantifier mismatch is a finding. Approval judges declaration quality and establishes no evidence result or Passing state.\n\n**ATEMPORAL VOICE.**\n\nADRs state architecture truth. \"The build emits one wheel per plugin\" — not \"We switched to per-plugin wheels because the monolith broke.\"\n\n**BINARY VERDICT.**\n\n`APPROVED` or `REJECTED`. An unavailable required inspection is a rejection with evidence naming the blocked inspection; it never becomes an approval through an unevaluated row.\n\n**LANGUAGE COMPOSITION BOUNDARY.**\n\nLanguage-specific ADR concerns — testability-in-Verification (dependency injection, no-mocking), execution-level accuracy — are composed from `\u002Faudit-\u003Clang>-architecture` in Step 5b. The language skill judges only those concerns; this skill owns declaration form, atemporal voice, and tag validity from the canonical template.\n\n- NEVER modify the ADR under audit or any other file — this audit produces a verdict, never a fix or a commit.\n- ALWAYS derive the valid section set from the canonical ADR template before judging structure — never from memory.\n- ALWAYS name the section, the violated rule, and the evidence in every `blocking` finding — the author repairs from the finding alone, and an unanchored finding leaves nothing to repair.\n- NEVER issue a finding the cited rule or canonical template does not support — drop an unbacked finding rather than reject the ADR for it.\n- NEVER reject on text the changeset leaves unchanged and does not invalidate — return that finding as `filed`, and NEVER raise a recorded finding's severity or let a `filed` finding start to reject unless the run names a changed basis. `${CLAUDE_SKILL_DIR}\u002Freferences\u002Ftouched-text.md` defines touched text, the finding key, and the `filed` form; `${CLAUDE_SKILL_DIR}\u002Freferences\u002Frule-catalog.md` defines the rule identifiers.\n\n\u003C\u002Fconstraints>\n\n\u003Caudit_workflow>\n\n\u003Cstep name=\"load_context\">\n\n**Step 1: Load context**\n\nBind the required ADR path, preserving spaces within it: `$ARGUMENTS` supplies it when that argument is non-empty; when it is empty, the path is the one the request text carries, and the empty substitution binds nothing. If the request carries no path, run `git branch --show-current` for metadata and emit the `\u003Cverdict_format>` JSON with `target: \"\"`, `overall: \"REJECTED\"`, and all three native rows marked `FAIL`. Each row carries a `missing-target` finding with severity `blocking`, unit `input`, locations `[\"input\"]`, `observed` naming the absent target, and `expected` and `message` naming the required ADR path. Stop before context loading or artifact inspection.\n\nWhen the live `\u003CPRODUCT_TREE_FOUNDATION>` marker is absent or lacks `Template root`: Use skill `product-tree:understand`. Read `decisions\u002Fdecision-name.adr.md` beneath that marker's resolved absolute template directory. The template remains owned by `\u002Funderstand`. Then, on the directory containing the ADR: Use skill `product-tree:contextualize`. Run `git branch --show-current` to populate verdict metadata without granting broader shell authority.\n\nThe input is the ADR path alone. Derive its governing node from the containing directory, using canonical `spx\u002F` for a product-root ADR. Resolve the committed changeset from the checkout as it stands: run `git merge-base HEAD origin\u002FHEAD` for the base, then `git diff --name-only \u003Cbase> HEAD` for the changed paths. Use that context with the ADR's governed declarations and linked implementation surfaces in Step 5b; no supplied language classification is required.\n\nDo not proceed without the canonical ADR template content and live `\u003CPRODUCT_TREE_FOUNDATION>` and `\u003CPRODUCT_TREE_CONTEXT>` markers.\n\n\u003C\u002Fstep>\n\n\u003Cstep name=\"read_adr\">\n\n**Step 2: Read the ADR**\n\nRead the ADR under audit. Identify its parts: the optional DEFINES lines, the CONSTRAINS opening, and Verification.\n\nResolve the touched text of the ADR as `${CLAUDE_SKILL_DIR}\u002Freferences\u002Ftouched-text.md` states, so Steps 3 to 5b can classify each finding.\n\n\u003C\u002Fstep>\n\n\u003Cstep name=\"audit_structure\">\n\n**Step 3: Declaration form**\n\nUse the canonical ADR template guidance loaded in Step 1 to derive the form in full — never from memory or a transcribed copy. A finding that contradicts the canonical template is unbacked: drop it rather than rejecting the ADR. If the template guidance cannot be loaded, reject with `template-missing` and name the blocked read.\n\nVerify the ADR opens with optional DEFINES lines and then the CONSTRAINS, TO, and SO THAT paragraph, writes each mapping rule as its own `### Mapping: \u003Cslug>` subsection holding one sentence and a table, keeps each group to at most ten rules, states its invariants as rules of a Property group, holds no text outside its opening, a rule, or a table, and has a `## Verification` section.\n\nVerify the SO THAT line names a property of the build that the TO mechanism yields, never an audience and never a restatement of the mechanism.\n\n**No opening, or no Verification section → `blocking` — \"missing-section.\" An opening, mapping subsection, group, or text that breaks the template form → `blocking` — \"declaration-form.\" A SO THAT line that names an audience or restates the mechanism → `blocking` — \"so-that-property.\"**\n\n\u003C\u002Fstep>\n\n\u003Cstep name=\"audit_voice\">\n\n**Step 4: Atemporal voice**\n\nCheck the opening and EVERY rule for temporal language:\n\n| Temporal (blocking)                   | Atemporal (correct)             |\n| ------------------------------------- | ------------------------------- |\n| \"We decided to use X because Y broke\" | \"X governs Z\"                   |\n| \"Currently the build does X\"          | \"The build does X\"              |\n| \"After profiling, we added caching\"   | \"Caching reduces latency for Z\" |\n\n**Any temporal language in the opening or a rule → `blocking` — \"temporal-voice.\"**\n\n\u003C\u002Fstep>\n\n\u003Cstep name=\"audit_tag_validity\">\n\n**Step 5: Per-rule tag validity and assertion-type fit**\n\nRead each rule's placement before judging it. A rule directly under `## Verification`, outside any group, has the canonical authoring form. For every such rule, identify its subject, the condition it constrains, and a concrete observation that would violate it. Reject a vague, ambiguous, or unfalsifiable rule with `invalid-draft-rule` in the `tag-validity` row, mark that row `FAIL`, and quote the rule with the missing or ambiguous criterion. For example, `ALWAYS: improve quality` fails because it names no observable condition. Check each draft rule against the decision statement and governing decisions; a contradiction also produces `invalid-draft-rule`, citing both conflicting declarations. Select no evidence type during these checks.\n\nA rule carries no tag, because its group heading names its verification type and its leading slug is its one name. When a group heading names an assertion type: Use skill `product-tree:test-evidence-standards`. Load its assertion-type litmus. Apply that reference and the loaded foundation's assertion-type definitions to each rule's claim and its group's type. If the required reference cannot load, emit a blocking `test-standards-unavailable` finding and a failed `tag-validity` row. Judge declaration compatibility only; evidence completeness belongs to evidence auditing. Never invoke the mutating `\u002Ftest` authoring workflow, select a replacement group, or change the ADR during this audit.\n\nFor each rule:\n\n1. It carries no tag and its leading slug repeats nowhere in the ADR.\n2. Under a group named for an assertion type, the declared type is compatible with the claim's quantifier and evidence shape under the loaded foundation and shared assertion-type litmus. A universal claim cannot sit in a `### Scenario` group. Reject a declared type whose required domain or oracle contradicts the claim, citing the claim and the loaded criterion; do not choose among compatible types or require executable evidence for a declaration.\n\n**A rule that carries a tag, or whose slug repeats within the ADR → `blocking` — \"invalid-tag.\" An assertion type that contradicts the claim's shape → `blocking` — \"assertion-type-mismatch.\"**\n\n\u003C\u002Fstep>\n\n\u003Cstep name=\"compose_language\">\n\n**Step 5b: Compose language-specific architecture concerns**\n\nThis skill owns section structure, atemporal voice, and tag validity from the canonical template. Language-specific architecture concerns — dependency injection, no-mocking, execution-level accuracy — are owned by the language audit skill, not by this one.\n\nClassify the ADR from its governed implementation surface and the committed changeset established in Step 1. When the decision constrains no implementation language, classify it as language-neutral and skip composition. Otherwise preserve every implementation-language partition the decision constrains, including cross-language decisions; the repository's predominant language never narrows that set.\n\nFor every discovered partition: Use skill `{lang}:audit-{lang}-architecture`. Pass the ADR path. The language skill judges only language-specific concerns and never re-judges section structure, voice, or tags. When a language-specific ADR has no reliable partition or the required skill cannot load, append a `FAIL` row named `language-routing-unavailable` or `language-skill-unavailable` with a blocking finding.\n\nBefore consuming a composed result, validate it against the invoked skill's declared verdict contract: the schema and skill identity, matching target, every required concern row exactly once, allowed statuses, required finding fields, explanations for `NOT_APPLICABLE`, and agreement between the rows and overall result. An absent, malformed, incomplete, mismatched, or inconsistent result produces a `FAIL` row and blocking finding named `language-result-invalid`, identifying the failed contract check; accept no partial rows from that result. This boundary validates returned structure without repeating the language audit's judgment.\n\nAppend only validated rows. Qualify each composed row name with its language to preserve distinct concerns across partitions. Map its findings to this verdict's fields: retain the rule, message, observed, and expected evidence, use the child location or file as a `locations` entry, and mark findings that reject the ADR as `blocking`. A composed `FAIL` always rejects the ADR; no omitted row or empty result counts as passing coverage.\n\nOne case is not a composition failure. When the governed context establishes that the changeset itself ships the ADR's language plugin, unpublished and uninstalled in this session, no `audit-\u003Clang>-architecture` skill can exist yet. Judge the decision directly against the skill files its rules name and the cross-language decisions, and record a row named `language-skill-unpublished` as `NOT_APPLICABLE` with the evidence establishing that case. An absent installed skill alone never establishes unpublished status.\n\n\u003C\u002Fstep>\n\n\u003Cstep name=\"verdict\">\n\n**Step 6: Issue verdict**\n\nClassify every finding, native or composed, per `${CLAUDE_SKILL_DIR}\u002Freferences\u002Ftouched-text.md`: a finding on touched text keeps severity `blocking`; every other finding becomes `filed`. If any row is `FAIL` through a `blocking` finding, issue `REJECTED`; otherwise issue `APPROVED`, whatever `filed` findings the rows carry.\n\n\u003C\u002Fstep>\n\n\u003C\u002Faudit_workflow>\n\n\u003Cverdict_format>\n\nEmit the verdict as a single JSON object. This JSON is the skill's entire output; never a prose or markdown verdict.\n\nThe `overall` is `APPROVED` iff every native and composed row is `PASS` or `NOT_APPLICABLE`; otherwise it is `REJECTED`. A row holding only `filed` findings is `PASS`. Every `NOT_APPLICABLE` row explains why its concern does not apply. A required property that cannot be evaluated is a `FAIL` row with a blocking finding naming the unavailable inspection. Findings use the audit-run severities `blocking` or `filed`; this binary ADR gate emits `blocking` for every finding on touched text, which rejects the ADR, and `filed` for every finding outside touched text, which fails no row.\n\n```json\n{\n  \"schema_version\": 1,\n  \"skill\": \"audit-adr\",\n  \"target\": \"\u003Cadr-file-path>\",\n  \"overall\": \"APPROVED | REJECTED\",\n  \"rows\": [\n    { \"name\": \"section-structure\", \"status\": \"PASS | FAIL | NOT_APPLICABLE\", \"explanation\": \"\u003Crequired when NOT_APPLICABLE>\", \"findings\": [] },\n    { \"name\": \"atemporal-voice\", \"status\": \"PASS | FAIL | NOT_APPLICABLE\", \"explanation\": \"\u003Crequired when NOT_APPLICABLE>\", \"findings\": [] },\n    { \"name\": \"tag-validity\", \"status\": \"PASS | FAIL | NOT_APPLICABLE\", \"explanation\": \"\u003Crequired when NOT_APPLICABLE>\", \"findings\": [] }\n  ],\n  \"metadata\": { \"branch\": \"\u003Cbranch>\" }\n}\n```\n\nEach finding is keyed `\u003Cadr-file-path>:\u003Crule-id>` and carries `rule` (the `\u003Crule-id>`), `severity: \"blocking | filed\"`, `locations` (every location in the ADR where that rule is violated), `message`, `observed`, and `expected`; a `filed` finding additionally carries `key`, `baseRefEvidence`, and `issuesEntry` (`path`, `heading`). Every `\u003Crule-id>` comes from `${CLAUDE_SKILL_DIR}\u002Freferences\u002Frule-catalog.md`; a validated composed finding retains the rule identifier of the invoked skill's own catalog. A finding names no identifier outside those catalogs.\n\n\u003C\u002Fverdict_format>\n\n\u003Cfailure_modes>\n\n**Failure 1: Imported the PDR content gate into an ADR audit**\n\nClaude flagged \"uses PostgreSQL with row-level locking\" as architecture content that does not belong — in an ADR. An ADR's content is architecture by definition; there is no product-versus-architecture classification to run. The PDR audit's content gate has no place here.\n\nHow to avoid: The ADR audit checks form — structure, voice, tag validity. Content classification is the PDR audit's concern only.\n\n**Failure 2: Passed a universal rule tagged `scenario`**\n\nClaude saw a universal ALWAYS\u002FNEVER rule in a `### Scenario` group and passed it because the group named one of the five assertion types. A scenario proves one case; it cannot establish a claim about every case, so the assertion ships unverified — phantom green. The quantifier mismatch is a deterministic error, not a matter of taste.\n\nHow to avoid: Step 5 verifies the assertion type fits the claim's shape per the `\u002Ftest` router. Reject a universal in a `### Scenario` group (and any type the router would not produce for the claim). The one line the audit does not cross is relitigating a choice the router leaves open between equally-valid types — that, and only that, is `\u002Ftest`'s to decide.\n\n**Failure 3: Applied group requirements to authoring declarations**\n\nClaude rejected ungrouped authoring rules because the grouped-form requirement was applied before verification selection. Derive the form from the artifact and canonical template. Judge every draft rule, preserve the grouped-rule checks, and never interpret declaration approval as evidence completeness.\n\n\u003C\u002Ffailure_modes>\n\n\u003Csuccess_criteria>\n\nThe verdict is sound when:\n\n- Every ADR rule was judged with none skipped — declaration form, atemporal voice, and per-rule tag absence, slug uniqueness and assertion-type fit; when a language is in scope, the composed `\u002Faudit-\u003Clang>-architecture` rows are judged too (coverage-complete).\n- The verdict states one `APPROVED` or `REJECTED` overall determination, every native and composed row carrying `PASS`, `FAIL`, or explained `NOT_APPLICABLE`, with no rule left unevaluated.\n- Each `blocking` finding lies on touched text, and every finding outside touched text appears as `filed` with its key, `baseRefEvidence`, and `issuesEntry`.\n- Each `blocking` finding is falsifiable: it names the section, the violated rule, and the evidence — the missing section, the broken form, the temporal phrase, the tag or repeated slug, or the mismatched assertion type.\n- The same ADR yields the same verdict.\n\n\u003C\u002Fsuccess_criteria>\n","\u003Cobjective>\n\nA verdict on one ADR against the ADR evidence model — APPROVED or REJECTED, with findings on touched text naming the section, rule, and evidence for declaration form, atemporal voice, or per-rule tag validity and assertion-type fit, and every other finding returned as `filed`.\n\n\u003C\u002Fobjective>\n\n\u003Cconstraints>\n\n**ARCHITECTURE BY DEFINITION.**\n\nAn ADR's content is architecture — technology choices, data structures, implementation approaches. NEVER classify ADR content as product-behavior-versus-architecture; that classification is the PDR audit's concern. Audit the ADR's form, not whether its content belongs elsewhere.\n\n**ASSERTION TYPE MUST MATCH THE CLAIM.**\n\nApply the canonical template's form. Rules directly under `## Verification`, outside any group, await selection and may coexist with groups; judge their specificity, structure, voice, and consistency. A rule carries no tag, because its group heading names its verification type and its leading slug is its one name. `\u002Fverify` selects the verification type, then `\u002Ftest` selects a Testing rule's assertion type. A universal claim is never `scenario`; a tag on a rule, a repeated slug, or a quantifier mismatch is a finding. Approval judges declaration quality and establishes no evidence result or Passing state.\n\n**ATEMPORAL VOICE.**\n\nADRs state architecture truth. \"The build emits one wheel per plugin\" — not \"We switched to per-plugin wheels because the monolith broke.\"\n\n**BINARY VERDICT.**\n\n`APPROVED` or `REJECTED`. An unavailable required inspection is a rejection with evidence naming the blocked inspection; it never becomes an approval through an unevaluated row.\n\n**LANGUAGE COMPOSITION BOUNDARY.**\n\nLanguage-specific ADR concerns — testability-in-Verification (dependency injection, no-mocking), execution-level accuracy — are composed from `\u002Faudit-\u003Clang>-architecture` in Step 5b. The language skill judges only those concerns; this skill owns declaration form, atemporal voice, and tag validity from the canonical template.\n\n- NEVER modify the ADR under audit or any other file — this audit produces a verdict, never a fix or a commit.\n- ALWAYS derive the valid section set from the canonical ADR template before judging structure — never from memory.\n- ALWAYS name the section, the violated rule, and the evidence in every `blocking` finding — the author repairs from the finding alone, and an unanchored finding leaves nothing to repair.\n- NEVER issue a finding the cited rule or canonical template does not support — drop an unbacked finding rather than reject the ADR for it.\n- NEVER reject on text the changeset leaves unchanged and does not invalidate — return that finding as `filed`, and NEVER raise a recorded finding's severity or let a `filed` finding start to reject unless the run names a changed basis. `${CLAUDE_SKILL_DIR}\u002Freferences\u002Ftouched-text.md` defines touched text, the finding key, and the `filed` form; `${CLAUDE_SKILL_DIR}\u002Freferences\u002Frule-catalog.md` defines the rule identifiers.\n\n\u003C\u002Fconstraints>\n\n\u003Caudit_workflow>\n\n\u003Cstep name=\"load_context\">\n\n**Step 1: Load context**\n\nBind the required ADR path, preserving spaces within it: `$ARGUMENTS` supplies it when that argument is non-empty; when it is empty, the path is the one the request text carries, and the empty substitution binds nothing. If the request carries no path, run `git branch --show-current` for metadata and emit the `\u003Cverdict_format>` JSON with `target: \"\"`, `overall: \"REJECTED\"`, and all three native rows marked `FAIL`. Each row carries a `missing-target` finding with severity `blocking`, unit `input`, locations `[\"input\"]`, `observed` naming the absent target, and `expected` and `message` naming the required ADR path. Stop before context loading or artifact inspection.\n\nWhen the live `\u003CPRODUCT_TREE_FOUNDATION>` marker is absent or lacks `Template root`: Use skill `product-tree:understand`. Read `decisions\u002Fdecision-name.adr.md` beneath that marker's resolved absolute template directory. The template remains owned by `\u002Funderstand`. Then, on the directory containing the ADR: Use skill `product-tree:contextualize`. Run `git branch --show-current` to populate verdict metadata without granting broader shell authority.\n\nThe input is the ADR path alone. Derive its governing node from the containing directory, using canonical `spx\u002F` for a product-root ADR. Resolve the committed changeset from the checkout as it stands: run `git merge-base HEAD origin\u002FHEAD` for the base, then `git diff --name-only \u003Cbase> HEAD` for the changed paths. Use that context with the ADR's governed declarations and linked implementation surfaces in Step 5b; no supplied language classification is required.\n\nDo not proceed without the canonical ADR template content and live `\u003CPRODUCT_TREE_FOUNDATION>` and `\u003CPRODUCT_TREE_CONTEXT>` markers.\n\n\u003C\u002Fstep>\n\n\u003Cstep name=\"read_adr\">\n\n**Step 2: Read the ADR**\n\nRead the ADR under audit. Identify its parts: the optional DEFINES lines, the CONSTRAINS opening, and Verification.\n\nResolve the touched text of the ADR as `${CLAUDE_SKILL_DIR}\u002Freferences\u002Ftouched-text.md` states, so Steps 3 to 5b can classify each finding.\n\n\u003C\u002Fstep>\n\n\u003Cstep name=\"audit_structure\">\n\n**Step 3: Declaration form**\n\nUse the canonical ADR template guidance loaded in Step 1 to derive the form in full — never from memory or a transcribed copy. A finding that contradicts the canonical template is unbacked: drop it rather than rejecting the ADR. If the template guidance cannot be loaded, reject with `template-missing` and name the blocked read.\n\nVerify the ADR opens with optional DEFINES lines and then the CONSTRAINS, TO, and SO THAT paragraph, writes each mapping rule as its own `### Mapping: \u003Cslug>` subsection holding one sentence and a table, keeps each group to at most ten rules, states its invariants as rules of a Property group, holds no text outside its opening, a rule, or a table, and has a `## Verification` section.\n\nVerify the SO THAT line names a property of the build that the TO mechanism yields, never an audience and never a restatement of the mechanism.\n\n**No opening, or no Verification section → `blocking` — \"missing-section.\" An opening, mapping subsection, group, or text that breaks the template form → `blocking` — \"declaration-form.\" A SO THAT line that names an audience or restates the mechanism → `blocking` — \"so-that-property.\"**\n\n\u003C\u002Fstep>\n\n\u003Cstep name=\"audit_voice\">\n\n**Step 4: Atemporal voice**\n\nCheck the opening and EVERY rule for temporal language:\n\n| Temporal (blocking)                   | Atemporal (correct)             |\n| ------------------------------------- | ------------------------------- |\n| \"We decided to use X because Y broke\" | \"X governs Z\"                   |\n| \"Currently the build does X\"          | \"The build does X\"              |\n| \"After profiling, we added caching\"   | \"Caching reduces latency for Z\" |\n\n**Any temporal language in the opening or a rule → `blocking` — \"temporal-voice.\"**\n\n\u003C\u002Fstep>\n\n\u003Cstep name=\"audit_tag_validity\">\n\n**Step 5: Per-rule tag validity and assertion-type fit**\n\nRead each rule's placement before judging it. A rule directly under `## Verification`, outside any group, has the canonical authoring form. For every such rule, identify its subject, the condition it constrains, and a concrete observation that would violate it. Reject a vague, ambiguous, or unfalsifiable rule with `invalid-draft-rule` in the `tag-validity` row, mark that row `FAIL`, and quote the rule with the missing or ambiguous criterion. For example, `ALWAYS: improve quality` fails because it names no observable condition. Check each draft rule against the decision statement and governing decisions; a contradiction also produces `invalid-draft-rule`, citing both conflicting declarations. Select no evidence type during these checks.\n\nA rule carries no tag, because its group heading names its verification type and its leading slug is its one name. When a group heading names an assertion type: Use skill `product-tree:test-evidence-standards`. Load its assertion-type litmus. Apply that reference and the loaded foundation's assertion-type definitions to each rule's claim and its group's type. If the required reference cannot load, emit a blocking `test-standards-unavailable` finding and a failed `tag-validity` row. Judge declaration compatibility only; evidence completeness belongs to evidence auditing. Never invoke the mutating `\u002Ftest` authoring workflow, select a replacement group, or change the ADR during this audit.\n\nFor each rule:\n\n1. It carries no tag and its leading slug repeats nowhere in the ADR.\n2. Under a group named for an assertion type, the declared type is compatible with the claim's quantifier and evidence shape under the loaded foundation and shared assertion-type litmus. A universal claim cannot sit in a `### Scenario` group. Reject a declared type whose required domain or oracle contradicts the claim, citing the claim and the loaded criterion; do not choose among compatible types or require executable evidence for a declaration.\n\n**A rule that carries a tag, or whose slug repeats within the ADR → `blocking` — \"invalid-tag.\" An assertion type that contradicts the claim's shape → `blocking` — \"assertion-type-mismatch.\"**\n\n\u003C\u002Fstep>\n\n\u003Cstep name=\"compose_language\">\n\n**Step 5b: Compose language-specific architecture concerns**\n\nThis skill owns section structure, atemporal voice, and tag validity from the canonical template. Language-specific architecture concerns — dependency injection, no-mocking, execution-level accuracy — are owned by the language audit skill, not by this one.\n\nClassify the ADR from its governed implementation surface and the committed changeset established in Step 1. When the decision constrains no implementation language, classify it as language-neutral and skip composition. Otherwise preserve every implementation-language partition the decision constrains, including cross-language decisions; the repository's predominant language never narrows that set.\n\nFor every discovered partition: Use skill `{lang}:audit-{lang}-architecture`. Pass the ADR path. The language skill judges only language-specific concerns and never re-judges section structure, voice, or tags. When a language-specific ADR has no reliable partition or the required skill cannot load, append a `FAIL` row named `language-routing-unavailable` or `language-skill-unavailable` with a blocking finding.\n\nBefore consuming a composed result, validate it against the invoked skill's declared verdict contract: the schema and skill identity, matching target, every required concern row exactly once, allowed statuses, required finding fields, explanations for `NOT_APPLICABLE`, and agreement between the rows and overall result. An absent, malformed, incomplete, mismatched, or inconsistent result produces a `FAIL` row and blocking finding named `language-result-invalid`, identifying the failed contract check; accept no partial rows from that result. This boundary validates returned structure without repeating the language audit's judgment.\n\nAppend only validated rows. Qualify each composed row name with its language to preserve distinct concerns across partitions. Map its findings to this verdict's fields: retain the rule, message, observed, and expected evidence, use the child location or file as a `locations` entry, and mark findings that reject the ADR as `blocking`. A composed `FAIL` always rejects the ADR; no omitted row or empty result counts as passing coverage.\n\nOne case is not a composition failure. When the governed context establishes that the changeset itself ships the ADR's language plugin, unpublished and uninstalled in this session, no `audit-\u003Clang>-architecture` skill can exist yet. Judge the decision directly against the skill files its rules name and the cross-language decisions, and record a row named `language-skill-unpublished` as `NOT_APPLICABLE` with the evidence establishing that case. An absent installed skill alone never establishes unpublished status.\n\n\u003C\u002Fstep>\n\n\u003Cstep name=\"verdict\">\n\n**Step 6: Issue verdict**\n\nClassify every finding, native or composed, per `${CLAUDE_SKILL_DIR}\u002Freferences\u002Ftouched-text.md`: a finding on touched text keeps severity `blocking`; every other finding becomes `filed`. If any row is `FAIL` through a `blocking` finding, issue `REJECTED`; otherwise issue `APPROVED`, whatever `filed` findings the rows carry.\n\n\u003C\u002Fstep>\n\n\u003C\u002Faudit_workflow>\n\n\u003Cverdict_format>\n\nEmit the verdict as a single JSON object. This JSON is the skill's entire output; never a prose or markdown verdict.\n\nThe `overall` is `APPROVED` iff every native and composed row is `PASS` or `NOT_APPLICABLE`; otherwise it is `REJECTED`. A row holding only `filed` findings is `PASS`. Every `NOT_APPLICABLE` row explains why its concern does not apply. A required property that cannot be evaluated is a `FAIL` row with a blocking finding naming the unavailable inspection. Findings use the audit-run severities `blocking` or `filed`; this binary ADR gate emits `blocking` for every finding on touched text, which rejects the ADR, and `filed` for every finding outside touched text, which fails no row.\n\n```json\n{\n  \"schema_version\": 1,\n  \"skill\": \"audit-adr\",\n  \"target\": \"\u003Cadr-file-path>\",\n  \"overall\": \"APPROVED | REJECTED\",\n  \"rows\": [\n    { \"name\": \"section-structure\", \"status\": \"PASS | FAIL | NOT_APPLICABLE\", \"explanation\": \"\u003Crequired when NOT_APPLICABLE>\", \"findings\": [] },\n    { \"name\": \"atemporal-voice\", \"status\": \"PASS | FAIL | NOT_APPLICABLE\", \"explanation\": \"\u003Crequired when NOT_APPLICABLE>\", \"findings\": [] },\n    { \"name\": \"tag-validity\", \"status\": \"PASS | FAIL | NOT_APPLICABLE\", \"explanation\": \"\u003Crequired when NOT_APPLICABLE>\", \"findings\": [] }\n  ],\n  \"metadata\": { \"branch\": \"\u003Cbranch>\" }\n}\n```\n\nEach finding is keyed `\u003Cadr-file-path>:\u003Crule-id>` and carries `rule` (the `\u003Crule-id>`), `severity: \"blocking | filed\"`, `locations` (every location in the ADR where that rule is violated), `message`, `observed`, and `expected`; a `filed` finding additionally carries `key`, `baseRefEvidence`, and `issuesEntry` (`path`, `heading`). Every `\u003Crule-id>` comes from `${CLAUDE_SKILL_DIR}\u002Freferences\u002Frule-catalog.md`; a validated composed finding retains the rule identifier of the invoked skill's own catalog. A finding names no identifier outside those catalogs.\n\n\u003C\u002Fverdict_format>\n\n\u003Cfailure_modes>\n\n**Failure 1: Imported the PDR content gate into an ADR audit**\n\nClaude flagged \"uses PostgreSQL with row-level locking\" as architecture content that does not belong — in an ADR. An ADR's content is architecture by definition; there is no product-versus-architecture classification to run. The PDR audit's content gate has no place here.\n\nHow to avoid: The ADR audit checks form — structure, voice, tag validity. Content classification is the PDR audit's concern only.\n\n**Failure 2: Passed a universal rule tagged `scenario`**\n\nClaude saw a universal ALWAYS\u002FNEVER rule in a `### Scenario` group and passed it because the group named one of the five assertion types. A scenario proves one case; it cannot establish a claim about every case, so the assertion ships unverified — phantom green. The quantifier mismatch is a deterministic error, not a matter of taste.\n\nHow to avoid: Step 5 verifies the assertion type fits the claim's shape per the `\u002Ftest` router. Reject a universal in a `### Scenario` group (and any type the router would not produce for the claim). The one line the audit does not cross is relitigating a choice the router leaves open between equally-valid types — that, and only that, is `\u002Ftest`'s to decide.\n\n**Failure 3: Applied group requirements to authoring declarations**\n\nClaude rejected ungrouped authoring rules because the grouped-form requirement was applied before verification selection. Derive the form from the artifact and canonical template. Judge every draft rule, preserve the grouped-rule checks, and never interpret declaration approval as evidence completeness.\n\n\u003C\u002Ffailure_modes>\n\n\u003Csuccess_criteria>\n\nThe verdict is sound when:\n\n- Every ADR rule was judged with none skipped — declaration form, atemporal voice, and per-rule tag absence, slug uniqueness and assertion-type fit; when a language is in scope, the composed `\u002Faudit-\u003Clang>-architecture` rows are judged too (coverage-complete).\n- The verdict states one `APPROVED` or `REJECTED` overall determination, every native and composed row carrying `PASS`, `FAIL`, or explained `NOT_APPLICABLE`, with no rule left unevaluated.\n- Each `blocking` finding lies on touched text, and every finding outside touched text appears as `filed` with its key, `baseRefEvidence`, and `issuesEntry`.\n- Each `blocking` finding is falsifiable: it names the section, the violated rule, and the evidence — the missing section, the broken form, the temporal phrase, the tag or repeated slug, or the mismatched assertion type.\n- The same ADR yields the same verdict.\n\n\u003C\u002Fsuccess_criteria>\n",{"name":5,"description":7,"allowed-tools":44,"argument-hint":45},"Read, Grep, Glob, {{! tool('use_skill') !}}, Bash(git branch --show-current:*), Bash(git merge-base:*), Bash(git diff:*)","\u003Cadr-file-path>","main","978d51c51d68c99cffb2ba48f7cad9d2f07e5738","src\u002Fplugins\u002Fproduct-tree\u002Fskills\u002Faudit-adr","https:\u002F\u002Fgithub.com\u002Foutcomeeng\u002Fplugins","https:\u002F\u002Fgithub.com\u002Foutcomeeng","https:\u002F\u002Foutcome.engineering","Spec-driven development for AI-assisted engineering","2026-11-14 20:33:56",{"source":8,"skillName":5,"commands":55,"prompt":65,"zipAvailable":66},[56,59,62],{"tool":57,"command":58},"npx","npx skills add outcomeeng\u002Fplugins --skill audit-adr",{"tool":60,"command":61},"bunx","bunx skills add outcomeeng\u002Fplugins --skill audit-adr",{"tool":63,"command":64},"pnpm","pnpm dlx skills add outcomeeng\u002Fplugins --skill audit-adr","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Foutcomeeng\u002Fplugins\u002Fblob\u002Fmain\u002Fsrc\u002Fplugins\u002Fproduct-tree\u002Fskills\u002Faudit-adr\u002FSKILL.md",true,[68,74],{"path":69,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":72,"sourceHtmlUrl":73},"references\u002Frule-catalog.md","REFERENCE","参考文档",6102,"https:\u002F\u002Fgithub.com\u002Foutcomeeng\u002Fplugins\u002Fblob\u002Fmain\u002Fsrc\u002Fplugins\u002Fproduct-tree\u002Fskills\u002Faudit-adr\u002Freferences\u002Frule-catalog.md",{"path":75,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":76,"sourceHtmlUrl":77},"references\u002Ftouched-text.md",3879,"https:\u002F\u002Fgithub.com\u002Foutcomeeng\u002Fplugins\u002Fblob\u002Fmain\u002Fsrc\u002Fplugins\u002Fproduct-tree\u002Fskills\u002Faudit-adr\u002Freferences\u002Ftouched-text.md",[79,85,112,128,141,151],{"skillNo":80,"name":81,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":39},"01M71G25RZTPQG9KJ00JCHC1F7","plugin","https:\u002F\u002Fgithub.com\u002Foutcomeeng\u002Fplugins\u002Fblob\u002Fmain\u002Fsrc\u002Ftemplates\u002Fplugin\u002FSKILL.md",[],[81],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":39},"01M71G23DCX3SV60H63HBBKQ6J","sanitize-powerpoint","ALWAYS invoke this skill when sanitizing, cleaning up, auditing, or aligning a PowerPoint (.pptx) deck — slide-master and layout structure, layout type attributes, stray fonts, non-theme colors, or layout naming. NEVER hand-edit pptx XML without this skill.","https:\u002F\u002Fgithub.com\u002Foutcomeeng\u002Fplugins\u002Fblob\u002Fmain\u002Fsrc\u002Fplugins\u002Fwork\u002Fskills\u002Fsanitize-powerpoint\u002FSKILL.md",[],[92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111],"sanitize powerpoint","powerpoint","sanitize","fonts","type","cleaning","structure","never","attributes","theme","pptx","naming","layout","deck","up","edit","xml","master","invoke","when",{"skillNo":113,"name":114,"nameZh":6,"description":115,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":39},"01M71G21PQKBCDECHGVYSKPJW5","draw-excalidraw","ALWAYS invoke this skill when creating Excalidraw diagrams, visualizing workflows, architectures, or concepts. NEVER generate Excalidraw JSON without this skill.","https:\u002F\u002Fgithub.com\u002Foutcomeeng\u002Fplugins\u002Fblob\u002Fmain\u002Fsrc\u002Fplugins\u002Fwork\u002Fskills\u002Fdraw-excalidraw\u002FSKILL.md",[],[119,120,121,122,123,99,110,124,125,111,126,127],"draw excalidraw","excalidraw","draw","diagrams","architectures","generate","workflows","concepts","json",{"skillNo":129,"name":130,"nameZh":6,"description":131,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":132,"categories":133,"keywords":134,"publishedAt":39},"01M71G1ZMNGFD37RZYM620XM2C","typescript-test-standards","TypeScript test standards enforced across all skills. Loaded by other skills, not invoked directly.","https:\u002F\u002Fgithub.com\u002Foutcomeeng\u002Fplugins\u002Fblob\u002Fmain\u002Fsrc\u002Fplugins\u002Ftypescript\u002Fskills\u002Ftypescript-test-standards\u002FSKILL.md",[],[135,136,137,138,139,23,140],"typescript","typescript test standards","test","standards","false","across",{"skillNo":142,"name":143,"nameZh":6,"description":144,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":145,"categories":146,"keywords":147,"publishedAt":39},"01M71G1XBH0X1VCTR7269MDGSY","typescript-code-standards","TypeScript code standards enforced across all skills. Loaded by other skills, not invoked directly.","https:\u002F\u002Fgithub.com\u002Foutcomeeng\u002Fplugins\u002Fblob\u002Fmain\u002Fsrc\u002Fplugins\u002Ftypescript\u002Fskills\u002Ftypescript-code-standards\u002FSKILL.md",[],[135,148,149,150,138,139,23,140],"code","typescript code standards","code standards",{"skillNo":152,"name":153,"nameZh":6,"description":154,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":155,"categories":156,"keywords":157,"publishedAt":39},"01M71G1TQ3VN45SJ75DFMJDB9W","typescript-architecture-standards","TypeScript ADR conventions enforced across architect and auditor skills. Loaded by other skills, not invoked directly.","https:\u002F\u002Fgithub.com\u002Foutcomeeng\u002Fplugins\u002Fblob\u002Fmain\u002Fsrc\u002Fplugins\u002Ftypescript\u002Fskills\u002Ftypescript-architecture-standards\u002FSKILL.md",[],[158,138,159,160,135,21,161,140,23,162,139,163],"architecture standards","typescript architecture standards","architecture","architect","auditor","conventions"]