[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75JJ5MTPS6FPY89BPHBJMS8":3,"skill-same:01M75JJ5MTPS6FPY89BPHBJMS8":63},{"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":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":32,"commitSha":33,"skillDirectory":34,"forksCount":35,"repositoryHtmlUrl":36,"repositoryHomepageUrl":37,"ownerHtmlUrl":38,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":39,"install":40,"resources":52},"01M75JJ5MTPS6FPY89BPHBJMS8","repo-workflow-audit",null,"Runs a fresh-context, 4-way parallel audit of a canon workflow's own skill\u002Freference docs against themselves — pipeline gates, adversarial review, cross-doc consistency, stale-reference sweep. Use when asked to deep-scan, audit, or health-check the sprint\u002Fwrapup workflow docs (or another skill's own protocol files) for internal contradictions, staleness, or drift — not for auditing a whole repo's product code (use repo-audit for that).","sunitghub\u002Fcanon-skills","sunitghub","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F154850182?v=4","01M75JGBZ2TQM1BG49YHTRGHZR","Sunit Joshi","01M75JGC05YY1W8RW5SJAWWTB8",9,"MIT","https:\u002F\u002Fgithub.com\u002Fsunitghub\u002Fcanon-skills\u002Fblob\u002Fmain\u002Fskills\u002Frepo-workflow-audit\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: repo-workflow-audit\ndescription: Runs a fresh-context, 4-way parallel audit of a canon workflow's own skill\u002Freference docs against themselves — pipeline gates, adversarial review, cross-doc consistency, stale-reference sweep. Use when asked to deep-scan, audit, or health-check the sprint\u002Fwrapup workflow docs (or another skill's own protocol files) for internal contradictions, staleness, or drift — not for auditing a whole repo's product code (use repo-audit for that).\ncategory: agent-ops\ntags: [audit, workflow, sprint, self-audit, quality]\nhidden: true\n---\n\n# Repo Workflow Audit\n\nInternal — not for direct\u002Fpublic invocation. Called by the maintainer when auditing canon's own workflow docs.\n\nAudits a canon workflow's own skill\u002Freference docs against themselves — distinct from `repo-audit`, which rates any repo's general health (uniqueness, philosophy coherence, docs, codebase quality) via a single agent. This skill is self-referential: it checks whether canon's *own* workflow machinery (sprint, wrapup, or another skill family) is internally consistent, current, and free of the contradictions that narrowly-scoped per-ticket reviewers wouldn't catch.\n\n## When to use\n\nTriggers: \"audit the sprint workflow\", \"deep-scan the close pipeline\", \"check the wrapup docs for drift\", \"run the workflow audit on `\u003Cskill>`\". Not for general repo health (`repo-audit`) or a single ticket's diff (sprint's own `review.md`\u002F`eval.md` gates already cover that).\n\n## Target scope\n\nDefault target: `skills\u002Fsprint\u002F**` + `skills\u002Fwrapup\u002F**` (the pair this pattern was built for, in `t-6487`) + `standards\u002Fefficiency.md` (the coding-standards doc underlying wrapup's own gates). If the user names a different skill or doc set, use that instead — the pattern generalizes to any skill family with reference\u002Fgate sub-files.\n\n## Model\n\nThis is deliberately high-scrutiny work. Default to the strongest available model for all 4 dispatches below — do not apply any cheap-model\u002Fblast-radius shortcut a target workflow's own gates might use on themselves (e.g. `skills\u002Fsprint\u002Freference\u002Fcomplete.md`'s Haiku rule). If the user asks to keep review at full tier, that instruction always applies here too — this skill's whole purpose is high scrutiny.\n\n## The 4 dispatches\n\nRun these as independent, fresh-context subagents in parallel — each is blind to the others' findings, so coverage doesn't collapse into one agent's blind spots.\n\n1. **Pipeline gates.** Read `skills\u002Fwrapup\u002FSKILL.md`'s pipeline definition, each `skills\u002Fwrapup\u002Fgates\u002F*.md` protocol (simplifier, code-reviewer, security-review), and `skills\u002Fdoc-audit\u002FSKILL.md` (doc-audit lives as its own standalone skill, not under `gates\u002F`). Apply all four gates to the full current contents of the target scope — as a standing check of the target's current state, not a ticket diff. Report file:line + quoted excerpt for every finding; state explicitly what was checked even when a gate finds nothing.\n\n2. **Adversarial review.** Read the target workflow's own review protocol (e.g. `skills\u002Fsprint\u002Freference\u002Freview.md`) and apply the same scrutiny to the target scope's current contents as \"the code under review.\" Look for internal contradictions, ambiguous instructions, assumptions about state\u002Ffiles that don't exist, and places where two files describe the same mechanism differently. Also run a lean-language pass on skill docs: flag prose bloat, unnecessary fluff, repeated wording\u002Finstructions, and wording that can be made simpler and more straight-to-the-point without losing clear, correct intent. At minimum, flag every no-op\u002Ffiller phrase in `tools\u002Fno-op-phrases.txt` (the canonical list `canon-dev.sh lint`'s `SP-NOOP` check greps mechanically), then go beyond it with judgment — contextual no-ops a phrase list can't catch are exactly this dispatch's job. Run `.\u002Ftools\u002Fcanon-dev.sh lint` first so the mechanical subset (no-ops, weak descriptions, missing evals) is already surfaced and this pass can focus on what regex can't see.\n\n   For each flagged file, don't just flag — produce an actual candidate rewrite: compress prose framing to telegraphic phrasing (drop articles\u002Ffiller where grammar allows), modeled on the caveman project (github.com\u002FJuliusBrussee\u002Fcaveman) and this repo's own `t-532d` prune of `standards\u002Fefficiency.md`. Byte-preserve code, paths, commands, flags, and format templates — compress only the prose around them, never the rules\u002Fcases\u002Ftemplates themselves. Report old\u002Fnew word counts as evidence of the compression, alongside the candidate rewrite.\n\n3. **Cross-doc consistency.** Read every file in the target scope together — plus anything outside it that describes the same mechanism (README sections, `docs\u002F*.md`, `AGENTS.md`). Report contradictions or gaps as a set, not per-file: does one doc say something a sibling doc contradicts? Does a top-level rule (e.g. `AGENTS.md`'s Model Tiers) need to cross-reference a target-scope rule that overrides it for a specific case?\n\n   **Conflicting-instruction lens.** Beyond hard contradictions, evaluate the *co-injected* context set — `standards\u002Fefficiency.md`, `AGENTS.md`, the active skill's `SKILL.md` + reference docs, and the project `CLAUDE.md` — as it is loaded into a single request *simultaneously*, and flag directives that clash or pull opposite ways even without a strict logical contradiction (e.g. a blanket \"never do X\" in one file alongside \"do X when appropriate\" in another). Overlapping or conflicting directives in one loaded context cost the model reasoning to reconcile before it can act — the same overconstraint that bloats a system prompt. Cite **both sides** (`file:line` + quoted directive) as a distinct finding class, and name the higher-leverage side to keep so the fix is a resolution, not just a flag.\n\n4. **Stale-reference sweep.** Repo-wide grep (not limited to the target files) for anything — other skills, `docs\u002F`, `README.md`, public posts — that references the target's old or removed behavior. State the search terms\u002Fglobs used so an absence-of-findings claim is verifiable, not assumed.\n\n## Compile, don't auto-fix\n\nDedupe findings across all 4 reports (the same issue often surfaces from more than one angle — that's cross-confirmation, not noise). Rank by severity. Present the full compiled list to the user before applying any fix — this skill produces a report; fixing is a separate, explicit step the user scopes (all findings, a subset, or just the regressions). Log anything genuinely out-of-scope as `NOTICED:` rather than fixing silently.\n\nIf the user approves fixes, apply them directly, then re-verify with `npm test` (or the target repo's equivalent) and a fresh grep sweep for the same stale terms before considering it done — a subagent's \"fixed\" claim is not itself evidence; check the actual diff.\n\nFor an approved **compression** fix specifically, that re-verify step isn't enough — tests and grep don't catch a rule or case silently dropped in prose compression. Before considering a compression fix done, dispatch a fresh-context subagent (`review` purpose) to diff the old file against the applied rewrite line-by-line and report any rule, case, or format template present in the old but missing or weakened in the new — mirroring `t-532d`'s pattern. Fix any finding and re-run the diff-verification until it reports none; for a file that's live `@`-imported into other projects' contexts (broad blast radius), run this verification twice, as `t-532d` did.\n\n## Gotchas\n\n- Don't skip a dispatch because it seems redundant with another — the four lenses catch different failure modes (a gate the dispatching agent forgot to run vs. a doc contradiction vs. staleness outside the target scope entirely).\n- A finding two dispatches independently surface is stronger evidence, not duplicate noise — note the cross-confirmation when compiling.\n- If the target scope's own close gates include a cheap-model shortcut, this audit still runs full-tier regardless — auditing the shortcut itself is one of the things it should catch.\n","# Repo Workflow Audit\n\nInternal — not for direct\u002Fpublic invocation. Called by the maintainer when auditing canon's own workflow docs.\n\nAudits a canon workflow's own skill\u002Freference docs against themselves — distinct from `repo-audit`, which rates any repo's general health (uniqueness, philosophy coherence, docs, codebase quality) via a single agent. This skill is self-referential: it checks whether canon's *own* workflow machinery (sprint, wrapup, or another skill family) is internally consistent, current, and free of the contradictions that narrowly-scoped per-ticket reviewers wouldn't catch.\n\n## When to use\n\nTriggers: \"audit the sprint workflow\", \"deep-scan the close pipeline\", \"check the wrapup docs for drift\", \"run the workflow audit on `\u003Cskill>`\". Not for general repo health (`repo-audit`) or a single ticket's diff (sprint's own `review.md`\u002F`eval.md` gates already cover that).\n\n## Target scope\n\nDefault target: `skills\u002Fsprint\u002F**` + `skills\u002Fwrapup\u002F**` (the pair this pattern was built for, in `t-6487`) + `standards\u002Fefficiency.md` (the coding-standards doc underlying wrapup's own gates). If the user names a different skill or doc set, use that instead — the pattern generalizes to any skill family with reference\u002Fgate sub-files.\n\n## Model\n\nThis is deliberately high-scrutiny work. Default to the strongest available model for all 4 dispatches below — do not apply any cheap-model\u002Fblast-radius shortcut a target workflow's own gates might use on themselves (e.g. `skills\u002Fsprint\u002Freference\u002Fcomplete.md`'s Haiku rule). If the user asks to keep review at full tier, that instruction always applies here too — this skill's whole purpose is high scrutiny.\n\n## The 4 dispatches\n\nRun these as independent, fresh-context subagents in parallel — each is blind to the others' findings, so coverage doesn't collapse into one agent's blind spots.\n\n1. **Pipeline gates.** Read `skills\u002Fwrapup\u002FSKILL.md`'s pipeline definition, each `skills\u002Fwrapup\u002Fgates\u002F*.md` protocol (simplifier, code-reviewer, security-review), and `skills\u002Fdoc-audit\u002FSKILL.md` (doc-audit lives as its own standalone skill, not under `gates\u002F`). Apply all four gates to the full current contents of the target scope — as a standing check of the target's current state, not a ticket diff. Report file:line + quoted excerpt for every finding; state explicitly what was checked even when a gate finds nothing.\n\n2. **Adversarial review.** Read the target workflow's own review protocol (e.g. `skills\u002Fsprint\u002Freference\u002Freview.md`) and apply the same scrutiny to the target scope's current contents as \"the code under review.\" Look for internal contradictions, ambiguous instructions, assumptions about state\u002Ffiles that don't exist, and places where two files describe the same mechanism differently. Also run a lean-language pass on skill docs: flag prose bloat, unnecessary fluff, repeated wording\u002Finstructions, and wording that can be made simpler and more straight-to-the-point without losing clear, correct intent. At minimum, flag every no-op\u002Ffiller phrase in `tools\u002Fno-op-phrases.txt` (the canonical list `canon-dev.sh lint`'s `SP-NOOP` check greps mechanically), then go beyond it with judgment — contextual no-ops a phrase list can't catch are exactly this dispatch's job. Run `.\u002Ftools\u002Fcanon-dev.sh lint` first so the mechanical subset (no-ops, weak descriptions, missing evals) is already surfaced and this pass can focus on what regex can't see.\n\n   For each flagged file, don't just flag — produce an actual candidate rewrite: compress prose framing to telegraphic phrasing (drop articles\u002Ffiller where grammar allows), modeled on the caveman project (github.com\u002FJuliusBrussee\u002Fcaveman) and this repo's own `t-532d` prune of `standards\u002Fefficiency.md`. Byte-preserve code, paths, commands, flags, and format templates — compress only the prose around them, never the rules\u002Fcases\u002Ftemplates themselves. Report old\u002Fnew word counts as evidence of the compression, alongside the candidate rewrite.\n\n3. **Cross-doc consistency.** Read every file in the target scope together — plus anything outside it that describes the same mechanism (README sections, `docs\u002F*.md`, `AGENTS.md`). Report contradictions or gaps as a set, not per-file: does one doc say something a sibling doc contradicts? Does a top-level rule (e.g. `AGENTS.md`'s Model Tiers) need to cross-reference a target-scope rule that overrides it for a specific case?\n\n   **Conflicting-instruction lens.** Beyond hard contradictions, evaluate the *co-injected* context set — `standards\u002Fefficiency.md`, `AGENTS.md`, the active skill's `SKILL.md` + reference docs, and the project `CLAUDE.md` — as it is loaded into a single request *simultaneously*, and flag directives that clash or pull opposite ways even without a strict logical contradiction (e.g. a blanket \"never do X\" in one file alongside \"do X when appropriate\" in another). Overlapping or conflicting directives in one loaded context cost the model reasoning to reconcile before it can act — the same overconstraint that bloats a system prompt. Cite **both sides** (`file:line` + quoted directive) as a distinct finding class, and name the higher-leverage side to keep so the fix is a resolution, not just a flag.\n\n4. **Stale-reference sweep.** Repo-wide grep (not limited to the target files) for anything — other skills, `docs\u002F`, `README.md`, public posts — that references the target's old or removed behavior. State the search terms\u002Fglobs used so an absence-of-findings claim is verifiable, not assumed.\n\n## Compile, don't auto-fix\n\nDedupe findings across all 4 reports (the same issue often surfaces from more than one angle — that's cross-confirmation, not noise). Rank by severity. Present the full compiled list to the user before applying any fix — this skill produces a report; fixing is a separate, explicit step the user scopes (all findings, a subset, or just the regressions). Log anything genuinely out-of-scope as `NOTICED:` rather than fixing silently.\n\nIf the user approves fixes, apply them directly, then re-verify with `npm test` (or the target repo's equivalent) and a fresh grep sweep for the same stale terms before considering it done — a subagent's \"fixed\" claim is not itself evidence; check the actual diff.\n\nFor an approved **compression** fix specifically, that re-verify step isn't enough — tests and grep don't catch a rule or case silently dropped in prose compression. Before considering a compression fix done, dispatch a fresh-context subagent (`review` purpose) to diff the old file against the applied rewrite line-by-line and report any rule, case, or format template present in the old but missing or weakened in the new — mirroring `t-532d`'s pattern. Fix any finding and re-run the diff-verification until it reports none; for a file that's live `@`-imported into other projects' contexts (broad blast radius), run this verification twice, as `t-532d` did.\n\n## Gotchas\n\n- Don't skip a dispatch because it seems redundant with another — the four lenses catch different failure modes (a gate the dispatching agent forgot to run vs. a doc contradiction vs. staleness outside the target scope entirely).\n- A finding two dispatches independently surface is stronger evidence, not duplicate noise — note the cross-confirmation when compiling.\n- If the target scope's own close gates include a cheap-model shortcut, this audit still runs full-tier regardless — auditing the shortcut itself is one of the things it should catch.\n",{"name":5,"tags":24,"hidden":30,"category":31,"description":7},[25,26,27,28,29],"audit","workflow","sprint","self-audit","quality",true,"agent-ops","main","3e6c9d35455e8e206133380135b560ddb8b58c0e","skills\u002Frepo-workflow-audit",1,"https:\u002F\u002Fgithub.com\u002Fsunitghub\u002Fcanon-skills","https:\u002F\u002Fgetcanon.dev","https:\u002F\u002Fgithub.com\u002Fsunitghub","2026-11-15 03:47:49",{"source":8,"skillName":5,"commands":41,"prompt":51,"zipAvailable":30},[42,45,48],{"tool":43,"command":44},"npx","npx skills add sunitghub\u002Fcanon-skills --skill repo-workflow-audit",{"tool":46,"command":47},"bunx","bunx skills add sunitghub\u002Fcanon-skills --skill repo-workflow-audit",{"tool":49,"command":50},"pnpm","pnpm dlx skills add sunitghub\u002Fcanon-skills --skill repo-workflow-audit","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsunitghub\u002Fcanon-skills\u002Fblob\u002Fmain\u002Fskills\u002Frepo-workflow-audit\u002FSKILL.md",[53,59],{"path":54,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":57,"sourceHtmlUrl":58},"evals\u002Fevals.json","REFERENCE","参考文档",6475,"https:\u002F\u002Fgithub.com\u002Fsunitghub\u002Fcanon-skills\u002Fblob\u002Fmain\u002Fskills\u002Frepo-workflow-audit\u002Fevals\u002Fevals.json",{"path":60,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":61,"sourceHtmlUrl":62},"skill-eval-result.md",4707,"https:\u002F\u002Fgithub.com\u002Fsunitghub\u002Fcanon-skills\u002Fblob\u002Fmain\u002Fskills\u002Frepo-workflow-audit\u002Fskill-eval-result.md",[64,71,78,85,91,98],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":19},"01M75JK2VBM156TBGG9CM9RS34","no-evals","A skill with no evals folder.","https:\u002F\u002Fgithub.com\u002Fsunitghub\u002Fcanon-skills\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskill-check\u002Fno-evals\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M75JK0PTGT7Y2HMWTGPVYT16","hooks","Registers a hook and pushes code.","https:\u002F\u002Fgithub.com\u002Fsunitghub\u002Fcanon-skills\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskill-check\u002Fhooks\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"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":19},"01M75JJYWMTD3CWT18DRYHG82H","good","Formats commit messages. Use when the user asks for a commit message.","https:\u002F\u002Fgithub.com\u002Fsunitghub\u002Fcanon-skills\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskill-check\u002Fgood\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"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":88,"categories":89,"keywords":90,"publishedAt":19},"01M75JJX1CRZJS5XJECST8QR9Q","bad-frontmatter","https:\u002F\u002Fgithub.com\u002Fsunitghub\u002Fcanon-skills\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskill-check\u002Fbad-frontmatter\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":19},"01M75JJTCMGGRFG5RNEJMKJ8AN","wrapup","Internal close-pipeline invoked by sprint complete — quality checks, code review, cleanup. Not for direct use; a normal\u002Fhigh-risk sprint's own \"sprint complete\" step calls this automatically.","https:\u002F\u002Fgithub.com\u002Fsunitghub\u002Fcanon-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwrapup\u002FSKILL.md",[],[],{"skillNo":99,"name":27,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":19},"01M75JJP7CEJQDYQ490EEJKFCP","Manages the sprint workflow for focused changes. Use when asked to add, fix, update, implement, debug, or build — see the Workflow tiers section for what's out of scope.","https:\u002F\u002Fgithub.com\u002Fsunitghub\u002Fcanon-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsprint\u002FSKILL.md",[],[]]