[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71AWJ9SP16GJB38JVZ5N8N5":3,"skill-same:01M71AWJ9SP16GJB38JVZ5N8N5":85},{"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":61,"commitSha":62,"skillDirectory":63,"forksCount":64,"repositoryHtmlUrl":65,"repositoryHomepageUrl":66,"ownerHtmlUrl":67,"ownerBlogUrl":68,"ownerDescription":69,"updatedAt":70,"install":71,"resources":84},"01M71AWJ9SP16GJB38JVZ5N8N5","daily-qa",null,"Daily repo health check — scans recent commits, CI failures, dependency\ndrift, performance regressions, and untested code paths. Produces a\ngrounded report with evidence-only findings and minimal, scoped fixes.\nUse when asked to \"run daily QA\", \"daily repo check\", \"morning standup\nfor the repo\", \"daily health report\", or \"check recent commits for bugs\".","ariadoss\u002Fsuperskills","ariadoss","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F414341?v=4","01M71AC7383PT6JCRZSQJ4AVTM","Danilo Stern-Sapad","01M71AC73Y7NTBTJ9KQYNENRRE",12,"MIT","https:\u002F\u002Fgithub.com\u002Fariadoss\u002Fsuperskills\u002Fblob\u002Fmain\u002Fskills\u002Fdaily-qa\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"daily","daily qa","qa","paths","read","2026","run","dependency","repo health check","review","code","drift","Bash","morning standup","when","only","repo health","ci","timestamp","performance","2026-11-10 10:12:30",false,"---\nname: daily-qa\nversion: 1.0.0\ndescription: |\n  Daily repo health check — scans recent commits, CI failures, dependency\n  drift, performance regressions, and untested code paths. Produces a\n  grounded report with evidence-only findings and minimal, scoped fixes.\n  Use when asked to \"run daily QA\", \"daily repo check\", \"morning standup\n  for the repo\", \"daily health report\", or \"check recent commits for bugs\".\ntriggers:\n  - daily qa\n  - daily repo check\n  - daily repo qa\n  - morning repo check\n  - daily health report\n  - check recent commits for bugs\n  - daily ci review\nargument-hint: '\u003Coptional: since timestamp, e.g. \"24h\", \"last-run\", \"2026-06-01\">'\nallowed-tools:\n  - Bash\n  - Read\n  - Grep\n  - Glob\n  - Task\n  - Skill\n  - WebFetch\n---\n\n# \u002Fdaily-qa\n\nA daily, evidence-grounded sweep across the repo: recent commits, CI signals,\ndependency drift, performance regressions, and test coverage gaps. Output is\na short report with **observed** vs **suspected** clearly separated, plus the\nsmallest viable fixes.\n\n## Hard rules (apply to every section)\n\n- **Ground every claim in concrete repo evidence**: commit SHAs, PR numbers,\n  file paths, diff hunks, failing test names, CI job IDs, log snippets,\n  lockfile entries, benchmark numbers, or trace IDs.\n- **If evidence is weak or missing, say so and skip** — do not invent\n  findings, do not speculate root causes, do not guess version numbers.\n- **Separate \"observed\" from \"suspected\"** in every section.\n- **Prefer the smallest safe fix.** No refactors, no unrelated cleanup,\n  no opportunistic renames.\n- **Scope stays tight** to the changed\u002Faffected areas. If a finding requires\n  broader work, flag it as a follow-up — do not expand scope inline.\n\n## Step 1: Establish the window\n\nDetermine the time window for \"recent\":\n1. If the user passed `$ARGUMENTS`, use it (`24h`, `last-run`, ISO date, etc.).\n2. Else check `.daily-qa-last-run` at the repo root — if present, use its\n   timestamp as the lower bound.\n3. Else default to **last 24 hours**.\n\nRecord the resolved window at the top of the report.\n\nAfter the report is written, update `.daily-qa-last-run` to the current\ntimestamp so the next run picks up cleanly. (Add to `.gitignore` if not\nalready present; do not commit it.)\n\n## Step 2: CI failures and flaky tests\n\nGoal: summarize CI failures in the window; group by likely root cause;\nsuggest top fixes. (Run this **before** the commit bug scan so the bug scan\nin Step 3 can cross-reference live test\u002FCI signal.)\n\n1. Try, in order:\n   - `gh run list --limit 50 --json databaseId,conclusion,headSha,createdAt,name,workflowName`\n     and filter to the window.\n   - If `gh` unavailable, look for local CI artifacts: `.github\u002Fworkflows\u002F`\n     to identify jobs, then `gh` per-PR or repo-specific CI tooling\n     mentioned in `CLAUDE.md`.\n2. For each failed run, fetch the log of the failing step\n   (`gh run view \u003Cid> --log-failed`) and extract:\n   - failing test name(s) or build step\n   - the actual error message (verbatim, in a code block)\n   - the workflow + job + step path\n3. **Flaky detection**: a test is flaky if it fails on one run and passes\n   on another for the **same SHA**, or if its failure message includes\n   timing\u002Frace\u002Fnetwork strings. Cite the two runs.\n4. Group findings by likely root cause (compile error, env\u002Fsecret drift,\n   network\u002Fflake, assertion change, snapshot stale). Mark each group\n   **Observed** (proven by logs) or **Suspected** (pattern match only).\n5. Suggest top 1–3 fixes, each with a concrete file path or test name.\n\nIf CI is unreachable, write: *\"CI signals unavailable — skipped\"* and the\nreason (no `gh`, no token, no remote).\n\n## Step 3: Recent-commit bug scan\n\nGoal: surface likely bugs introduced in the window; propose minimal fixes.\n\n1. `git log --since=\u003Cwindow> --oneline --no-merges` → list candidate SHAs and\n   resolve the window's commit range (oldest..HEAD within the window).\n2. **Primary engine — delegate to `\u002Fcode-review`.** Run `\u002Fcode-review` scoped\n   to the window's diff\u002Frange at a local tier:\n   - `low`\u002F`medium` for a quick daily pass; `high` when the window is large\n     (>30 commits) or touches auth\u002Fcrypto\u002Fpayments\u002Fdata paths.\n   - `\u002Fcode-review` reads the diff only — no browser, no external tools, no\n     auth prompt — so it is **safe to auto-run**, exactly like `\u002Fdefense`.\n   - The **`ultra` tier is cloud-based, billed, and user-triggered** — never\n     auto-run it. Recommend it (see §7f) only when a finding here is\n     high-stakes and warrants a deep multi-agent cloud review.\n   - `\u002Fcode-review` runs as a separate background task that starts in the\n     session's working directory, not necessarily the repo under review. Put\n     the repo's absolute path and the commit range in its arguments, for\n     example `high \u003Coldest>..HEAD in \u002Fabs\u002Fpath\u002Fto\u002Frepo (cd there first)`.\n   - Wait for its result before writing report §2. If it has not returned when\n     the report is due, write §2 as *\"pending: \u002Fcode-review still running\"*\n     and put the Step 3 fallback scan under it, labeled as the fallback.\n   Fold `\u002Fcode-review`'s correctness findings into report §2.\n3. **Fallback (only if `\u002Fcode-review` is unavailable).** `\u002Fcode-review` is a\n   Claude Code built-in, so Codex, Cursor and other hosts use this path.\n   Apply `\u002Freview`'s checklist to the window's diff, read-only: the first of\n   `~\u002F.claude\u002Fskills\u002Fgstack\u002Freview\u002Fchecklist.md`,\n   `~\u002F.codex\u002Fskills\u002Fgstack\u002Freview\u002Fchecklist.md`, or\n   `vendor\u002Fgstack\u002Freview\u002Fchecklist.md` in the superskills install. Do not run\n   `\u002Freview` itself here: it applies fixes to the working tree and stops on the\n   base branch, and this sweep is report-only. Title §2 *\"fallback: \u002Freview\n   checklist\"*. If no checklist was found (gstack is not installed), invoke\n   `\u002Fbasic-review` on the window's diff instead; it is read-only, so it fits\n   this sweep. Title §2 *\"fallback: \u002Fbasic-review\"* and fold its findings in.\n   Whichever you use, read the diff hunks\n   that touch logic (skip pure docs\u002Fconfig-only changes unless they touch\n   build\u002FCI config) and look for concrete bug signatures:\n   - off-by-one, inverted conditions, swapped args, dropped error handling,\n     unhandled null\u002Fundefined, race-prone async, accidental `await` removal,\n     resource leaks, missing cleanup, regex backtracking, SQL with missing\n     parameter binding, auth\u002Fpermission checks removed.\n4. Cross-reference findings with failing tests or CI jobs from **Step 2** — if\n   a commit coincides with a new failure, escalate confidence.\n5. For each finding, output:\n   - **SHA + file:line** evidence\n   - **Observed** (what the diff actually does)\n   - **Suspected impact** (only if you can name a concrete failure mode)\n   - **Minimal fix** (the smallest diff that addresses it)\n\nIf no findings appear, write: *\"No bug-signature findings in window — N\ncommits scanned.\"* — do not fill space with speculation.\n\n`\u002Fcode-review` already fans out internally; only delegate a separate wide scan\nto an `Explore` subagent if `\u002Fcode-review` is unavailable and the window spans\n>30 commits.\n\n## Step 4: Dependency \u002F SDK drift\n\nGoal: detect outdated deps and propose a **minimal** alignment plan with\nexplicit current → target versions taken from the repo.\n\n1. Identify package manifests + lockfiles present:\n   - `package.json` \u002F `package-lock.json` \u002F `pnpm-lock.yaml` \u002F `yarn.lock`\n   - `pyproject.toml` \u002F `poetry.lock` \u002F `requirements.txt` \u002F `uv.lock`\n   - `Gemfile.lock`, `go.mod`\u002F`go.sum`, `Cargo.toml`\u002F`Cargo.lock`, etc.\n2. Pull **current** versions directly from the lockfile (not the manifest\n   range). If no lockfile, say so and stop — do not invent versions.\n3. Determine **target** versions only via a reproducible source:\n   - `npm outdated --json`, `pnpm outdated --format json`,\n     `pip list --outdated --format=json`, `cargo outdated`, etc.\n   - If the tool is unavailable, list deps as \"target unknown\" and\n     **do not guess**.\n4. Group findings:\n   - **Safe patch\u002Fminor** (no breaking changes per changelog)\n   - **Minor with caveats** (deprecations noted)\n   - **Major** (explicitly call out breaking-change risk + required\n     migration steps; cite the upstream changelog URL only if fetched\n     via `WebFetch`)\n   - **SDK drift** (e.g., `@anthropic-ai\u002Fsdk`, `openai`, cloud SDKs) —\n     prioritize these, list any pinned model IDs or APIs that may need\n     updating.\n5. Propose the **smallest viable upgrade set**: prefer one cohesive bump\n   per group over many. Mark all target versions as **Suggestion** unless\n   they came from an explicit upstream pin in the repo.\n6. **Vendored-tool upstream drift** (always run — read-only, no billing):\n\n   The script ships with superskills, not with the repo under review, so\n   resolve it instead of assuming `.\u002Fscripts\u002F`. Try, in order:\n   `.\u002Fscripts\u002Fcheck-upstream-drift.sh`,\n   `$SUPERSKILLS_DIR\u002Fscripts\u002Fcheck-upstream-drift.sh`,\n   `~\u002FSites\u002Fsuperskills\u002Fscripts\u002Fcheck-upstream-drift.sh`,\n   `~\u002F.claude\u002Fskills\u002Fsuperskills\u002Fscripts\u002Fcheck-upstream-drift.sh`,\n   `~\u002F.codex\u002Fskills\u002Fsuperskills\u002Fscripts\u002Fcheck-upstream-drift.sh`.\n\n   ```bash\n   for d in \"$SUPERSKILLS_DIR\" ~\u002FSites\u002Fsuperskills ~\u002F.claude\u002Fskills\u002Fsuperskills ~\u002F.codex\u002Fskills\u002Fsuperskills .; do\n     [ -n \"$d\" ] && [ -x \"$d\u002Fscripts\u002Fcheck-upstream-drift.sh\" ] && { \"$d\u002Fscripts\u002Fcheck-upstream-drift.sh\"; break; }\n   done\n   ```\n\n   If none exists, do not drop the step quietly: record it in the §7 ledger as\n   *skipped: drift script not found (tried …)*.\n\n   Compares the vendored pentest tools against their upstreams: Shannon's\n   vendored tag vs the latest stable tag, and clearwing's installed commit\n   vs its vendored pin vs upstream HEAD (by **commit** — upstream's version\n   string is ambiguous). Report its output verbatim in the findings table.\n   It never upgrades anything — when it reports an upgrade available, that is\n   a **Suggestion** with the exact `scripts\u002Fsync-*.sh` command it prints, and\n   the sync's contract tests decide whether the upgrade is safe. Offline\n   probes print \"unverified\"; report that as unverified, never as current.\n\n## Step 5: Performance \u002F benchmark regression\n\nGoal: compare recent changes to existing benchmarks\u002Ftraces; flag regressions.\n\n1. Look for benchmark or trace artifacts:\n   - `benchmark\u002F`, `bench\u002F`, `perf\u002F`, `*.bench.*` test files\n   - CI artifacts containing timings, flamegraphs, or `criterion`\u002F`pytest-benchmark` output\n   - traces stored under `traces\u002F` or referenced in `CLAUDE.md`\n2. If found, diff the latest run's numbers against the previous baseline\n   for files touched in the window (the changed-file list from Step 3).\n   Report each regression as:\n   - metric name, baseline, current, delta %, commit SHA suspected\n3. If no benchmarks\u002Ftraces exist for the touched code paths, write:\n   *\"No measurements found for: \u003Cpaths>\"*. Suggest 1–2 specific things\n   to measure next (e.g., \"add a microbench for `X.foo` — hot path\n   per commit abc123\"). **Do not estimate impact without numbers.**\n\nFor deeper analysis on a single hotspot, recommend the user run\n`\u002Fperf-profile` or `\u002Fdb-optimize`.\n\n## Step 6: Untested-path detection\n\nGoal: identify code paths added\u002Fchanged in the window that lack tests;\ndraft small, focused tests.\n\n1. For each file changed in the window, locate its test file via repo\n   convention (sibling `*.test.*`, parallel `tests\u002F` tree, etc.).\n2. Use coverage data if available (`coverage\u002F`, `lcov.info`,\n   `.coverage`). If absent, fall back to a structural check: new\n   exported functions \u002F new branches in `if`\u002F`switch` \u002F new error paths\n   without a corresponding assertion in any test file.\n3. For each gap, draft **one** small test that:\n   - fails on the pre-change code (cite the prior SHA)\n   - passes on the current code\n   - touches only the changed surface — no broad refactors of test setup\n4. **Do not create PRs automatically.** If the user has a `yeet`-style\n   draft-PR tool wired up, suggest the exact command; otherwise output\n   the test files as a code block and let the user apply them.\n\nThis step is a **report-only draft** — it never applies the tests it drafts.\nTo actually **close** the gaps found here — including edge\u002Fcorner cases and\npast-regression coverage beyond what a single drafted test covers — recommend\n`\u002Ftest-coverage`, which writes and applies the missing tests and enforces\nGoogle's Testing on the Toilet best practices on them.\n\nIf pursuing TDD-style follow-up, recommend `\u002Ftdd`. To verify a fix\nactually works in the running app, recommend `\u002Fverify`.\n\n## Step 7: Scoped deep-dives (triggered)\n\nAfter Steps 2–6 produce the changed-file list for the window, decide\n**per-section** whether to invoke a heavier command on the narrowed scope.\nThe goal is high-signal automation without daily noise.\n\n### 7a. `\u002Fdb-optimize` — auto-run if triggered\n\nTrigger when changed files match any of:\n- ORM models, migrations, query builders (e.g. `**\u002Fmodels\u002F**`,\n  `**\u002Fmigrations\u002F**`, `**\u002Fqueries\u002F**`, `**\u002F*repository*`, `**\u002F*.sql`)\n- raw SQL strings introduced in the diff (`grep -E \"SELECT|INSERT|UPDATE|DELETE\"` on diff)\n- new ORM calls (`.find`, `.where`, `.includes`, `.join`, `.preload`, etc.)\n  in the diff\n\nFolder names are only examples (a Python repo keeps its database code in\n`schema.py`, `statements.py`). Decide with the shared helper, not by eye.\n(The helper loops in this file and in `\u002Fqa-full` are deliberately repeated\nper section instead of shared out: each section stays self-contained, and a\nshared reference would add one more read to every run.)\n\n```bash\nfor d in \"$SUPERSKILLS_DIR\" ~\u002FSites\u002Fsuperskills ~\u002F.claude\u002Fskills\u002Fsuperskills ~\u002F.codex\u002Fskills\u002Fsuperskills .; do\n  [ -n \"$d\" ] && [ -x \"$d\u002Fscripts\u002Fqa-triggers.sh\" ] && { \"$d\u002Fscripts\u002Fqa-triggers.sh\" db \u003Cdiff-ref>; break; }\ndone\n```\nExit 0 lists the matching files: the check is triggered. Exit 1 means nothing\nmatched: quote its \"searched ...\" line in the ledger row as the not-triggered\nevidence. If the script is not found, fall back to the patterns above and still\ngrep the diff for SQL and for template\u002FUI files before writing *not triggered*.\n\nAction: invoke `\u002Fdb-optimize` **scoped to the matched files only**.\nFold its findings into the report under §4a \"DB hotspots (auto-run)\".\nIf no trigger matched: do not run it, but record *not triggered* in the §7 ledger with the patterns you checked. A trigger that matched and was not run is a defect (see the ledger rule).\n\n### 7b. `\u002Fdefense` — always auto-run (basic OWASP sweep)\n\n`\u002Fdefense` is the OWASP Top 10 \u002F secrets \u002F auth \u002F crypto \u002F data-protection\nreview. It reads code only — no external tools, no auth prompt — so it's\nsafe to run on every daily-qa.\n\nAction: invoke `\u002Fdefense` **scoped to all files changed in the window**\n(not the whole repo — keep it fast and signal-dense). If zero code files\nchanged, skip.\n\nFold findings into the report under §4b \"OWASP \u002F defense (auto-run)\" with\nseverity (CRITICAL \u002F HIGH \u002F MEDIUM \u002F LOW) and file:line references as\n`\u002Fdefense` produces them. Only include CRITICAL and HIGH in the executive\nsummary; MEDIUM and LOW go in the report body.\n\n### 7c. `\u002Fpentest` — recommend only (do not auto-run)\n\n`\u002Fpentest` defaults to an in-harness source-code hunt (the session's own\nmodel) but still requires an interactive authorization confirmation, and its\ndeeper modes — live network probes, fuzzing-backed hunts, SARIF output — run\nthrough the external [clearwing](https:\u002F\u002Fgithub.com\u002FLazarus-AI\u002Fclearwing)\nscanner, which configures its own LLM provider and bills it per run. All of\nthat is the wrong shape for unattended daily runs.\n\n**Recommend** `\u002Fpentest` when any of:\n- `\u002Fdefense` flagged CRITICAL or HIGH in §4b\n- dependency manifest changes in Step 4 introduced unfamiliar packages\n- auth, crypto, session, token, deserialization, or file-upload code paths\n  changed in the window\n- **infrastructure \u002F deploy config** changed (`Dockerfile`, `docker-compose*`,\n  `**\u002F*.tf`, `k8s`\u002F`helm` manifests, `.github\u002Fworkflows\u002F**`, nginx\u002Fcaddy\u002Fcloud\n  config) — a commonly-forgotten attack surface (exposed ports, broad IAM,\n  baked-in secrets). `\u002Fiac-scan` (§7i) auto-runs the static misconfig scan and\n  `\u002Fdefense` (§4b) sweeps for secrets; recommend `\u002Fpentest` only as the deeper\n  hunt when those surface HIGH\u002FCRITICAL.\n\nOutput the exact command (`\u002Fpentest`) plus the scoped path list. User\nconfirms authorization and runs it themselves.\n\n### 7d. `\u002Fqa` — auto-run if frontend changed (report-only)\n\nFrontend changes always get a browser pass. Trigger when changed files include\nUI\u002Ffrontend code (`**\u002F*.tsx`, `**\u002F*.jsx`, `**\u002F*.vue`, `**\u002F*.svelte`,\n`**\u002Fcomponents\u002F**`, `**\u002Fpages\u002F**`, `app\u002F**\u002Fpage.tsx`, `**\u002F*.css`, route handlers\nserving HTML), or when Step 3 found a bug signature in a user-facing path, or\nStep 2 found a failing e2e\u002Fbrowser test.\n\nServer-rendered templates (Jinja, ERB, Blade, Twig, plain `.html`) and\nstatic JS\u002FCSS count as UI. Decide with the shared helper, not by eye:\n\n```bash\nfor d in \"$SUPERSKILLS_DIR\" ~\u002FSites\u002Fsuperskills ~\u002F.claude\u002Fskills\u002Fsuperskills ~\u002F.codex\u002Fskills\u002Fsuperskills .; do\n  [ -n \"$d\" ] && [ -x \"$d\u002Fscripts\u002Fqa-triggers.sh\" ] && { \"$d\u002Fscripts\u002Fqa-triggers.sh\" ui \u003Cdiff-ref>; break; }\ndone\n```\nExit 0 lists the matching files: the check is triggered. Exit 1 means nothing\nmatched: quote its \"searched ...\" line in the ledger row as the not-triggered\nevidence. If the script is not found, fall back to the patterns above and still\ngrep the diff for SQL and for template\u002FUI files before writing *not triggered*.\n\nAction: invoke `\u002Fqa-only` (the report-only variant: it drives the browser and\nreports, and does not edit code, so it fits a sweep that never applies fixes)\nscoped to the routes the changed files serve, against the project's dev URL\n(check `CLAUDE.md` or the `dev` script, e.g. `http:\u002F\u002Flocalhost:3000`).\nFold the result into report §4d \"Browser QA (auto-run \u002Fqa-only)\".\n\nIf the app is not reachable, try the project's documented start command once.\nIf it still is not up, do NOT skip silently: record *skipped: app not reachable\nat \u003Curl>* in the §7 ledger, list the changed routes, and put the exact\n`\u002Fqa` command in the recommended follow-ups. Fixing what `\u002Fqa-only` finds is\nthe user's call: recommend `\u002Fqa` for that.\n\n### 7e. `\u002Fweb-perf` — recommend only (do not auto-run)\n\n`\u002Fweb-perf` uses Chrome DevTools MCP to measure Core Web Vitals (LCP, INP,\nCLS) and trace render-blocking resources, layout shifts, and network\ndependency chains against a **live running app**. It requires the\n`chrome-devtools` MCP server and a URL to hit — wrong shape for unattended\nruns, but high-signal when frontend code changed.\n\n**Trigger** — recommend when any of:\n- changed files include frontend code (`**\u002F*.tsx`, `**\u002F*.jsx`, `**\u002F*.vue`,\n  `**\u002F*.svelte`, `**\u002Fcomponents\u002F**`, `**\u002Fpages\u002F**`, `**\u002Fstyles\u002F**`,\n  `**\u002F*.css`, `**\u002F*.scss`, layout\u002Frouting files)\n- new images, fonts, or static assets added in the diff\n- `next.config.*`, `vite.config.*`, `webpack.config.*`, or other bundler\n  config changed (can affect bundle size and load time)\n- Step 3 (bug scan) surfaced a bug-signature in a render path or data-fetching hook\n\n**Output** — recommend the exact command:\n\n```\n\u002Fweb-perf\n```\n\nInclude the list of changed frontend files so the user can scope the audit\nto the affected routes. If the project has a local dev URL (check\n`CLAUDE.md` or common config like `package.json` `\"dev\"` script), include it\nas context: e.g. _\"Run `\u002Fweb-perf` against `http:\u002F\u002Flocalhost:3000` — changed\nfiles: `src\u002Fcomponents\u002FHero.tsx`, `app\u002Fpage.tsx`\"_.\n\n### 7f. `\u002Fcso` — recommend only (threat-model backstop)\n\n`\u002Fcso` is OWASP Top 10 + STRIDE **threat modeling** — a **design-time** activity\nwhose real home is `\u002Fwrite-plan`. daily-qa is post-merge, so this is only a\n**backstop**: it catches a trust-boundary change that shipped without a threat\nmodel.\n\n**Recommend** `\u002Fcso` when a commit in the window introduces a new trust boundary\nand the commit\u002FPR shows no sign threat modeling happened:\n- new auth\u002Fauthz flow, new public endpoint, new external integration or webhook\n- new deserialization, file upload, or handling of PII\u002Fpayments\u002Fcredentials\n- a new service-to-service or cross-tenant path\n\nOutput the exact command and note: *\"threat modeling belongs at plan time\n(`\u002Fwrite-plan` → `\u002Fcso`) — run it now if it was skipped.\"* Don't recommend it for\nchanges that cross no trust boundary.\n\n### 7g. `\u002Fdesign-audit` — recommend only (visual + accessibility), alongside `\u002Fqa`\n\nVisual consistency, hierarchy, AI-slop tells, and **accessibility** are an\neasily-forgotten layer. For any **frontend feature**, the design pass belongs\n*alongside* the functional pass: recommend **`\u002Fdesign-audit`** (read-only visual\n+ a11y audit → design plan) **together with `\u002Fqa`** (§7d, functional browser QA)\n— *does it look right* + *does it work*. Trigger when changed files include UI\n(`**\u002F*.tsx`, `**\u002F*.jsx`, `**\u002F*.vue`, `**\u002F*.svelte`, `**\u002Fcomponents\u002F**`,\n`**\u002Fpages\u002F**`, `**\u002Fstyles\u002F**`, `**\u002F*.css`). Output both commands scoped to the\nchanged UI files, and pair with `\u002Fweb-perf` (§7e) — together they cover\nwork + perf + a11y + visual.\n\n`\u002Fdesign-audit` only *finds and plans* (read-only). To **fix** what it flags,\nrecommend **`\u002Fdesign-review`** as the follow-up — it edits source and commits\natomically, so the user runs it deliberately, not as part of the sweep.\n\n### 7h. `\u002Fa11y` — recommend only (screen reader + WCAG)\n\nAccessibility regressions are silent — they don't fail a build, they fail a\nscreen-reader or keyboard user. `\u002Fa11y`'s dynamic pass needs a running app (wrong\nshape for an unattended sweep), so **recommend** it — but only on **heavy frontend\nchanges likely to break assistive tech**, not every style tweak. Trigger when the\nwindow's UI diff touches any of:\n- new\u002Fchanged **interactive components** (buttons, menus, dialogs, tabs, comboboxes)\n- **forms** (inputs, labels, validation\u002Ferror messaging)\n- **ARIA** \u002F `role=` \u002F `tabindex` \u002F focus or keyboard handling (`onKeyDown`, `focus()`)\n- **images\u002Ficons** (alt text) or **color\u002Fcontrast** changes conveying state\n- **motion \u002F animation** (autoplay, transitions, parallax — reduced-motion)\n\n(See `\u002Fa11y`'s trigger section for the authoritative list.) Output `\u002Fa11y` scoped to\nthe changed UI files, alongside the `\u002Fdesign-audit` + `\u002Fqa` recommendations\n(§7g, §7d). Skip it for pure spacing\u002Fcopy CSS changes.\n\n### 7i. `\u002Fiac-scan` — auto-run if triggered (infra misconfig)\n\nTrigger when changed files include infrastructure\u002Fdeploy config: `Dockerfile`,\n`docker-compose*`, `*.tf`\u002F`*.tfvars`, Kubernetes\u002FHelm manifests, `.github\u002Fworkflows\u002F**`,\n`Jenkinsfile`, nginx\u002Fcloud config.\n\nAction: invoke `\u002Fiac-scan` **scoped to the matched infra files** — it's static and\nread-only (uses tfsec\u002Fcheckov\u002Fhadolint\u002Factionlint if installed, signature checks\notherwise), so it's safe to auto-run like `\u002Fdefense`. Fold findings into the report\nunder §4c \"Infra misconfig (auto-run \u002Fiac-scan)\" with severity and file:line. Only\nCRITICAL\u002FHIGH go in the executive summary. If no infra files changed, record *not triggered* in the §7 ledger.\nFor a deeper hunt after HIGH\u002FCRITICAL, recommend `\u002Fpentest` (§7c).\n\n### 7j. `\u002Fhumanize` — recommend only (prose drift)\n\nDoc-heavy commits land from every branch, and merged prose is exactly what the\nper-branch pipelines never re-check. Recommend `\u002Fhumanize` when commits in the\nwindow added or modified user-facing copy: documentation, help prose,\nmarketing pages, locale strings, or visible UI text (any file type\n`skills\u002Fhumanize\u002Ftoolkit\u002Fuserfacing.py classify \u003Cpath>` does not call\n`none`). Internal prompts, agent instructions, plans, and code comments are out of scope.\nAlso exclude changelogs, vendored\u002Fmirrored trees, and generated files (that\nwording is deliberate or upstream's). It edits, not just reports, and rewrites\nvoice, so it never auto-runs unattended.\n\nInclude the list of changed prose files so the user can scope the pass, and\nstate it as a suggestion with the files as context: e.g. _\"Run `\u002Fhumanize` on\n`docs\u002Fbilling.md` and `README.md` — the window's commits touched them and the\nprose has not been swept.\"_\n\n### 7k. `\u002Feval` — recommend only (AI-behavior drift)\n\nCommits in the window that redefine AI behavior are behavior changes, and\nunattended sweeps cannot measure behavior. Judge by content, not filename: a\nprompt string edited inside code, a retrieval parameter, a judge rubric, or an\nagent-loop change is a behavior change even when the file is ordinary source;\nobvious signals are prompts, skill or agent instruction files, and LLM\u002FRAG\npipeline code or configuration. Recommend `\u002Feval` with the changed files\nlisted, stating that the run costs model calls and is launched by the user.\nNever auto-run it: the spend needs a human yes.\n\n### 7l. Other related commands — recommend only\n\n- `\u002Fcode-review ultra` — when Step 3's local `\u002Fcode-review` (or a CI failure)\n  surfaced a high-stakes correctness concern that warrants a deep multi-agent\n  cloud review. The `ultra` tier is billed and user-triggered, so never\n  auto-run it — output the exact command and let the user launch it.\n- `\u002Freview` — staff-level production-readiness review; heavier and more\n  architectural than the Step 3 `\u002Fcode-review` pass. Recommend when a commit in\n  the window is architecturally significant or touches a critical path.\n- `\u002Fdebug` — when Step 2 (CI) or Step 3 (bug scan) has a single high-value\n  failure to root-cause.\n- `\u002Fperf-profile` — when Step 5 flags a regression but lacks measurements.\n- `\u002Fverify` — when a fix from this report is ready to confirm.\n- `\u002Ftdd` — when expanding Step 6 coverage into a real feature.\n- `\u002Ftest-coverage` — writes and applies the tests Step 6 only drafts; recommend\n  when the untested-path list is worth closing now rather than just noting.\n- `\u002Ffinish-branch` \u002F `\u002Fship` — when a fix is ready to land.\n\n### 7z. The §7 ledger (mandatory)\n\nEvery §7 step gets one row in the report, whether or not it ran. Silence is not\nan allowed status. Statuses:\n\n- **ran**: link to the section holding its result.\n- **not triggered**: the trigger patterns you checked and that none matched.\n- **skipped**: it was triggered but did not run, with the concrete reason\n  (tool missing, app unreachable, authorization needed, window empty).\n- **recommended**: recommend-only steps whose trigger matched.\n\nBefore writing the report, compute the changed-file list once and match it\nagainst every trigger in §7a to §7l, including the Step 4 drift script. A step\nwhose trigger matched but whose status is not *ran* or *skipped (reason)* means\nthe sweep is incomplete: go back and run it. Auto-run steps (§7a, §7b, §7d, §7i)\nmay only be *skipped* for a reason a reader can verify.\n\n## Step 8: Report format\n\nWrite to `daily-qa-reports\u002FYYYY-MM-DD.md` (create the directory if\nneeded; add to `.gitignore` if appropriate). Structure:\n\n```markdown\n# Daily QA — \u003CYYYY-MM-DD>\n\nWindow: \u003Cfrom> → \u003Cto>\nCommits scanned: N\nCI runs scanned: N\n\n## 1. CI failures & flaky tests\n- Observed failures: …\n- Suspected flakes: …\n- Top fixes: …\n\n## 2. Recent-commit bug scan (auto-run \u002Fcode-review)\n- Observed: …\n- Suspected: …\n- (or) No findings.\n\n## 3. Dependency \u002F SDK drift\n- Safe bumps: …\n- Major bumps (breaking risk): …\n- SDK drift: …\n\n## 4. Performance regressions\n- Observed: …\n- No-measurement gaps: …\n\n### 4a. DB hotspots (auto-run \u002Fdb-optimize)\n- (only if triggered; otherwise omit section)\n\n### 4b. OWASP \u002F defense (auto-run \u002Fdefense)\n- CRITICAL: …\n- HIGH: …\n- MEDIUM \u002F LOW: …\n- (omit subsection only if no code files changed)\n\n### 4c. Infra misconfig (auto-run \u002Fiac-scan)\n- CRITICAL \u002F HIGH: …\n- (only if infra\u002Fdeploy config changed; otherwise omit section)\n\n### 4d. Browser QA (auto-run \u002Fqa-only)\n- \u003Cresult, or skipped: reason>\n\n## 5. Untested paths\n- Drafted tests: file paths + summary\n- Coverage gaps without drafts: …\n\n## 6. §7 ledger\n| Step | Status | Detail |\n|---|---|---|\n| 4.6 drift script | ran \u002F skipped (reason) | … |\n| 7a \u002Fdb-optimize | ran \u002F not triggered \u002F skipped | … |\n| 7b \u002Fdefense | … | … |\n| 7c \u002Fpentest | recommended \u002F not triggered | … |\n| 7d \u002Fqa-only | … | … |\n| 7e–7l | … | … |\n\n## Recommended next actions\n1. …\n2. …\n\n## Recommended follow-up commands\n- `\u002Fcode-review ultra` — (only if Step 3 found a high-stakes correctness concern)\n- `\u002Freview` — (only if a change is architecturally significant \u002F critical-path)\n- `\u002Fcso` — (only if a trust-boundary change shipped without a threat model)\n- `\u002Fweb-perf` — (only if frontend files changed; include affected routes and dev URL)\n- `\u002Fdesign-audit` + `\u002Fqa` — (only if UI changed; visual\u002Fa11y audit alongside functional QA)\n- `\u002Fa11y` — (only if heavy UI likely to affect screen-reader\u002Fkeyboard\u002Fcontrast)\n- `\u002Fdesign-review` — (to fix what `\u002Fdesign-audit`\u002F`\u002Fa11y` flag; mutates + commits)\n- `\u002Fpentest` — (only if \u002Fdefense or \u002Fiac-scan found CRITICAL\u002FHIGH, or auth\u002Fcrypto changed — NOT on a bare infra change; \u002Fiac-scan §4c already covers that statically)\n- `\u002Fqa` — (to fix what the auto-run `\u002Fqa-only` found, or when it was skipped because the app was unreachable)\n- `\u002Ftest-coverage` — (only if Step 6's untested-path list is worth closing now; writes and applies the drafted tests)\n```\n\nPrint the report path and a 5-line executive summary to the chat.\nUpdate `.daily-qa-last-run`.\n\n## Anti-patterns (do not do)\n\n- Listing \"potential issues\" without a SHA, file, log line, or version.\n- Proposing a refactor because the code \"could be cleaner.\"\n- Guessing a target dep version because \"x.y.z is probably current.\"\n- Claiming a perf regression without a measurement to back it.\n- Opening PRs or pushing branches as part of this command.\n- Bundling unrelated fixes into one finding.\n\n## Related commands\n\nAuto-invoked (local, diff-only — no external tools or auth prompt, safe for daily):\n- `\u002Fcode-review` — the engine of the Step 3 commit bug scan (local `low`\u002F`medium`\u002F`high` tiers); findings populate report §2.\n- `\u002Fdefense` — always run on changed files (basic OWASP \u002F secrets \u002F auth \u002F crypto sweep).\n- `\u002Fiac-scan` — when infra\u002Fdeploy config changed (static misconfig scan); findings populate §4c.\n- `\u002Fdb-optimize` — when DB\u002FORM\u002FSQL files changed.\n\nRecommend-only (never auto-run):\n- `\u002Fcode-review ultra` — deep multi-agent cloud review; billed + user-triggered. Recommend when Step 3 surfaces a high-stakes correctness concern.\n- `\u002Freview` — staff-level production-readiness review; recommend for architecturally significant \u002F critical-path changes (heavier than the Step 3 `\u002Fcode-review`).\n- `\u002Fcso` — OWASP+STRIDE threat modeling; design-time (home is `\u002Fwrite-plan`). Backstop-recommend when a trust-boundary change shipped without a threat model.\n- `\u002Fpentest` — authorization-gated security hunt (in-harness pipeline by default; its clearwing integration can run agent-driven on the session via the bundled bridge, with only provider-driven runs billing their own provider); recommend when `\u002Fdefense` or `\u002Fiac-scan` finds HIGH\u002FCRITICAL, or sensitive code paths changed (a bare infra change is handled statically by auto-run `\u002Fiac-scan` §7i — pentest is only the deeper hunt on HIGH\u002FCRITICAL).\n- `\u002Fqa` — interactive browser QA; recommend when UI changed.\n- `\u002Fweb-perf` — Core Web Vitals + render trace against a live app (Chrome DevTools MCP); recommend when frontend files, assets, or bundler config changed.\n- `\u002Fdesign-audit` — read-only visual\u002Fa11y audit → design plan; recommend alongside `\u002Fqa` when UI changed.\n- `\u002Fa11y` — WCAG \u002F screen-reader \u002F keyboard audit; recommend on heavy UI changes likely to affect assistive tech (dynamic pass needs a dev URL).\n- `\u002Fdesign-review` — *fixes and commits* visual issues (mutates); recommend as the follow-up to apply what `\u002Fdesign-audit`\u002F`\u002Fa11y` flags.\n- `\u002Fdebug` — root-cause investigation for a specific failure.\n- `\u002Fperf-profile` — drill into a perf regression flagged in Step 5.\n- `\u002Fverify` — confirm a proposed fix works in the running app.\n- `\u002Ftdd` — write the failing test first when expanding Step 6 coverage.\n- `\u002Ftest-coverage` — *writes and applies* the missing unit\u002Fintegration\u002Fe2e\n  tests that Step 6 only drafts as a report; the fixer counterpart (`\u002Fqa-full`\n  Step 9 runs it automatically).\n- `\u002Ffinish-branch` \u002F `\u002Fship` — when a fix from this report is ready to land.\n","# \u002Fdaily-qa\n\nA daily, evidence-grounded sweep across the repo: recent commits, CI signals,\ndependency drift, performance regressions, and test coverage gaps. Output is\na short report with **observed** vs **suspected** clearly separated, plus the\nsmallest viable fixes.\n\n## Hard rules (apply to every section)\n\n- **Ground every claim in concrete repo evidence**: commit SHAs, PR numbers,\n  file paths, diff hunks, failing test names, CI job IDs, log snippets,\n  lockfile entries, benchmark numbers, or trace IDs.\n- **If evidence is weak or missing, say so and skip** — do not invent\n  findings, do not speculate root causes, do not guess version numbers.\n- **Separate \"observed\" from \"suspected\"** in every section.\n- **Prefer the smallest safe fix.** No refactors, no unrelated cleanup,\n  no opportunistic renames.\n- **Scope stays tight** to the changed\u002Faffected areas. If a finding requires\n  broader work, flag it as a follow-up — do not expand scope inline.\n\n## Step 1: Establish the window\n\nDetermine the time window for \"recent\":\n1. If the user passed `$ARGUMENTS`, use it (`24h`, `last-run`, ISO date, etc.).\n2. Else check `.daily-qa-last-run` at the repo root — if present, use its\n   timestamp as the lower bound.\n3. Else default to **last 24 hours**.\n\nRecord the resolved window at the top of the report.\n\nAfter the report is written, update `.daily-qa-last-run` to the current\ntimestamp so the next run picks up cleanly. (Add to `.gitignore` if not\nalready present; do not commit it.)\n\n## Step 2: CI failures and flaky tests\n\nGoal: summarize CI failures in the window; group by likely root cause;\nsuggest top fixes. (Run this **before** the commit bug scan so the bug scan\nin Step 3 can cross-reference live test\u002FCI signal.)\n\n1. Try, in order:\n   - `gh run list --limit 50 --json databaseId,conclusion,headSha,createdAt,name,workflowName`\n     and filter to the window.\n   - If `gh` unavailable, look for local CI artifacts: `.github\u002Fworkflows\u002F`\n     to identify jobs, then `gh` per-PR or repo-specific CI tooling\n     mentioned in `CLAUDE.md`.\n2. For each failed run, fetch the log of the failing step\n   (`gh run view \u003Cid> --log-failed`) and extract:\n   - failing test name(s) or build step\n   - the actual error message (verbatim, in a code block)\n   - the workflow + job + step path\n3. **Flaky detection**: a test is flaky if it fails on one run and passes\n   on another for the **same SHA**, or if its failure message includes\n   timing\u002Frace\u002Fnetwork strings. Cite the two runs.\n4. Group findings by likely root cause (compile error, env\u002Fsecret drift,\n   network\u002Fflake, assertion change, snapshot stale). Mark each group\n   **Observed** (proven by logs) or **Suspected** (pattern match only).\n5. Suggest top 1–3 fixes, each with a concrete file path or test name.\n\nIf CI is unreachable, write: *\"CI signals unavailable — skipped\"* and the\nreason (no `gh`, no token, no remote).\n\n## Step 3: Recent-commit bug scan\n\nGoal: surface likely bugs introduced in the window; propose minimal fixes.\n\n1. `git log --since=\u003Cwindow> --oneline --no-merges` → list candidate SHAs and\n   resolve the window's commit range (oldest..HEAD within the window).\n2. **Primary engine — delegate to `\u002Fcode-review`.** Run `\u002Fcode-review` scoped\n   to the window's diff\u002Frange at a local tier:\n   - `low`\u002F`medium` for a quick daily pass; `high` when the window is large\n     (>30 commits) or touches auth\u002Fcrypto\u002Fpayments\u002Fdata paths.\n   - `\u002Fcode-review` reads the diff only — no browser, no external tools, no\n     auth prompt — so it is **safe to auto-run**, exactly like `\u002Fdefense`.\n   - The **`ultra` tier is cloud-based, billed, and user-triggered** — never\n     auto-run it. Recommend it (see §7f) only when a finding here is\n     high-stakes and warrants a deep multi-agent cloud review.\n   - `\u002Fcode-review` runs as a separate background task that starts in the\n     session's working directory, not necessarily the repo under review. Put\n     the repo's absolute path and the commit range in its arguments, for\n     example `high \u003Coldest>..HEAD in \u002Fabs\u002Fpath\u002Fto\u002Frepo (cd there first)`.\n   - Wait for its result before writing report §2. If it has not returned when\n     the report is due, write §2 as *\"pending: \u002Fcode-review still running\"*\n     and put the Step 3 fallback scan under it, labeled as the fallback.\n   Fold `\u002Fcode-review`'s correctness findings into report §2.\n3. **Fallback (only if `\u002Fcode-review` is unavailable).** `\u002Fcode-review` is a\n   Claude Code built-in, so Codex, Cursor and other hosts use this path.\n   Apply `\u002Freview`'s checklist to the window's diff, read-only: the first of\n   `~\u002F.claude\u002Fskills\u002Fgstack\u002Freview\u002Fchecklist.md`,\n   `~\u002F.codex\u002Fskills\u002Fgstack\u002Freview\u002Fchecklist.md`, or\n   `vendor\u002Fgstack\u002Freview\u002Fchecklist.md` in the superskills install. Do not run\n   `\u002Freview` itself here: it applies fixes to the working tree and stops on the\n   base branch, and this sweep is report-only. Title §2 *\"fallback: \u002Freview\n   checklist\"*. If no checklist was found (gstack is not installed), invoke\n   `\u002Fbasic-review` on the window's diff instead; it is read-only, so it fits\n   this sweep. Title §2 *\"fallback: \u002Fbasic-review\"* and fold its findings in.\n   Whichever you use, read the diff hunks\n   that touch logic (skip pure docs\u002Fconfig-only changes unless they touch\n   build\u002FCI config) and look for concrete bug signatures:\n   - off-by-one, inverted conditions, swapped args, dropped error handling,\n     unhandled null\u002Fundefined, race-prone async, accidental `await` removal,\n     resource leaks, missing cleanup, regex backtracking, SQL with missing\n     parameter binding, auth\u002Fpermission checks removed.\n4. Cross-reference findings with failing tests or CI jobs from **Step 2** — if\n   a commit coincides with a new failure, escalate confidence.\n5. For each finding, output:\n   - **SHA + file:line** evidence\n   - **Observed** (what the diff actually does)\n   - **Suspected impact** (only if you can name a concrete failure mode)\n   - **Minimal fix** (the smallest diff that addresses it)\n\nIf no findings appear, write: *\"No bug-signature findings in window — N\ncommits scanned.\"* — do not fill space with speculation.\n\n`\u002Fcode-review` already fans out internally; only delegate a separate wide scan\nto an `Explore` subagent if `\u002Fcode-review` is unavailable and the window spans\n>30 commits.\n\n## Step 4: Dependency \u002F SDK drift\n\nGoal: detect outdated deps and propose a **minimal** alignment plan with\nexplicit current → target versions taken from the repo.\n\n1. Identify package manifests + lockfiles present:\n   - `package.json` \u002F `package-lock.json` \u002F `pnpm-lock.yaml` \u002F `yarn.lock`\n   - `pyproject.toml` \u002F `poetry.lock` \u002F `requirements.txt` \u002F `uv.lock`\n   - `Gemfile.lock`, `go.mod`\u002F`go.sum`, `Cargo.toml`\u002F`Cargo.lock`, etc.\n2. Pull **current** versions directly from the lockfile (not the manifest\n   range). If no lockfile, say so and stop — do not invent versions.\n3. Determine **target** versions only via a reproducible source:\n   - `npm outdated --json`, `pnpm outdated --format json`,\n     `pip list --outdated --format=json`, `cargo outdated`, etc.\n   - If the tool is unavailable, list deps as \"target unknown\" and\n     **do not guess**.\n4. Group findings:\n   - **Safe patch\u002Fminor** (no breaking changes per changelog)\n   - **Minor with caveats** (deprecations noted)\n   - **Major** (explicitly call out breaking-change risk + required\n     migration steps; cite the upstream changelog URL only if fetched\n     via `WebFetch`)\n   - **SDK drift** (e.g., `@anthropic-ai\u002Fsdk`, `openai`, cloud SDKs) —\n     prioritize these, list any pinned model IDs or APIs that may need\n     updating.\n5. Propose the **smallest viable upgrade set**: prefer one cohesive bump\n   per group over many. Mark all target versions as **Suggestion** unless\n   they came from an explicit upstream pin in the repo.\n6. **Vendored-tool upstream drift** (always run — read-only, no billing):\n\n   The script ships with superskills, not with the repo under review, so\n   resolve it instead of assuming `.\u002Fscripts\u002F`. Try, in order:\n   `.\u002Fscripts\u002Fcheck-upstream-drift.sh`,\n   `$SUPERSKILLS_DIR\u002Fscripts\u002Fcheck-upstream-drift.sh`,\n   `~\u002FSites\u002Fsuperskills\u002Fscripts\u002Fcheck-upstream-drift.sh`,\n   `~\u002F.claude\u002Fskills\u002Fsuperskills\u002Fscripts\u002Fcheck-upstream-drift.sh`,\n   `~\u002F.codex\u002Fskills\u002Fsuperskills\u002Fscripts\u002Fcheck-upstream-drift.sh`.\n\n   ```bash\n   for d in \"$SUPERSKILLS_DIR\" ~\u002FSites\u002Fsuperskills ~\u002F.claude\u002Fskills\u002Fsuperskills ~\u002F.codex\u002Fskills\u002Fsuperskills .; do\n     [ -n \"$d\" ] && [ -x \"$d\u002Fscripts\u002Fcheck-upstream-drift.sh\" ] && { \"$d\u002Fscripts\u002Fcheck-upstream-drift.sh\"; break; }\n   done\n   ```\n\n   If none exists, do not drop the step quietly: record it in the §7 ledger as\n   *skipped: drift script not found (tried …)*.\n\n   Compares the vendored pentest tools against their upstreams: Shannon's\n   vendored tag vs the latest stable tag, and clearwing's installed commit\n   vs its vendored pin vs upstream HEAD (by **commit** — upstream's version\n   string is ambiguous). Report its output verbatim in the findings table.\n   It never upgrades anything — when it reports an upgrade available, that is\n   a **Suggestion** with the exact `scripts\u002Fsync-*.sh` command it prints, and\n   the sync's contract tests decide whether the upgrade is safe. Offline\n   probes print \"unverified\"; report that as unverified, never as current.\n\n## Step 5: Performance \u002F benchmark regression\n\nGoal: compare recent changes to existing benchmarks\u002Ftraces; flag regressions.\n\n1. Look for benchmark or trace artifacts:\n   - `benchmark\u002F`, `bench\u002F`, `perf\u002F`, `*.bench.*` test files\n   - CI artifacts containing timings, flamegraphs, or `criterion`\u002F`pytest-benchmark` output\n   - traces stored under `traces\u002F` or referenced in `CLAUDE.md`\n2. If found, diff the latest run's numbers against the previous baseline\n   for files touched in the window (the changed-file list from Step 3).\n   Report each regression as:\n   - metric name, baseline, current, delta %, commit SHA suspected\n3. If no benchmarks\u002Ftraces exist for the touched code paths, write:\n   *\"No measurements found for: \u003Cpaths>\"*. Suggest 1–2 specific things\n   to measure next (e.g., \"add a microbench for `X.foo` — hot path\n   per commit abc123\"). **Do not estimate impact without numbers.**\n\nFor deeper analysis on a single hotspot, recommend the user run\n`\u002Fperf-profile` or `\u002Fdb-optimize`.\n\n## Step 6: Untested-path detection\n\nGoal: identify code paths added\u002Fchanged in the window that lack tests;\ndraft small, focused tests.\n\n1. For each file changed in the window, locate its test file via repo\n   convention (sibling `*.test.*`, parallel `tests\u002F` tree, etc.).\n2. Use coverage data if available (`coverage\u002F`, `lcov.info`,\n   `.coverage`). If absent, fall back to a structural check: new\n   exported functions \u002F new branches in `if`\u002F`switch` \u002F new error paths\n   without a corresponding assertion in any test file.\n3. For each gap, draft **one** small test that:\n   - fails on the pre-change code (cite the prior SHA)\n   - passes on the current code\n   - touches only the changed surface — no broad refactors of test setup\n4. **Do not create PRs automatically.** If the user has a `yeet`-style\n   draft-PR tool wired up, suggest the exact command; otherwise output\n   the test files as a code block and let the user apply them.\n\nThis step is a **report-only draft** — it never applies the tests it drafts.\nTo actually **close** the gaps found here — including edge\u002Fcorner cases and\npast-regression coverage beyond what a single drafted test covers — recommend\n`\u002Ftest-coverage`, which writes and applies the missing tests and enforces\nGoogle's Testing on the Toilet best practices on them.\n\nIf pursuing TDD-style follow-up, recommend `\u002Ftdd`. To verify a fix\nactually works in the running app, recommend `\u002Fverify`.\n\n## Step 7: Scoped deep-dives (triggered)\n\nAfter Steps 2–6 produce the changed-file list for the window, decide\n**per-section** whether to invoke a heavier command on the narrowed scope.\nThe goal is high-signal automation without daily noise.\n\n### 7a. `\u002Fdb-optimize` — auto-run if triggered\n\nTrigger when changed files match any of:\n- ORM models, migrations, query builders (e.g. `**\u002Fmodels\u002F**`,\n  `**\u002Fmigrations\u002F**`, `**\u002Fqueries\u002F**`, `**\u002F*repository*`, `**\u002F*.sql`)\n- raw SQL strings introduced in the diff (`grep -E \"SELECT|INSERT|UPDATE|DELETE\"` on diff)\n- new ORM calls (`.find`, `.where`, `.includes`, `.join`, `.preload`, etc.)\n  in the diff\n\nFolder names are only examples (a Python repo keeps its database code in\n`schema.py`, `statements.py`). Decide with the shared helper, not by eye.\n(The helper loops in this file and in `\u002Fqa-full` are deliberately repeated\nper section instead of shared out: each section stays self-contained, and a\nshared reference would add one more read to every run.)\n\n```bash\nfor d in \"$SUPERSKILLS_DIR\" ~\u002FSites\u002Fsuperskills ~\u002F.claude\u002Fskills\u002Fsuperskills ~\u002F.codex\u002Fskills\u002Fsuperskills .; do\n  [ -n \"$d\" ] && [ -x \"$d\u002Fscripts\u002Fqa-triggers.sh\" ] && { \"$d\u002Fscripts\u002Fqa-triggers.sh\" db \u003Cdiff-ref>; break; }\ndone\n```\nExit 0 lists the matching files: the check is triggered. Exit 1 means nothing\nmatched: quote its \"searched ...\" line in the ledger row as the not-triggered\nevidence. If the script is not found, fall back to the patterns above and still\ngrep the diff for SQL and for template\u002FUI files before writing *not triggered*.\n\nAction: invoke `\u002Fdb-optimize` **scoped to the matched files only**.\nFold its findings into the report under §4a \"DB hotspots (auto-run)\".\nIf no trigger matched: do not run it, but record *not triggered* in the §7 ledger with the patterns you checked. A trigger that matched and was not run is a defect (see the ledger rule).\n\n### 7b. `\u002Fdefense` — always auto-run (basic OWASP sweep)\n\n`\u002Fdefense` is the OWASP Top 10 \u002F secrets \u002F auth \u002F crypto \u002F data-protection\nreview. It reads code only — no external tools, no auth prompt — so it's\nsafe to run on every daily-qa.\n\nAction: invoke `\u002Fdefense` **scoped to all files changed in the window**\n(not the whole repo — keep it fast and signal-dense). If zero code files\nchanged, skip.\n\nFold findings into the report under §4b \"OWASP \u002F defense (auto-run)\" with\nseverity (CRITICAL \u002F HIGH \u002F MEDIUM \u002F LOW) and file:line references as\n`\u002Fdefense` produces them. Only include CRITICAL and HIGH in the executive\nsummary; MEDIUM and LOW go in the report body.\n\n### 7c. `\u002Fpentest` — recommend only (do not auto-run)\n\n`\u002Fpentest` defaults to an in-harness source-code hunt (the session's own\nmodel) but still requires an interactive authorization confirmation, and its\ndeeper modes — live network probes, fuzzing-backed hunts, SARIF output — run\nthrough the external [clearwing](https:\u002F\u002Fgithub.com\u002FLazarus-AI\u002Fclearwing)\nscanner, which configures its own LLM provider and bills it per run. All of\nthat is the wrong shape for unattended daily runs.\n\n**Recommend** `\u002Fpentest` when any of:\n- `\u002Fdefense` flagged CRITICAL or HIGH in §4b\n- dependency manifest changes in Step 4 introduced unfamiliar packages\n- auth, crypto, session, token, deserialization, or file-upload code paths\n  changed in the window\n- **infrastructure \u002F deploy config** changed (`Dockerfile`, `docker-compose*`,\n  `**\u002F*.tf`, `k8s`\u002F`helm` manifests, `.github\u002Fworkflows\u002F**`, nginx\u002Fcaddy\u002Fcloud\n  config) — a commonly-forgotten attack surface (exposed ports, broad IAM,\n  baked-in secrets). `\u002Fiac-scan` (§7i) auto-runs the static misconfig scan and\n  `\u002Fdefense` (§4b) sweeps for secrets; recommend `\u002Fpentest` only as the deeper\n  hunt when those surface HIGH\u002FCRITICAL.\n\nOutput the exact command (`\u002Fpentest`) plus the scoped path list. User\nconfirms authorization and runs it themselves.\n\n### 7d. `\u002Fqa` — auto-run if frontend changed (report-only)\n\nFrontend changes always get a browser pass. Trigger when changed files include\nUI\u002Ffrontend code (`**\u002F*.tsx`, `**\u002F*.jsx`, `**\u002F*.vue`, `**\u002F*.svelte`,\n`**\u002Fcomponents\u002F**`, `**\u002Fpages\u002F**`, `app\u002F**\u002Fpage.tsx`, `**\u002F*.css`, route handlers\nserving HTML), or when Step 3 found a bug signature in a user-facing path, or\nStep 2 found a failing e2e\u002Fbrowser test.\n\nServer-rendered templates (Jinja, ERB, Blade, Twig, plain `.html`) and\nstatic JS\u002FCSS count as UI. Decide with the shared helper, not by eye:\n\n```bash\nfor d in \"$SUPERSKILLS_DIR\" ~\u002FSites\u002Fsuperskills ~\u002F.claude\u002Fskills\u002Fsuperskills ~\u002F.codex\u002Fskills\u002Fsuperskills .; do\n  [ -n \"$d\" ] && [ -x \"$d\u002Fscripts\u002Fqa-triggers.sh\" ] && { \"$d\u002Fscripts\u002Fqa-triggers.sh\" ui \u003Cdiff-ref>; break; }\ndone\n```\nExit 0 lists the matching files: the check is triggered. Exit 1 means nothing\nmatched: quote its \"searched ...\" line in the ledger row as the not-triggered\nevidence. If the script is not found, fall back to the patterns above and still\ngrep the diff for SQL and for template\u002FUI files before writing *not triggered*.\n\nAction: invoke `\u002Fqa-only` (the report-only variant: it drives the browser and\nreports, and does not edit code, so it fits a sweep that never applies fixes)\nscoped to the routes the changed files serve, against the project's dev URL\n(check `CLAUDE.md` or the `dev` script, e.g. `http:\u002F\u002Flocalhost:3000`).\nFold the result into report §4d \"Browser QA (auto-run \u002Fqa-only)\".\n\nIf the app is not reachable, try the project's documented start command once.\nIf it still is not up, do NOT skip silently: record *skipped: app not reachable\nat \u003Curl>* in the §7 ledger, list the changed routes, and put the exact\n`\u002Fqa` command in the recommended follow-ups. Fixing what `\u002Fqa-only` finds is\nthe user's call: recommend `\u002Fqa` for that.\n\n### 7e. `\u002Fweb-perf` — recommend only (do not auto-run)\n\n`\u002Fweb-perf` uses Chrome DevTools MCP to measure Core Web Vitals (LCP, INP,\nCLS) and trace render-blocking resources, layout shifts, and network\ndependency chains against a **live running app**. It requires the\n`chrome-devtools` MCP server and a URL to hit — wrong shape for unattended\nruns, but high-signal when frontend code changed.\n\n**Trigger** — recommend when any of:\n- changed files include frontend code (`**\u002F*.tsx`, `**\u002F*.jsx`, `**\u002F*.vue`,\n  `**\u002F*.svelte`, `**\u002Fcomponents\u002F**`, `**\u002Fpages\u002F**`, `**\u002Fstyles\u002F**`,\n  `**\u002F*.css`, `**\u002F*.scss`, layout\u002Frouting files)\n- new images, fonts, or static assets added in the diff\n- `next.config.*`, `vite.config.*`, `webpack.config.*`, or other bundler\n  config changed (can affect bundle size and load time)\n- Step 3 (bug scan) surfaced a bug-signature in a render path or data-fetching hook\n\n**Output** — recommend the exact command:\n\n```\n\u002Fweb-perf\n```\n\nInclude the list of changed frontend files so the user can scope the audit\nto the affected routes. If the project has a local dev URL (check\n`CLAUDE.md` or common config like `package.json` `\"dev\"` script), include it\nas context: e.g. _\"Run `\u002Fweb-perf` against `http:\u002F\u002Flocalhost:3000` — changed\nfiles: `src\u002Fcomponents\u002FHero.tsx`, `app\u002Fpage.tsx`\"_.\n\n### 7f. `\u002Fcso` — recommend only (threat-model backstop)\n\n`\u002Fcso` is OWASP Top 10 + STRIDE **threat modeling** — a **design-time** activity\nwhose real home is `\u002Fwrite-plan`. daily-qa is post-merge, so this is only a\n**backstop**: it catches a trust-boundary change that shipped without a threat\nmodel.\n\n**Recommend** `\u002Fcso` when a commit in the window introduces a new trust boundary\nand the commit\u002FPR shows no sign threat modeling happened:\n- new auth\u002Fauthz flow, new public endpoint, new external integration or webhook\n- new deserialization, file upload, or handling of PII\u002Fpayments\u002Fcredentials\n- a new service-to-service or cross-tenant path\n\nOutput the exact command and note: *\"threat modeling belongs at plan time\n(`\u002Fwrite-plan` → `\u002Fcso`) — run it now if it was skipped.\"* Don't recommend it for\nchanges that cross no trust boundary.\n\n### 7g. `\u002Fdesign-audit` — recommend only (visual + accessibility), alongside `\u002Fqa`\n\nVisual consistency, hierarchy, AI-slop tells, and **accessibility** are an\neasily-forgotten layer. For any **frontend feature**, the design pass belongs\n*alongside* the functional pass: recommend **`\u002Fdesign-audit`** (read-only visual\n+ a11y audit → design plan) **together with `\u002Fqa`** (§7d, functional browser QA)\n— *does it look right* + *does it work*. Trigger when changed files include UI\n(`**\u002F*.tsx`, `**\u002F*.jsx`, `**\u002F*.vue`, `**\u002F*.svelte`, `**\u002Fcomponents\u002F**`,\n`**\u002Fpages\u002F**`, `**\u002Fstyles\u002F**`, `**\u002F*.css`). Output both commands scoped to the\nchanged UI files, and pair with `\u002Fweb-perf` (§7e) — together they cover\nwork + perf + a11y + visual.\n\n`\u002Fdesign-audit` only *finds and plans* (read-only). To **fix** what it flags,\nrecommend **`\u002Fdesign-review`** as the follow-up — it edits source and commits\natomically, so the user runs it deliberately, not as part of the sweep.\n\n### 7h. `\u002Fa11y` — recommend only (screen reader + WCAG)\n\nAccessibility regressions are silent — they don't fail a build, they fail a\nscreen-reader or keyboard user. `\u002Fa11y`'s dynamic pass needs a running app (wrong\nshape for an unattended sweep), so **recommend** it — but only on **heavy frontend\nchanges likely to break assistive tech**, not every style tweak. Trigger when the\nwindow's UI diff touches any of:\n- new\u002Fchanged **interactive components** (buttons, menus, dialogs, tabs, comboboxes)\n- **forms** (inputs, labels, validation\u002Ferror messaging)\n- **ARIA** \u002F `role=` \u002F `tabindex` \u002F focus or keyboard handling (`onKeyDown`, `focus()`)\n- **images\u002Ficons** (alt text) or **color\u002Fcontrast** changes conveying state\n- **motion \u002F animation** (autoplay, transitions, parallax — reduced-motion)\n\n(See `\u002Fa11y`'s trigger section for the authoritative list.) Output `\u002Fa11y` scoped to\nthe changed UI files, alongside the `\u002Fdesign-audit` + `\u002Fqa` recommendations\n(§7g, §7d). Skip it for pure spacing\u002Fcopy CSS changes.\n\n### 7i. `\u002Fiac-scan` — auto-run if triggered (infra misconfig)\n\nTrigger when changed files include infrastructure\u002Fdeploy config: `Dockerfile`,\n`docker-compose*`, `*.tf`\u002F`*.tfvars`, Kubernetes\u002FHelm manifests, `.github\u002Fworkflows\u002F**`,\n`Jenkinsfile`, nginx\u002Fcloud config.\n\nAction: invoke `\u002Fiac-scan` **scoped to the matched infra files** — it's static and\nread-only (uses tfsec\u002Fcheckov\u002Fhadolint\u002Factionlint if installed, signature checks\notherwise), so it's safe to auto-run like `\u002Fdefense`. Fold findings into the report\nunder §4c \"Infra misconfig (auto-run \u002Fiac-scan)\" with severity and file:line. Only\nCRITICAL\u002FHIGH go in the executive summary. If no infra files changed, record *not triggered* in the §7 ledger.\nFor a deeper hunt after HIGH\u002FCRITICAL, recommend `\u002Fpentest` (§7c).\n\n### 7j. `\u002Fhumanize` — recommend only (prose drift)\n\nDoc-heavy commits land from every branch, and merged prose is exactly what the\nper-branch pipelines never re-check. Recommend `\u002Fhumanize` when commits in the\nwindow added or modified user-facing copy: documentation, help prose,\nmarketing pages, locale strings, or visible UI text (any file type\n`skills\u002Fhumanize\u002Ftoolkit\u002Fuserfacing.py classify \u003Cpath>` does not call\n`none`). Internal prompts, agent instructions, plans, and code comments are out of scope.\nAlso exclude changelogs, vendored\u002Fmirrored trees, and generated files (that\nwording is deliberate or upstream's). It edits, not just reports, and rewrites\nvoice, so it never auto-runs unattended.\n\nInclude the list of changed prose files so the user can scope the pass, and\nstate it as a suggestion with the files as context: e.g. _\"Run `\u002Fhumanize` on\n`docs\u002Fbilling.md` and `README.md` — the window's commits touched them and the\nprose has not been swept.\"_\n\n### 7k. `\u002Feval` — recommend only (AI-behavior drift)\n\nCommits in the window that redefine AI behavior are behavior changes, and\nunattended sweeps cannot measure behavior. Judge by content, not filename: a\nprompt string edited inside code, a retrieval parameter, a judge rubric, or an\nagent-loop change is a behavior change even when the file is ordinary source;\nobvious signals are prompts, skill or agent instruction files, and LLM\u002FRAG\npipeline code or configuration. Recommend `\u002Feval` with the changed files\nlisted, stating that the run costs model calls and is launched by the user.\nNever auto-run it: the spend needs a human yes.\n\n### 7l. Other related commands — recommend only\n\n- `\u002Fcode-review ultra` — when Step 3's local `\u002Fcode-review` (or a CI failure)\n  surfaced a high-stakes correctness concern that warrants a deep multi-agent\n  cloud review. The `ultra` tier is billed and user-triggered, so never\n  auto-run it — output the exact command and let the user launch it.\n- `\u002Freview` — staff-level production-readiness review; heavier and more\n  architectural than the Step 3 `\u002Fcode-review` pass. Recommend when a commit in\n  the window is architecturally significant or touches a critical path.\n- `\u002Fdebug` — when Step 2 (CI) or Step 3 (bug scan) has a single high-value\n  failure to root-cause.\n- `\u002Fperf-profile` — when Step 5 flags a regression but lacks measurements.\n- `\u002Fverify` — when a fix from this report is ready to confirm.\n- `\u002Ftdd` — when expanding Step 6 coverage into a real feature.\n- `\u002Ftest-coverage` — writes and applies the tests Step 6 only drafts; recommend\n  when the untested-path list is worth closing now rather than just noting.\n- `\u002Ffinish-branch` \u002F `\u002Fship` — when a fix is ready to land.\n\n### 7z. The §7 ledger (mandatory)\n\nEvery §7 step gets one row in the report, whether or not it ran. Silence is not\nan allowed status. Statuses:\n\n- **ran**: link to the section holding its result.\n- **not triggered**: the trigger patterns you checked and that none matched.\n- **skipped**: it was triggered but did not run, with the concrete reason\n  (tool missing, app unreachable, authorization needed, window empty).\n- **recommended**: recommend-only steps whose trigger matched.\n\nBefore writing the report, compute the changed-file list once and match it\nagainst every trigger in §7a to §7l, including the Step 4 drift script. A step\nwhose trigger matched but whose status is not *ran* or *skipped (reason)* means\nthe sweep is incomplete: go back and run it. Auto-run steps (§7a, §7b, §7d, §7i)\nmay only be *skipped* for a reason a reader can verify.\n\n## Step 8: Report format\n\nWrite to `daily-qa-reports\u002FYYYY-MM-DD.md` (create the directory if\nneeded; add to `.gitignore` if appropriate). Structure:\n\n```markdown\n# Daily QA — \u003CYYYY-MM-DD>\n\nWindow: \u003Cfrom> → \u003Cto>\nCommits scanned: N\nCI runs scanned: N\n\n## 1. CI failures & flaky tests\n- Observed failures: …\n- Suspected flakes: …\n- Top fixes: …\n\n## 2. Recent-commit bug scan (auto-run \u002Fcode-review)\n- Observed: …\n- Suspected: …\n- (or) No findings.\n\n## 3. Dependency \u002F SDK drift\n- Safe bumps: …\n- Major bumps (breaking risk): …\n- SDK drift: …\n\n## 4. Performance regressions\n- Observed: …\n- No-measurement gaps: …\n\n### 4a. DB hotspots (auto-run \u002Fdb-optimize)\n- (only if triggered; otherwise omit section)\n\n### 4b. OWASP \u002F defense (auto-run \u002Fdefense)\n- CRITICAL: …\n- HIGH: …\n- MEDIUM \u002F LOW: …\n- (omit subsection only if no code files changed)\n\n### 4c. Infra misconfig (auto-run \u002Fiac-scan)\n- CRITICAL \u002F HIGH: …\n- (only if infra\u002Fdeploy config changed; otherwise omit section)\n\n### 4d. Browser QA (auto-run \u002Fqa-only)\n- \u003Cresult, or skipped: reason>\n\n## 5. Untested paths\n- Drafted tests: file paths + summary\n- Coverage gaps without drafts: …\n\n## 6. §7 ledger\n| Step | Status | Detail |\n|---|---|---|\n| 4.6 drift script | ran \u002F skipped (reason) | … |\n| 7a \u002Fdb-optimize | ran \u002F not triggered \u002F skipped | … |\n| 7b \u002Fdefense | … | … |\n| 7c \u002Fpentest | recommended \u002F not triggered | … |\n| 7d \u002Fqa-only | … | … |\n| 7e–7l | … | … |\n\n## Recommended next actions\n1. …\n2. …\n\n## Recommended follow-up commands\n- `\u002Fcode-review ultra` — (only if Step 3 found a high-stakes correctness concern)\n- `\u002Freview` — (only if a change is architecturally significant \u002F critical-path)\n- `\u002Fcso` — (only if a trust-boundary change shipped without a threat model)\n- `\u002Fweb-perf` — (only if frontend files changed; include affected routes and dev URL)\n- `\u002Fdesign-audit` + `\u002Fqa` — (only if UI changed; visual\u002Fa11y audit alongside functional QA)\n- `\u002Fa11y` — (only if heavy UI likely to affect screen-reader\u002Fkeyboard\u002Fcontrast)\n- `\u002Fdesign-review` — (to fix what `\u002Fdesign-audit`\u002F`\u002Fa11y` flag; mutates + commits)\n- `\u002Fpentest` — (only if \u002Fdefense or \u002Fiac-scan found CRITICAL\u002FHIGH, or auth\u002Fcrypto changed — NOT on a bare infra change; \u002Fiac-scan §4c already covers that statically)\n- `\u002Fqa` — (to fix what the auto-run `\u002Fqa-only` found, or when it was skipped because the app was unreachable)\n- `\u002Ftest-coverage` — (only if Step 6's untested-path list is worth closing now; writes and applies the drafted tests)\n```\n\nPrint the report path and a 5-line executive summary to the chat.\nUpdate `.daily-qa-last-run`.\n\n## Anti-patterns (do not do)\n\n- Listing \"potential issues\" without a SHA, file, log line, or version.\n- Proposing a refactor because the code \"could be cleaner.\"\n- Guessing a target dep version because \"x.y.z is probably current.\"\n- Claiming a perf regression without a measurement to back it.\n- Opening PRs or pushing branches as part of this command.\n- Bundling unrelated fixes into one finding.\n\n## Related commands\n\nAuto-invoked (local, diff-only — no external tools or auth prompt, safe for daily):\n- `\u002Fcode-review` — the engine of the Step 3 commit bug scan (local `low`\u002F`medium`\u002F`high` tiers); findings populate report §2.\n- `\u002Fdefense` — always run on changed files (basic OWASP \u002F secrets \u002F auth \u002F crypto sweep).\n- `\u002Fiac-scan` — when infra\u002Fdeploy config changed (static misconfig scan); findings populate §4c.\n- `\u002Fdb-optimize` — when DB\u002FORM\u002FSQL files changed.\n\nRecommend-only (never auto-run):\n- `\u002Fcode-review ultra` — deep multi-agent cloud review; billed + user-triggered. Recommend when Step 3 surfaces a high-stakes correctness concern.\n- `\u002Freview` — staff-level production-readiness review; recommend for architecturally significant \u002F critical-path changes (heavier than the Step 3 `\u002Fcode-review`).\n- `\u002Fcso` — OWASP+STRIDE threat modeling; design-time (home is `\u002Fwrite-plan`). Backstop-recommend when a trust-boundary change shipped without a threat model.\n- `\u002Fpentest` — authorization-gated security hunt (in-harness pipeline by default; its clearwing integration can run agent-driven on the session via the bundled bridge, with only provider-driven runs billing their own provider); recommend when `\u002Fdefense` or `\u002Fiac-scan` finds HIGH\u002FCRITICAL, or sensitive code paths changed (a bare infra change is handled statically by auto-run `\u002Fiac-scan` §7i — pentest is only the deeper hunt on HIGH\u002FCRITICAL).\n- `\u002Fqa` — interactive browser QA; recommend when UI changed.\n- `\u002Fweb-perf` — Core Web Vitals + render trace against a live app (Chrome DevTools MCP); recommend when frontend files, assets, or bundler config changed.\n- `\u002Fdesign-audit` — read-only visual\u002Fa11y audit → design plan; recommend alongside `\u002Fqa` when UI changed.\n- `\u002Fa11y` — WCAG \u002F screen-reader \u002F keyboard audit; recommend on heavy UI changes likely to affect assistive tech (dynamic pass needs a dev URL).\n- `\u002Fdesign-review` — *fixes and commits* visual issues (mutates); recommend as the follow-up to apply what `\u002Fdesign-audit`\u002F`\u002Fa11y` flags.\n- `\u002Fdebug` — root-cause investigation for a specific failure.\n- `\u002Fperf-profile` — drill into a perf regression flagged in Step 5.\n- `\u002Fverify` — confirm a proposed fix works in the running app.\n- `\u002Ftdd` — write the failing test first when expanding Step 6 coverage.\n- `\u002Ftest-coverage` — *writes and applies* the missing unit\u002Fintegration\u002Fe2e\n  tests that Step 6 only drafts as a report; the fixer counterpart (`\u002Fqa-full`\n  Step 9 runs it automatically).\n- `\u002Ffinish-branch` \u002F `\u002Fship` — when a fix from this report is ready to land.\n",{"name":5,"version":44,"triggers":45,"description":52,"allowed-tools":53,"argument-hint":60},"1.0.0",[20,46,47,48,49,50,51],"daily repo check","daily repo qa","morning repo check","daily health report","check recent commits for bugs","daily ci review","Daily repo health check — scans recent commits, CI failures, dependency\ndrift, performance regressions, and untested code paths. Produces a\ngrounded report with evidence-only findings and minimal, scoped fixes.\nUse when asked to \"run daily QA\", \"daily repo check\", \"morning standup\nfor the repo\", \"daily health report\", or \"check recent commits for bugs\".\n",[31,54,55,56,57,58,59],"Read","Grep","Glob","Task","Skill","WebFetch","\u003Coptional: since timestamp, e.g. \"24h\", \"last-run\", \"2026-06-01\">","main","0c83bcd39257025e83644ad39728775e3acfb9c7","skills\u002Fdaily-qa",0,"https:\u002F\u002Fgithub.com\u002Fariadoss\u002Fsuperskills","https:\u002F\u002Fhyperion360.com\u002Fblog\u002Fparallel-ai-agents-engineering-workflow\u002F","https:\u002F\u002Fgithub.com\u002Fariadoss","https:\u002F\u002Fdanilosapad.com\u002F","CEO & Founder of @Hyperion360","2026-11-13 15:29:19",{"source":8,"skillName":5,"commands":72,"prompt":82,"zipAvailable":83},[73,76,79],{"tool":74,"command":75},"npx","npx skills add ariadoss\u002Fsuperskills --skill daily-qa",{"tool":77,"command":78},"bunx","bunx skills add ariadoss\u002Fsuperskills --skill daily-qa",{"tool":80,"command":81},"pnpm","pnpm dlx skills add ariadoss\u002Fsuperskills --skill daily-qa","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fariadoss\u002Fsuperskills\u002Fblob\u002Fmain\u002Fskills\u002Fdaily-qa\u002FSKILL.md",true,[],[86,94,115,138,157,181],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":93},"01M7BA1WJMQ1750P75JHPM4AHX","plan-eng-review","Eng manager-mode plan review. (gstack)","https:\u002F\u002Fgithub.com\u002Fariadoss\u002Fsuperskills\u002Fblob\u002Fmain\u002Fskills\u002Fplan-eng-review\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":39},"01M71AZE3MPF891RM354EMRYA1","youtube","Download YouTube video transcripts when user provides a YouTube URL or asks to download\u002Fget\u002Ffetch a transcript from YouTube. Also use when user wants to transcribe or get captions\u002Fsubtitles from a YouTube video.","https:\u002F\u002Fgithub.com\u002Fariadoss\u002Fsuperskills\u002Fblob\u002Fmain\u002Fskills\u002Fyoutube\u002FSKILL.md",[],[96,31,101,102,103,104,105,106,107,23,108,109,110,33,111,112,113,114],"download","user","transcripts","subtitles","use","transcribe","write","transcript","video transcripts","URL","Captions","get","fetch","Video",{"skillNo":116,"name":117,"nameZh":6,"description":118,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":119,"categories":120,"keywords":121,"publishedAt":39},"01M71AZAYR85PW6BJGSQXS4BN2","write-plan","Use when you have a spec or requirements for a multi-step task, before touching code. Produces an engineering plan complete with TDD tasks, DRY\u002FSOLID\u002FYAGNI principles, a required Test Plan & Verification section, and a coverage target — then auto-runs \u002Fplan-eng-review as an independent double-check before execution.","https:\u002F\u002Fgithub.com\u002Fariadoss\u002Fsuperskills\u002Fblob\u002Fmain\u002Fskills\u002Fwrite-plan\u002FSKILL.md",[],[122,123,107,124,125,28,126,127,128,129,130,29,131,33,132,133,134,135,136,137],"write plan","plan","verification","tasks","dry","you","yagni","as","target","section","auto","eng","coverage","test plan","complete","for",{"skillNo":139,"name":140,"nameZh":6,"description":141,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":142,"categories":143,"keywords":144,"publishedAt":39},"01M71AZ8NDDP5ZMGEE6FSC4FKR","worktrees","Use when starting feature work that needs isolation from current workspace or before executing implementation plans - creates isolated git worktrees with smart directory selection and safety verification","https:\u002F\u002Fgithub.com\u002Fariadoss\u002Fsuperskills\u002Fblob\u002Fmain\u002Fskills\u002Fworktrees\u002FSKILL.md",[],[140,145,146,147,148,149,150,151,152,153,154,124,155,33,156,105],"implementation","workspace","with","isolation","plans","feature","git","Safety","directory","work","git worktrees","selection",{"skillNo":158,"name":159,"nameZh":6,"description":160,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":161,"categories":162,"keywords":163,"publishedAt":39},"01M71AZ4ZQHTNWFRZVYHKQFP08","web-perf","Analyzes web performance using Chrome DevTools MCP. Measures Core Web Vitals (LCP, INP, CLS) and supplementary metrics (FCP, TBT, Speed Index), identifies render-blocking resources, network dependency chains, layout shifts, caching issues, and accessibility gaps. Use when asked to audit, profile, debug, or optimize page load performance, Lighthouse scores, or site speed. Biases towards retrieval from current documentation over pre-trained knowledge.","https:\u002F\u002Fgithub.com\u002Fariadoss\u002Fsuperskills\u002Fblob\u002Fmain\u002Fskills\u002Fweb-perf\u002FSKILL.md",[],[164,165,166,167,38,168,169,170,171,172,173,174,175,176,33,177,21,178,179,180],"perf","web perf","web","re","chrome devtools","vitals","never","resources","render","layout","optimize","documentation","caching","MCP","knowledge","devtools","issues",{"skillNo":182,"name":183,"nameZh":6,"description":184,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":185,"categories":186,"keywords":187,"publishedAt":39},"01M71AZ2KZNWYEGKKRMJH8PYG2","verify","Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always","https:\u002F\u002Fgithub.com\u002Fariadoss\u002Fsuperskills\u002Fblob\u002Fmain\u002Fskills\u002Fverify\u002FSKILL.md",[],[183,188,189,190,154,124,191,33,192,105,193,194,136,195,196],"claims","commands","about","output","assertions","claim","prs","evidence","running"]