[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6J42AW1QANJRYEYCX101CAE":3,"skill-same:01M6J42AW1QANJRYEYCX101CAE":90},{"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":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":43,"commitSha":44,"skillDirectory":45,"forksCount":14,"repositoryHtmlUrl":46,"repositoryHomepageUrl":6,"ownerHtmlUrl":47,"ownerBlogUrl":6,"ownerDescription":48,"updatedAt":49,"install":50,"resources":63},"01M6J42AW1QANJRYEYCX101CAE","brainstorm",null,"Multi-LLM concept-level brainstorming. Sends the user's topic to OpenAI\n(and optionally Gemini) so the user can compare independent perspectives\nalongside Claude's. Convergence is manual — Claude waits for the user\nto ask for synthesis instead of auto-merging the views. Supports model\nselection, repo-architecture context attachment (auto on arch topics),\na debate second round, depth budgets, session resume, extra context and\nartifact attachment, and saving keeper insights from prior rounds.\nTriggers on: \"brainstorm\", \"let's think about\", \"get other LLMs on this\",\n\"what would Gemini\u002FGPT say\", \"\u002Fbrainstorm\".\nFull command syntax: see the Usage section in this skill.","Lbstrydom\u002Fclaude-engineering-skills","Lbstrydom","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F77991486?v=4","01M6J3X4N2T0FTZT1RKFXDVS0K","Louis Strydom","01M6J3X4SXV0BXWDMXPW90D8BK",0,"MIT","https:\u002F\u002Fgithub.com\u002FLbstrydom\u002Fclaude-engineering-skills\u002Fblob\u002Fmain\u002Fskills\u002Fbrainstorm\u002FSKILL.md",[],[5,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"auto","session resume","multi-llm","convergence","insights","debate","arch","get","artifact","selection","llms","command","ask","perspectives","syntax","model","openai","model selection","architecture","2026-11-10 10:12:30",false,"---\nname: brainstorm\ndescription: |\n  Multi-LLM concept-level brainstorming. Sends the user's topic to OpenAI\n  (and optionally Gemini) so the user can compare independent perspectives\n  alongside Claude's. Convergence is manual — Claude waits for the user\n  to ask for synthesis instead of auto-merging the views. Supports model\n  selection, repo-architecture context attachment (auto on arch topics),\n  a debate second round, depth budgets, session resume, extra context and\n  artifact attachment, and saving keeper insights from prior rounds.\n  Triggers on: \"brainstorm\", \"let's think about\", \"get other LLMs on this\",\n  \"what would Gemini\u002FGPT say\", \"\u002Fbrainstorm\".\n  Full command syntax: see the Usage section in this skill.\n---\n\n> **Worktree preflight** — in a linked git worktree the synced tooling tree\n> `scripts\u002F.claude-skills\u002F` is absent — it is gitignored, so `git worktree add`\n> does not populate it, and every command below that uses it dies on a bare\n> `MODULE_NOT_FOUND`. Run `npm run skills:hydrate` first. If this repo defines\n> no such script, `references\u002Fworktree-preflight.md` holds the entry to add — ask\n> the user first, since it edits their `package.json`.\n\n## Usage\n\n```\nUsage:\n  \u002Fbrainstorm \u003Ctopic>                          # two voices (default — see below)\n  \u002Fbrainstorm --no-gemini \u003Ctopic>              # OpenAI only (alias: --openai-only)\n  \u002Fbrainstorm --models openai,gemini \u003Ctopic>   # explicit\n  \u002Fbrainstorm --with-arch \u003Ctopic>              # force-attach repo architecture context\n  \u002Fbrainstorm --no-arch \u003Ctopic>                # force-skip architecture context (default: auto-attach on arch topics)\n  \u002Fbrainstorm --debate \u003Ctopic>                 # second round where models react to each other\n  \u002Fbrainstorm --depth shallow|standard|deep \u003Ctopic>  # token budget per response\n  \u002Fbrainstorm --continue-from \u003Csid> \u003Ctopic>    # resume a prior session\n  \u002Fbrainstorm --with-context \"\u003Ctext>\" \u003Ctopic>  # attach extra context (repeatable)\n  \u002Fbrainstorm --with-artifact \u003Cpath> \u003Ctopic>   # attach the focal artifact verbatim (repeatable)\n  \u002Fbrainstorm save \u003Csid> \u003Cround> \"\u003Cinsight>\"   # record a keeper insight from a prior round\n```\n\n# \u002Fbrainstorm — Multi-LLM Brainstorming\n\n> **This skill's last line is an end marker naming the skill between em-dashes, after\n> the Reference files table.** If that last line is not in your context (context\n> compaction keeps only the start of a skill), re-read\n> `.claude\u002Fskills\u002Fbrainstorm\u002FSKILL.md` in full before continuing — the later steps still apply.\n\nYou're acting as the user's brainstorming partner alongside one or more\nexternal LLMs. Your job is to fetch the other models' views, present them\nfaithfully, add your own take, then **wait for the user to drive the\nconversation**. Do NOT auto-synthesise — that's the whole point of this\nskill.\n\n**Input**: `$ARGUMENTS` — `[flags] \u003Ctopic-or-question>`.\n\n\u003C!-- host-contract: input-acquisition; grammar=free-text; empty=ask-and-stop -->\n\n**Where `$ARGUMENTS` comes from** — orchestrator-supplied input first, else\nthe host's verbatim invocation suffix, else the span of the user's **current**\nmessage naming this skill or its subject. Never inferred from surrounding\nconversation. This site is `free-text`; on empty input, ask for the topic and stop — there is no default topic, and a guessed one spends provider budget on the wrong question.\nFull contract: `references\u002Finput-acquisition.md`.\n\n\n---\n\n## Step 0 — Parse Arguments\n\n**Mode detection**: if the first non-flag argv is `save`, switch to\nSAVE MODE (jump to §Step 5 below). Otherwise BRAINSTORM-ROUND mode.\n\n### Brainstorm-round flags\n\n| Flag | Default | Meaning |\n|---|---|---|\n| `--with-gemini` | — | Force the Gemini leg in; a no-op on the public default, meaningful on Azure |\n| `--no-gemini` \u002F `--openai-only` | off | Just the OpenAI voice — on Azure this also drops `azure-claude` |\n| `--models \u003Ccsv>` | profile-dependent (below) | Explicit list, honoured verbatim; `--no-gemini` still reduces it to `openai` |\n| `--openai-model \u003Cid>` | `latest-gpt` | OpenAI sentinel or concrete ID |\n| `--gemini-model \u003Cid>` | `latest-pro` | Gemini sentinel or concrete ID |\n| — | — | `azure-claude` has no model flag: it calls the deployment in `AZURE_FOUNDRY_CLAUDE_DEPLOYMENT` |\n| `--debate` | off | Run a SECOND round where each model reacts to the other's response. Doubles cost (~$0.05) and ~10s. Only meaningful when 2 providers AND both succeed in round 1. |\n| `--depth \u003Ctier>` | auto | Prose length asked for: `shallow` (150–250 words) \u002F `standard` (250–500) \u002F `deep` (600–1000). The output ceiling is derived from that plus reasoning headroom. Auto-promote to `deep` when topic mentions architecture\u002Fschema\u002Fmigration\u002Frefactor\u002Fdesign\u002F\"how should we structure\"\u002F\"what's the best approach\". |\n| `--continue-from \u003Csid>` | — | Resume from prior session id (assembles prior rounds as context per token budget). |\n| `--with-context \"\u003Ctext>\"` | — | Additional context (repeatable; max 8000 chars per flag, 24000 total). |\n| `--with-arch` | auto | Force-attach the repo's `AGENTS.md` `## Architecture` section so the external LLMs share Claude's codebase grounding. |\n| `--no-arch` | auto | Force-skip architecture context — unanchored greenfield ideation. |\n| `--with-artifact \u003Cpath>` | — | Attach the **focal artifact** verbatim — the plan\u002Fdiff\u002Fmodule the topic is actually about. Repeatable. Auto-attaches the policy pack. Sensitive paths are refused, never sent. |\n| `--no-policy` | off | Suppress the auto-attached policy pack (artifact only). |\n\n**Which two voices you get depends on the profile** — the default is \"two\nindependent views\", and which two is not a constant:\n\n| Profile | Default `--models` | Why |\n|---|---|---|\n| Public (`OPENAI_API_KEY` etc.) | `openai,gemini` | Two vendors, genuinely independent |\n| Azure work profile (`AZURE_OPENAI_ENDPOINT` set) | `openai,azure-claude` | There is no Gemini in an Azure tenant; Foundry Claude is the substitute, the same one the final reviewer makes |\n\nOn Azure, say plainly in the synthesis that the second voice is Claude on\nFoundry: it has no conversation history and its own system prompt, so it is a\nseparate view — but it is **not** the cross-vendor independence the public pair\ngives, and you should not present it as one.\n\n**Architecture context** auto-attaches on architecture-intent topics; `--with-arch`\n\u002F `--no-arch` force it on\u002Foff and are mutually exclusive (the helper errors if both\nare passed). → `references\u002Fartifact-context.md` §Architecture context — read when\ndeciding whether to override the auto-attach.\n\n**Focal artifact (`--with-artifact`) — reach for this first.** **Whenever the topic\nconcerns something that already exists, pass `--with-artifact \u003Cpath>`.** Do not\nparaphrase it into the topic; point at it. This is the single highest-value flag in\nthe skill. It also auto-attaches the repo **policy pack** (`--no-policy` suppresses\nit). → `references\u002Fartifact-context.md` §Why the focal artifact comes first \u002F\n§The policy pack \u002F §Budgets — read when the user questions why the artifact (not more\narchitecture) is attached, or what the policy pack and budgets contain.\n\n`--with-artifact` is an **egress seam** — it reads an operator-supplied\npath and sends it to OpenAI and Gemini. Sensitive paths, symlinks resolving\nto sensitive targets, and symlinks escaping the repo are refused and\nreported, never sent; secrets inside a permitted file are redacted. A\nrefusal never aborts the round — the other artifacts still go, and the\nrefusal is surfaced (contract: `tests\u002Fbrainstorm-artifact-context.test.mjs`).\n\n### Save mode (§Step 5)\n\n`\u002Fbrainstorm save \u003Csid> \u003Cround> \"\u003Cinsight-text>\"` — record a keeper insight\nfrom a prior round into `.brainstorm\u002Finsights\u002F\u003Ctopic-slug>\u002F`. Required:\nsid + round (which the skill prints in §Step 3). Procedure: §Step 5.\n\nStrip flags; in brainstorm-round mode the remainder is the **topic**. If\nempty, ask the user what they want to brainstorm and stop.\n\n---\n\n## Step 1 — Kickoff\n\nPrint a single-line kickoff (no resolution lookup — the helper resolves\nsentinels and reports back). Include the SID — the user will need it for\n`--continue-from` and `save` later.\n\n```\n═══════════════════════════════════════\n  \u002Fbrainstorm — Calling: openai[, gemini]\n  Sentinels: openai=latest-gpt | gemini=latest-pro\n  Session: \u003Csid>            ← print so the user can resume \u002F save later\n  Topic: \u003Cfirst 80 chars>...\n  Mode: round-1[ + debate][ continuing from \u003Cprev-sid>]\n  Calling providers…\n═══════════════════════════════════════\n```\n\n---\n\n## Step 2 — Invoke the helper via temp-file stdin\n\n**Write the topic to a repo-local temp file using the `Write` tool**, then\npipe it to the helper. Do NOT use a shell heredoc and do NOT interpolate\nthe topic into a command string — both are shell-injection \u002F delimiter-collision\nrisks (Plan v6 §2.1, Gemini-G1 v1+v2).\n\n1. Compute a session ID: `SID=$(date +%s%3N)` (epoch ms) — run via Bash.\n2. Use `Write` (Claude tool) to create the file:\n   - Path: `.claude\u002Ftmp\u002Fbrainstorm-$SID.txt`\n   - Content: the topic verbatim (no escaping, no transformation)\n3. Run the helper with stdin redirected from the file. Both topic and\n   output JSON live in repo-local `.claude\u002Ftmp\u002F` (gitignored, 0o600 — not\n   the world-readable OS `\u002Ftmp`):\n   ```bash\n   cat .claude\u002Ftmp\u002Fbrainstorm-$SID.txt | node scripts\u002Fbrainstorm-round.mjs --topic-stdin --sid $SID --out .claude\u002Ftmp\u002Fbrainstorm-$SID.json\n   ```\n   Optional flags, appended to the same command as needed: `--models\n   openai,gemini` (omit for the profile default, two voices), `--no-gemini`\n   (OpenAI only), `--openai-model` \u002F `--gemini-model` (a model id), `--depth\n   shallow|standard|deep`, `--debate`, `--continue-from` (a prior SID),\n   `--with-context \"...\"` (repeatable), `--with-arch` \u002F `--no-arch`,\n   `--with-artifact` (a path, repeatable — the focal object), `--no-policy`.\n   Pass through user-supplied `--debate` \u002F `--depth` \u002F `--continue-from` \u002F\n   `--with-context` \u002F `--with-arch` \u002F `--no-arch` flags; the helper\n   validates them. The helper auto-attaches architecture context on\n   architecture-intent topics without any flag — only forward `--with-arch`\n   \u002F `--no-arch` when the user explicitly asked. Always pass `--sid $SID`\n   so the helper writes to a session ledger you can resume from.\n4. Always clean up after rendering (Step 3) finishes — both files:\n   ```bash\n   rm -f .claude\u002Ftmp\u002Fbrainstorm-$SID.txt .claude\u002Ftmp\u002Fbrainstorm-$SID.json\n   ```\n\nThe helper exits 0 even when providers fail or are misconfigured — read the\nJSON output's per-provider `state` field, not the exit code, to know what\nworked. Only exit 1 means an argv error or helper bug; surface that to the\nuser verbatim.\n\n---\n\n## Step 3 — Render Per-Provider Blocks\n\nRead the JSON from `--out`. For each provider entry, render exactly one\nblock. Use the resolved model ID from the helper's `resolvedModels` field\nin the heading (e.g. `### OpenAI (gpt-5.x)` not `### OpenAI (latest-gpt)`).\nProvider display names: `openai` → **OpenAI**, `gemini` → **Gemini**,\n`azure-claude` → **Claude (Azure Foundry)** — name the host, so nobody reads it\nas the agent talking to itself.\n\nState-driven rendering (the helper guarantees one of these states per\nprovider):\n\n| State | Render |\n|---|---|\n| `success` | `### \u003CProvider> (\u003Cresolved-model>)`\u003Cbr>`\u003Ctext verbatim>` |\n| `misconfigured` | `### \u003CProvider>`\u003Cbr>`⚠ Not called: \u003CerrorMessage>` |\n| `timeout` | `### \u003CProvider> (\u003Cresolved-model>)`\u003Cbr>`⚠ Timeout after \u003ClatencyMs>ms. Try again or lower --max-tokens.` |\n| `http_error` | `### \u003CProvider> (\u003Cresolved-model>)`\u003Cbr>`⚠ HTTP \u003ChttpStatus>: \u003CerrorMessage>` |\n| `empty` | `### \u003CProvider> (\u003Cresolved-model>)`\u003Cbr>`⚠ Empty response (\u003CerrorMessage>).` |\n| `truncated` | `### \u003CProvider> (\u003Cresolved-model>)`\u003Cbr>`⚠ INCOMPLETE — \u003CerrorMessage>`\u003Cbr>then the partial `\u003Ctext>` verbatim. The errorMessage names the ceiling, how much of it thinking spent (when the provider reports it), and the remedy for this tier — at `deep` that is `--max-tokens`, not `--depth`; don't substitute your own. **Render the warning ABOVE the text, never below** — a fragment read as a finished view is the bug this state exists to prevent. Treat it as a partial view in any synthesis, and say so. |\n| `malformed` | `### \u003CProvider> (\u003Cresolved-model>)`\u003Cbr>`⚠ Malformed response: \u003CerrorMessage>` (path is in errorMessage) |\n| `blocked` | `### \u003CProvider> (\u003Cresolved-model>)`\u003Cbr>`⚠ Blocked by safety filter: \u003CerrorMessage>` |\n\nIf the JSON's `redactionCount > 0`, prepend a single line above the blocks:\n> ⚠ Redacted N secret pattern(s) from your topic before sending.\n\n**Architecture-context lines** (driven purely by envelope fields — never\ninspect argv):\n- If `archContextAttached` is `true`, prepend an info line above the blocks:\n  > ℹ Sent the repo's architecture summary (`archContextChars` chars) to the\n  > external models — pass `--no-arch` for an unanchored view.\n- If `artifactContext` is non-null, prepend one info line naming what the\n  models actually saw:\n  > ℹ Focal artifact(s) sent verbatim: `\u003Cpaths>`[ + repo policy pack].\n- If `artifactContext.refused` is non-empty, prepend a WARNING line per\n  refusal. **Never silently drop one** — the user must not believe the\n  models saw a file that was withheld:\n  > ⚠ Artifact refused (`\u003Creason>`): `\u003Cpath>` — NOT sent to the providers.\n- If `archContextWarning` is non-null, prepend it as a prominent warning\n  line (this fires only when the user explicitly passed `--with-arch` but\n  the section was unavailable):\n  > ⚠ `\u003CarchContextWarning>`\n\n**Error UX rule (§A8)**: when one provider fails (`misconfigured` \u002F\n`timeout` \u002F `http_error` \u002F `empty` \u002F `malformed` \u002F `blocked`), surface the\nfailure as a SINGLE LINE ABOVE the views — not as a peer-shaped block.\nExample:\n\n> ⚠ Gemini errored: HTTP 404 unknown-model — proceeding with OpenAI only.\n\nThen render the providers that returned `success` **or `truncated`** — a\ntruncated response is a partial view, not a failure, so it gets a full block\n(with its warning line) rather than being collapsed into a one-liner. If\nBOTH genuinely failed, render the two error lines and STOP (no Claude take,\nno synthesis prompt); `truncated` does NOT count as a failure for that test.\n\n### Debate block (only when JSON has non-empty `debate` array or non-null `debateSkipped`)\n\nRender a `### Debate round` block between the parallel views and Claude's take.\n**If `debateSkipped` is non-null, say so — do not render nothing**: render a\n`### Debate round — skipped` block with its `detail`. → `references\u002Fdebate-round.md`\n— read when the JSON has a non-empty `debate` array or a non-null `debateSkipped`,\nfor both templates and the per-`reason` wording.\n\nAfter all blocks (parallel + debate?), render a separator and your own take:\n\n```markdown\n---\n\n### Claude (my take)\n\u003Cyour independent perspective — 200–400 words. **DIFFER from theirs in\nsubstance, not be 'better'**. Look for what BOTH models missed. You're\na peer in this round, not a synthesiser. Don't recap what the others\nsaid; add what they missed or where you disagree.>\n```\n\nEnd with these lines:\n\n> **Session**: `\u003Csid>` round `\u003CN>`. Resume with\n> `\u002Fbrainstorm \u003Cnew-topic-or-refinement> --continue-from \u003Csid>`.\n> **Save an insight from this round**: `\u002Fbrainstorm save \u003Csid> \u003CN> \"\u003Cinsight>\"`.\n>\n> **Your call** — push back, refine, ask me to synthesise, or just let\n> the divergence sit. Say `\u002Fbrainstorm done` (or stop invoking) when done.\n\nThen **STOP**. No follow-up actions, no \"shall I implement this?\", no\nproactive synthesis. The user drives.\n\n---\n\n## Step 4 — Synthesis (When Asked OR When Implicit)\n\n**Don't restrict to literal keywords**. Judge synthesis-readiness from\nconversation cues. Examples that qualify (non-exhaustive): \"synthesise\",\n\"converge\", \"what should I do\", \"sum it up\", `\u002Fbrainstorm done`, \"is it\nworth\", \"should we\", \"what's your call\", \"ok let's continue\", \"is there\nmore value here\", any clear question about value\u002Fdecision\u002Fdirection.\n\n```markdown\n## Synthesis\n\n**Where we agree**: \u003Cbullets — only true convergence>\n**Where we diverge**: \u003Cbullets — and what the divergence reveals>\n**Raised by one voice only**: \u003Cbullets — each tagged with its source; keep the ones you disagree with>\n**Open questions**: \u003Cwhat the user still needs to decide>\n**My recommendation**: \u003Cone paragraph, opinionated>\n**Next concrete step**: \u003Cone sentence>\n```\n\nNever drop the *one voice only* row — a lone view is what a synthesis drops first.\n→ `references\u002Fsynthesis-and-capture.md` §Why the one-voice-only row — read when asked why the row exists.\n\n### Step 4.5 — Arm-eval capture (AUTOMATIC — no action)\n\nThe round helper fires capture itself. You do NOT run any `arm-eval-maybe-capture`\ncommand — doing so would double-capture. If the helper printed `arm-eval capture\ndispatched`, you may mention it in one line; otherwise say nothing.\n→ `references\u002Fsynthesis-and-capture.md` §Step 4.5 — read when the user asks what\nthe capture does or whether it affected the round.\n\n---\n\n## Step 5 — Save Mode (`\u002Fbrainstorm save \u003Csid> \u003Cround> \"\u003Cinsight>\"`)\n\nUser wants to capture a keeper insight from a prior round. Validate the\nsid and round exist (the helper checks too) then invoke the helper's\n`save` subcommand using the same stdin-file pattern as Step 2 (per\n§16.A — never interpolate user-supplied content into the bash command):\n\n1. `SID=$(date +%s%3N)` — fresh tmp ID for the save invocation files\n2. Use `Write` to create three files in `.claude\u002Ftmp\u002F`:\n   - `save-$SID-topic.txt` — the original topic from the round you're saving from (look it up in the rendered-history or pass through verbatim)\n   - `save-$SID-insight.txt` — the user's insight text verbatim\n3. Build the combined stdin file with the `---END-TOPIC---` delimiter:\n   ```bash\n   cat .claude\u002Ftmp\u002Fsave-$SID-topic.txt > .claude\u002Ftmp\u002Fsave-$SID-combined.txt\n   echo \"---END-TOPIC---\" >> .claude\u002Ftmp\u002Fsave-$SID-combined.txt\n   cat .claude\u002Ftmp\u002Fsave-$SID-insight.txt >> .claude\u002Ftmp\u002Fsave-$SID-combined.txt\n   ```\n4. Invoke the helper — `$ROUND_SID`\u002F`$ROUND_NUM` are the sid\u002Fround of the\n   *existing* brainstorm round you're saving from, not the fresh tmp `$SID`\n   above; `--tags` is optional, a comma-separated list:\n   ```bash\n   cat .claude\u002Ftmp\u002Fsave-$SID-combined.txt | node scripts\u002Fbrainstorm-round.mjs save --sid $ROUND_SID --round $ROUND_NUM --topic-stdin --insight-stdin\n   ```\n5. Clean up: `rm -f .claude\u002Ftmp\u002Fsave-$SID-*`\n6. Report the result path to the user (`{ok:true, path, slugUsed}` JSON\n   from the helper) — include the slug so they know where the file lives.\n\n---\n\n## Notes\n\n- **Repo-bound in v1** — this skill works only when invoked from a repo\n  that has the synced helper bundle (audit-loop, wine-cellar, ai-organiser).\n  Standalone install is a v2 task.\n- **Cost** — kickoff message includes a pre-call ceiling; final cost is\n  in the JSON's `totalCostUsd`. Typical round: $0.001–$0.05.\n- **No memory writes** — brainstorming is conversational scaffolding, not\n  durable state. Don't save to memory unless the user explicitly says\n  \"save this\".\n- **Anti-pattern**: do not rank the LLMs (\"Gemini gave the best answer\").\n  Present them as peers; the user judges.\n\n---\n\n## Reference files\n\nThis skill's canonical flow is above. The files below cover specialised\nsituations — read them only when the trigger applies.\n\n| File | Summary | Read when |\n|---|---|---|\n| `references\u002Finput-acquisition.md` | Where a skill's arguments come from on any host, and what to do when there are none. | Reading $ARGUMENTS on a host that does not substitute it, or deciding what empty input means at a site. |\n| `references\u002Fartifact-context.md` | Why --with-artifact beats more architecture context, what the policy pack attaches, and the context budgets. | Step 0 — deciding whether to override arch auto-attach, OR the user asks why\u002Fwhat the artifact and policy pack send. |\n| `references\u002Fdebate-round.md` | Step 3 debate rendering — the debate block template and the debateSkipped reasons and skipped-block template. | Step 3 — the helper JSON has a non-empty `debate` array or a non-null `debateSkipped`. |\n| `references\u002Fsynthesis-and-capture.md` | Why the synthesis keeps a one-voice-only row (dated A\u002FB), and how the automatic arm-eval capture behaves. | Step 4\u002F4.5 — asked why the one-voice row exists, OR what the arm-eval capture did. |\n| `references\u002Fworktree-preflight.md` | Worktree preflight remedy — the skills:hydrate npm script to add when a linked worktree lacks the tooling tree. | A command dies with `MODULE_NOT_FOUND` in a linked worktree AND this repo has no `skills:hydrate` script. |\n\n— end of \u002Fbrainstorm —\n","> **Worktree preflight** — in a linked git worktree the synced tooling tree\n> `scripts\u002F.claude-skills\u002F` is absent — it is gitignored, so `git worktree add`\n> does not populate it, and every command below that uses it dies on a bare\n> `MODULE_NOT_FOUND`. Run `npm run skills:hydrate` first. If this repo defines\n> no such script, `references\u002Fworktree-preflight.md` holds the entry to add — ask\n> the user first, since it edits their `package.json`.\n\n## Usage\n\n```\nUsage:\n  \u002Fbrainstorm \u003Ctopic>                          # two voices (default — see below)\n  \u002Fbrainstorm --no-gemini \u003Ctopic>              # OpenAI only (alias: --openai-only)\n  \u002Fbrainstorm --models openai,gemini \u003Ctopic>   # explicit\n  \u002Fbrainstorm --with-arch \u003Ctopic>              # force-attach repo architecture context\n  \u002Fbrainstorm --no-arch \u003Ctopic>                # force-skip architecture context (default: auto-attach on arch topics)\n  \u002Fbrainstorm --debate \u003Ctopic>                 # second round where models react to each other\n  \u002Fbrainstorm --depth shallow|standard|deep \u003Ctopic>  # token budget per response\n  \u002Fbrainstorm --continue-from \u003Csid> \u003Ctopic>    # resume a prior session\n  \u002Fbrainstorm --with-context \"\u003Ctext>\" \u003Ctopic>  # attach extra context (repeatable)\n  \u002Fbrainstorm --with-artifact \u003Cpath> \u003Ctopic>   # attach the focal artifact verbatim (repeatable)\n  \u002Fbrainstorm save \u003Csid> \u003Cround> \"\u003Cinsight>\"   # record a keeper insight from a prior round\n```\n\n# \u002Fbrainstorm — Multi-LLM Brainstorming\n\n> **This skill's last line is an end marker naming the skill between em-dashes, after\n> the Reference files table.** If that last line is not in your context (context\n> compaction keeps only the start of a skill), re-read\n> `.claude\u002Fskills\u002Fbrainstorm\u002FSKILL.md` in full before continuing — the later steps still apply.\n\nYou're acting as the user's brainstorming partner alongside one or more\nexternal LLMs. Your job is to fetch the other models' views, present them\nfaithfully, add your own take, then **wait for the user to drive the\nconversation**. Do NOT auto-synthesise — that's the whole point of this\nskill.\n\n**Input**: `$ARGUMENTS` — `[flags] \u003Ctopic-or-question>`.\n\n\u003C!-- host-contract: input-acquisition; grammar=free-text; empty=ask-and-stop -->\n\n**Where `$ARGUMENTS` comes from** — orchestrator-supplied input first, else\nthe host's verbatim invocation suffix, else the span of the user's **current**\nmessage naming this skill or its subject. Never inferred from surrounding\nconversation. This site is `free-text`; on empty input, ask for the topic and stop — there is no default topic, and a guessed one spends provider budget on the wrong question.\nFull contract: `references\u002Finput-acquisition.md`.\n\n\n---\n\n## Step 0 — Parse Arguments\n\n**Mode detection**: if the first non-flag argv is `save`, switch to\nSAVE MODE (jump to §Step 5 below). Otherwise BRAINSTORM-ROUND mode.\n\n### Brainstorm-round flags\n\n| Flag | Default | Meaning |\n|---|---|---|\n| `--with-gemini` | — | Force the Gemini leg in; a no-op on the public default, meaningful on Azure |\n| `--no-gemini` \u002F `--openai-only` | off | Just the OpenAI voice — on Azure this also drops `azure-claude` |\n| `--models \u003Ccsv>` | profile-dependent (below) | Explicit list, honoured verbatim; `--no-gemini` still reduces it to `openai` |\n| `--openai-model \u003Cid>` | `latest-gpt` | OpenAI sentinel or concrete ID |\n| `--gemini-model \u003Cid>` | `latest-pro` | Gemini sentinel or concrete ID |\n| — | — | `azure-claude` has no model flag: it calls the deployment in `AZURE_FOUNDRY_CLAUDE_DEPLOYMENT` |\n| `--debate` | off | Run a SECOND round where each model reacts to the other's response. Doubles cost (~$0.05) and ~10s. Only meaningful when 2 providers AND both succeed in round 1. |\n| `--depth \u003Ctier>` | auto | Prose length asked for: `shallow` (150–250 words) \u002F `standard` (250–500) \u002F `deep` (600–1000). The output ceiling is derived from that plus reasoning headroom. Auto-promote to `deep` when topic mentions architecture\u002Fschema\u002Fmigration\u002Frefactor\u002Fdesign\u002F\"how should we structure\"\u002F\"what's the best approach\". |\n| `--continue-from \u003Csid>` | — | Resume from prior session id (assembles prior rounds as context per token budget). |\n| `--with-context \"\u003Ctext>\"` | — | Additional context (repeatable; max 8000 chars per flag, 24000 total). |\n| `--with-arch` | auto | Force-attach the repo's `AGENTS.md` `## Architecture` section so the external LLMs share Claude's codebase grounding. |\n| `--no-arch` | auto | Force-skip architecture context — unanchored greenfield ideation. |\n| `--with-artifact \u003Cpath>` | — | Attach the **focal artifact** verbatim — the plan\u002Fdiff\u002Fmodule the topic is actually about. Repeatable. Auto-attaches the policy pack. Sensitive paths are refused, never sent. |\n| `--no-policy` | off | Suppress the auto-attached policy pack (artifact only). |\n\n**Which two voices you get depends on the profile** — the default is \"two\nindependent views\", and which two is not a constant:\n\n| Profile | Default `--models` | Why |\n|---|---|---|\n| Public (`OPENAI_API_KEY` etc.) | `openai,gemini` | Two vendors, genuinely independent |\n| Azure work profile (`AZURE_OPENAI_ENDPOINT` set) | `openai,azure-claude` | There is no Gemini in an Azure tenant; Foundry Claude is the substitute, the same one the final reviewer makes |\n\nOn Azure, say plainly in the synthesis that the second voice is Claude on\nFoundry: it has no conversation history and its own system prompt, so it is a\nseparate view — but it is **not** the cross-vendor independence the public pair\ngives, and you should not present it as one.\n\n**Architecture context** auto-attaches on architecture-intent topics; `--with-arch`\n\u002F `--no-arch` force it on\u002Foff and are mutually exclusive (the helper errors if both\nare passed). → `references\u002Fartifact-context.md` §Architecture context — read when\ndeciding whether to override the auto-attach.\n\n**Focal artifact (`--with-artifact`) — reach for this first.** **Whenever the topic\nconcerns something that already exists, pass `--with-artifact \u003Cpath>`.** Do not\nparaphrase it into the topic; point at it. This is the single highest-value flag in\nthe skill. It also auto-attaches the repo **policy pack** (`--no-policy` suppresses\nit). → `references\u002Fartifact-context.md` §Why the focal artifact comes first \u002F\n§The policy pack \u002F §Budgets — read when the user questions why the artifact (not more\narchitecture) is attached, or what the policy pack and budgets contain.\n\n`--with-artifact` is an **egress seam** — it reads an operator-supplied\npath and sends it to OpenAI and Gemini. Sensitive paths, symlinks resolving\nto sensitive targets, and symlinks escaping the repo are refused and\nreported, never sent; secrets inside a permitted file are redacted. A\nrefusal never aborts the round — the other artifacts still go, and the\nrefusal is surfaced (contract: `tests\u002Fbrainstorm-artifact-context.test.mjs`).\n\n### Save mode (§Step 5)\n\n`\u002Fbrainstorm save \u003Csid> \u003Cround> \"\u003Cinsight-text>\"` — record a keeper insight\nfrom a prior round into `.brainstorm\u002Finsights\u002F\u003Ctopic-slug>\u002F`. Required:\nsid + round (which the skill prints in §Step 3). Procedure: §Step 5.\n\nStrip flags; in brainstorm-round mode the remainder is the **topic**. If\nempty, ask the user what they want to brainstorm and stop.\n\n---\n\n## Step 1 — Kickoff\n\nPrint a single-line kickoff (no resolution lookup — the helper resolves\nsentinels and reports back). Include the SID — the user will need it for\n`--continue-from` and `save` later.\n\n```\n═══════════════════════════════════════\n  \u002Fbrainstorm — Calling: openai[, gemini]\n  Sentinels: openai=latest-gpt | gemini=latest-pro\n  Session: \u003Csid>            ← print so the user can resume \u002F save later\n  Topic: \u003Cfirst 80 chars>...\n  Mode: round-1[ + debate][ continuing from \u003Cprev-sid>]\n  Calling providers…\n═══════════════════════════════════════\n```\n\n---\n\n## Step 2 — Invoke the helper via temp-file stdin\n\n**Write the topic to a repo-local temp file using the `Write` tool**, then\npipe it to the helper. Do NOT use a shell heredoc and do NOT interpolate\nthe topic into a command string — both are shell-injection \u002F delimiter-collision\nrisks (Plan v6 §2.1, Gemini-G1 v1+v2).\n\n1. Compute a session ID: `SID=$(date +%s%3N)` (epoch ms) — run via Bash.\n2. Use `Write` (Claude tool) to create the file:\n   - Path: `.claude\u002Ftmp\u002Fbrainstorm-$SID.txt`\n   - Content: the topic verbatim (no escaping, no transformation)\n3. Run the helper with stdin redirected from the file. Both topic and\n   output JSON live in repo-local `.claude\u002Ftmp\u002F` (gitignored, 0o600 — not\n   the world-readable OS `\u002Ftmp`):\n   ```bash\n   cat .claude\u002Ftmp\u002Fbrainstorm-$SID.txt | node scripts\u002Fbrainstorm-round.mjs --topic-stdin --sid $SID --out .claude\u002Ftmp\u002Fbrainstorm-$SID.json\n   ```\n   Optional flags, appended to the same command as needed: `--models\n   openai,gemini` (omit for the profile default, two voices), `--no-gemini`\n   (OpenAI only), `--openai-model` \u002F `--gemini-model` (a model id), `--depth\n   shallow|standard|deep`, `--debate`, `--continue-from` (a prior SID),\n   `--with-context \"...\"` (repeatable), `--with-arch` \u002F `--no-arch`,\n   `--with-artifact` (a path, repeatable — the focal object), `--no-policy`.\n   Pass through user-supplied `--debate` \u002F `--depth` \u002F `--continue-from` \u002F\n   `--with-context` \u002F `--with-arch` \u002F `--no-arch` flags; the helper\n   validates them. The helper auto-attaches architecture context on\n   architecture-intent topics without any flag — only forward `--with-arch`\n   \u002F `--no-arch` when the user explicitly asked. Always pass `--sid $SID`\n   so the helper writes to a session ledger you can resume from.\n4. Always clean up after rendering (Step 3) finishes — both files:\n   ```bash\n   rm -f .claude\u002Ftmp\u002Fbrainstorm-$SID.txt .claude\u002Ftmp\u002Fbrainstorm-$SID.json\n   ```\n\nThe helper exits 0 even when providers fail or are misconfigured — read the\nJSON output's per-provider `state` field, not the exit code, to know what\nworked. Only exit 1 means an argv error or helper bug; surface that to the\nuser verbatim.\n\n---\n\n## Step 3 — Render Per-Provider Blocks\n\nRead the JSON from `--out`. For each provider entry, render exactly one\nblock. Use the resolved model ID from the helper's `resolvedModels` field\nin the heading (e.g. `### OpenAI (gpt-5.x)` not `### OpenAI (latest-gpt)`).\nProvider display names: `openai` → **OpenAI**, `gemini` → **Gemini**,\n`azure-claude` → **Claude (Azure Foundry)** — name the host, so nobody reads it\nas the agent talking to itself.\n\nState-driven rendering (the helper guarantees one of these states per\nprovider):\n\n| State | Render |\n|---|---|\n| `success` | `### \u003CProvider> (\u003Cresolved-model>)`\u003Cbr>`\u003Ctext verbatim>` |\n| `misconfigured` | `### \u003CProvider>`\u003Cbr>`⚠ Not called: \u003CerrorMessage>` |\n| `timeout` | `### \u003CProvider> (\u003Cresolved-model>)`\u003Cbr>`⚠ Timeout after \u003ClatencyMs>ms. Try again or lower --max-tokens.` |\n| `http_error` | `### \u003CProvider> (\u003Cresolved-model>)`\u003Cbr>`⚠ HTTP \u003ChttpStatus>: \u003CerrorMessage>` |\n| `empty` | `### \u003CProvider> (\u003Cresolved-model>)`\u003Cbr>`⚠ Empty response (\u003CerrorMessage>).` |\n| `truncated` | `### \u003CProvider> (\u003Cresolved-model>)`\u003Cbr>`⚠ INCOMPLETE — \u003CerrorMessage>`\u003Cbr>then the partial `\u003Ctext>` verbatim. The errorMessage names the ceiling, how much of it thinking spent (when the provider reports it), and the remedy for this tier — at `deep` that is `--max-tokens`, not `--depth`; don't substitute your own. **Render the warning ABOVE the text, never below** — a fragment read as a finished view is the bug this state exists to prevent. Treat it as a partial view in any synthesis, and say so. |\n| `malformed` | `### \u003CProvider> (\u003Cresolved-model>)`\u003Cbr>`⚠ Malformed response: \u003CerrorMessage>` (path is in errorMessage) |\n| `blocked` | `### \u003CProvider> (\u003Cresolved-model>)`\u003Cbr>`⚠ Blocked by safety filter: \u003CerrorMessage>` |\n\nIf the JSON's `redactionCount > 0`, prepend a single line above the blocks:\n> ⚠ Redacted N secret pattern(s) from your topic before sending.\n\n**Architecture-context lines** (driven purely by envelope fields — never\ninspect argv):\n- If `archContextAttached` is `true`, prepend an info line above the blocks:\n  > ℹ Sent the repo's architecture summary (`archContextChars` chars) to the\n  > external models — pass `--no-arch` for an unanchored view.\n- If `artifactContext` is non-null, prepend one info line naming what the\n  models actually saw:\n  > ℹ Focal artifact(s) sent verbatim: `\u003Cpaths>`[ + repo policy pack].\n- If `artifactContext.refused` is non-empty, prepend a WARNING line per\n  refusal. **Never silently drop one** — the user must not believe the\n  models saw a file that was withheld:\n  > ⚠ Artifact refused (`\u003Creason>`): `\u003Cpath>` — NOT sent to the providers.\n- If `archContextWarning` is non-null, prepend it as a prominent warning\n  line (this fires only when the user explicitly passed `--with-arch` but\n  the section was unavailable):\n  > ⚠ `\u003CarchContextWarning>`\n\n**Error UX rule (§A8)**: when one provider fails (`misconfigured` \u002F\n`timeout` \u002F `http_error` \u002F `empty` \u002F `malformed` \u002F `blocked`), surface the\nfailure as a SINGLE LINE ABOVE the views — not as a peer-shaped block.\nExample:\n\n> ⚠ Gemini errored: HTTP 404 unknown-model — proceeding with OpenAI only.\n\nThen render the providers that returned `success` **or `truncated`** — a\ntruncated response is a partial view, not a failure, so it gets a full block\n(with its warning line) rather than being collapsed into a one-liner. If\nBOTH genuinely failed, render the two error lines and STOP (no Claude take,\nno synthesis prompt); `truncated` does NOT count as a failure for that test.\n\n### Debate block (only when JSON has non-empty `debate` array or non-null `debateSkipped`)\n\nRender a `### Debate round` block between the parallel views and Claude's take.\n**If `debateSkipped` is non-null, say so — do not render nothing**: render a\n`### Debate round — skipped` block with its `detail`. → `references\u002Fdebate-round.md`\n— read when the JSON has a non-empty `debate` array or a non-null `debateSkipped`,\nfor both templates and the per-`reason` wording.\n\nAfter all blocks (parallel + debate?), render a separator and your own take:\n\n```markdown\n---\n\n### Claude (my take)\n\u003Cyour independent perspective — 200–400 words. **DIFFER from theirs in\nsubstance, not be 'better'**. Look for what BOTH models missed. You're\na peer in this round, not a synthesiser. Don't recap what the others\nsaid; add what they missed or where you disagree.>\n```\n\nEnd with these lines:\n\n> **Session**: `\u003Csid>` round `\u003CN>`. Resume with\n> `\u002Fbrainstorm \u003Cnew-topic-or-refinement> --continue-from \u003Csid>`.\n> **Save an insight from this round**: `\u002Fbrainstorm save \u003Csid> \u003CN> \"\u003Cinsight>\"`.\n>\n> **Your call** — push back, refine, ask me to synthesise, or just let\n> the divergence sit. Say `\u002Fbrainstorm done` (or stop invoking) when done.\n\nThen **STOP**. No follow-up actions, no \"shall I implement this?\", no\nproactive synthesis. The user drives.\n\n---\n\n## Step 4 — Synthesis (When Asked OR When Implicit)\n\n**Don't restrict to literal keywords**. Judge synthesis-readiness from\nconversation cues. Examples that qualify (non-exhaustive): \"synthesise\",\n\"converge\", \"what should I do\", \"sum it up\", `\u002Fbrainstorm done`, \"is it\nworth\", \"should we\", \"what's your call\", \"ok let's continue\", \"is there\nmore value here\", any clear question about value\u002Fdecision\u002Fdirection.\n\n```markdown\n## Synthesis\n\n**Where we agree**: \u003Cbullets — only true convergence>\n**Where we diverge**: \u003Cbullets — and what the divergence reveals>\n**Raised by one voice only**: \u003Cbullets — each tagged with its source; keep the ones you disagree with>\n**Open questions**: \u003Cwhat the user still needs to decide>\n**My recommendation**: \u003Cone paragraph, opinionated>\n**Next concrete step**: \u003Cone sentence>\n```\n\nNever drop the *one voice only* row — a lone view is what a synthesis drops first.\n→ `references\u002Fsynthesis-and-capture.md` §Why the one-voice-only row — read when asked why the row exists.\n\n### Step 4.5 — Arm-eval capture (AUTOMATIC — no action)\n\nThe round helper fires capture itself. You do NOT run any `arm-eval-maybe-capture`\ncommand — doing so would double-capture. If the helper printed `arm-eval capture\ndispatched`, you may mention it in one line; otherwise say nothing.\n→ `references\u002Fsynthesis-and-capture.md` §Step 4.5 — read when the user asks what\nthe capture does or whether it affected the round.\n\n---\n\n## Step 5 — Save Mode (`\u002Fbrainstorm save \u003Csid> \u003Cround> \"\u003Cinsight>\"`)\n\nUser wants to capture a keeper insight from a prior round. Validate the\nsid and round exist (the helper checks too) then invoke the helper's\n`save` subcommand using the same stdin-file pattern as Step 2 (per\n§16.A — never interpolate user-supplied content into the bash command):\n\n1. `SID=$(date +%s%3N)` — fresh tmp ID for the save invocation files\n2. Use `Write` to create three files in `.claude\u002Ftmp\u002F`:\n   - `save-$SID-topic.txt` — the original topic from the round you're saving from (look it up in the rendered-history or pass through verbatim)\n   - `save-$SID-insight.txt` — the user's insight text verbatim\n3. Build the combined stdin file with the `---END-TOPIC---` delimiter:\n   ```bash\n   cat .claude\u002Ftmp\u002Fsave-$SID-topic.txt > .claude\u002Ftmp\u002Fsave-$SID-combined.txt\n   echo \"---END-TOPIC---\" >> .claude\u002Ftmp\u002Fsave-$SID-combined.txt\n   cat .claude\u002Ftmp\u002Fsave-$SID-insight.txt >> .claude\u002Ftmp\u002Fsave-$SID-combined.txt\n   ```\n4. Invoke the helper — `$ROUND_SID`\u002F`$ROUND_NUM` are the sid\u002Fround of the\n   *existing* brainstorm round you're saving from, not the fresh tmp `$SID`\n   above; `--tags` is optional, a comma-separated list:\n   ```bash\n   cat .claude\u002Ftmp\u002Fsave-$SID-combined.txt | node scripts\u002Fbrainstorm-round.mjs save --sid $ROUND_SID --round $ROUND_NUM --topic-stdin --insight-stdin\n   ```\n5. Clean up: `rm -f .claude\u002Ftmp\u002Fsave-$SID-*`\n6. Report the result path to the user (`{ok:true, path, slugUsed}` JSON\n   from the helper) — include the slug so they know where the file lives.\n\n---\n\n## Notes\n\n- **Repo-bound in v1** — this skill works only when invoked from a repo\n  that has the synced helper bundle (audit-loop, wine-cellar, ai-organiser).\n  Standalone install is a v2 task.\n- **Cost** — kickoff message includes a pre-call ceiling; final cost is\n  in the JSON's `totalCostUsd`. Typical round: $0.001–$0.05.\n- **No memory writes** — brainstorming is conversational scaffolding, not\n  durable state. Don't save to memory unless the user explicitly says\n  \"save this\".\n- **Anti-pattern**: do not rank the LLMs (\"Gemini gave the best answer\").\n  Present them as peers; the user judges.\n\n---\n\n## Reference files\n\nThis skill's canonical flow is above. The files below cover specialised\nsituations — read them only when the trigger applies.\n\n| File | Summary | Read when |\n|---|---|---|\n| `references\u002Finput-acquisition.md` | Where a skill's arguments come from on any host, and what to do when there are none. | Reading $ARGUMENTS on a host that does not substitute it, or deciding what empty input means at a site. |\n| `references\u002Fartifact-context.md` | Why --with-artifact beats more architecture context, what the policy pack attaches, and the context budgets. | Step 0 — deciding whether to override arch auto-attach, OR the user asks why\u002Fwhat the artifact and policy pack send. |\n| `references\u002Fdebate-round.md` | Step 3 debate rendering — the debate block template and the debateSkipped reasons and skipped-block template. | Step 3 — the helper JSON has a non-empty `debate` array or a non-null `debateSkipped`. |\n| `references\u002Fsynthesis-and-capture.md` | Why the synthesis keeps a one-voice-only row (dated A\u002FB), and how the automatic arm-eval capture behaves. | Step 4\u002F4.5 — asked why the one-voice row exists, OR what the arm-eval capture did. |\n| `references\u002Fworktree-preflight.md` | Worktree preflight remedy — the skills:hydrate npm script to add when a linked worktree lacks the tooling tree. | A command dies with `MODULE_NOT_FOUND` in a linked worktree AND this repo has no `skills:hydrate` script. |\n\n— end of \u002Fbrainstorm —\n",{"name":5,"description":7},"main","938efbef34b7c76f0d112f336d1ac4018224d186","skills\u002Fbrainstorm","https:\u002F\u002Fgithub.com\u002FLbstrydom\u002Fclaude-engineering-skills","https:\u002F\u002Fgithub.com\u002FLbstrydom","Studying M.Sc Computer Science at Heriot Watt","2026-11-14 22:15:30",{"source":8,"skillName":5,"commands":51,"prompt":61,"zipAvailable":62},[52,55,58],{"tool":53,"command":54},"npx","npx skills add Lbstrydom\u002Fclaude-engineering-skills --skill brainstorm",{"tool":56,"command":57},"bunx","bunx skills add Lbstrydom\u002Fclaude-engineering-skills --skill brainstorm",{"tool":59,"command":60},"pnpm","pnpm dlx skills add Lbstrydom\u002Fclaude-engineering-skills --skill brainstorm","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLbstrydom\u002Fclaude-engineering-skills\u002Fblob\u002Fmain\u002Fskills\u002Fbrainstorm\u002FSKILL.md",true,[64,70,74,78,82,86],{"path":65,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":68,"sourceHtmlUrl":69},"gate-contract.json","REFERENCE","参考文档",7619,"https:\u002F\u002Fgithub.com\u002FLbstrydom\u002Fclaude-engineering-skills\u002Fblob\u002Fmain\u002Fskills\u002Fbrainstorm\u002Fgate-contract.json",{"path":71,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":72,"sourceHtmlUrl":73},"references\u002Fartifact-context.md",2370,"https:\u002F\u002Fgithub.com\u002FLbstrydom\u002Fclaude-engineering-skills\u002Fblob\u002Fmain\u002Fskills\u002Fbrainstorm\u002Freferences\u002Fartifact-context.md",{"path":75,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":76,"sourceHtmlUrl":77},"references\u002Fdebate-round.md",1729,"https:\u002F\u002Fgithub.com\u002FLbstrydom\u002Fclaude-engineering-skills\u002Fblob\u002Fmain\u002Fskills\u002Fbrainstorm\u002Freferences\u002Fdebate-round.md",{"path":79,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":80,"sourceHtmlUrl":81},"references\u002Finput-acquisition.md",4511,"https:\u002F\u002Fgithub.com\u002FLbstrydom\u002Fclaude-engineering-skills\u002Fblob\u002Fmain\u002Fskills\u002Fbrainstorm\u002Freferences\u002Finput-acquisition.md",{"path":83,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":84,"sourceHtmlUrl":85},"references\u002Fsynthesis-and-capture.md",1049,"https:\u002F\u002Fgithub.com\u002FLbstrydom\u002Fclaude-engineering-skills\u002Fblob\u002Fmain\u002Fskills\u002Fbrainstorm\u002Freferences\u002Fsynthesis-and-capture.md",{"path":87,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":88,"sourceHtmlUrl":89},"references\u002Fworktree-preflight.md",3413,"https:\u002F\u002Fgithub.com\u002FLbstrydom\u002Fclaude-engineering-skills\u002Fblob\u002Fmain\u002Fskills\u002Fbrainstorm\u002Freferences\u002Fworktree-preflight.md",[91,104,114,129,140,166],{"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":38},"01M6J45X4FDB2AD5BGS4R4QY8X","stated-absent","Negative fixture — the contract's stated string never appears in this file.","https:\u002F\u002Fgithub.com\u002FLbstrydom\u002Fclaude-engineering-skills\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fgate-honesty\u002Fnegative\u002Fstated-absent\u002Fskills\u002Fstated-absent\u002FSKILL.md",[],[98,99,100,101,102,103],"stated absent","STRING","fixture","contract","never","file",{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":38},"01M6J45TAX2PPHETZ5TJZG20QQ","nonexistent-implementation","Negative fixture — contract references an implementation file that does not exist.","https:\u002F\u002Fgithub.com\u002FLbstrydom\u002Fclaude-engineering-skills\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fgate-honesty\u002Fnegative\u002Fnonexistent-implementation\u002Fskills\u002Fnonexistent-implementation\u002FSKILL.md",[],[111,112,100,113,101,103],"implementation","nonexistent implementation","references",{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":38},"01M6J45P5GN52YFMZ81T7NN1VF","document-only-with-params","Negative fixture — a document-only gate illegally carries params (schema must refuse this fake-check pattern).","https:\u002F\u002Fgithub.com\u002FLbstrydom\u002Fclaude-engineering-skills\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fgate-honesty\u002Fnegative\u002Fdocument-only-with-params\u002Fskills\u002Fdocument-only-with-params\u002FSKILL.md",[],[121,122,123,124,125,100,126,127,128],"only","document","document only with params","with","pattern","gate","schema","check",{"skillNo":130,"name":131,"nameZh":6,"description":132,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":133,"categories":134,"keywords":135,"publishedAt":38},"01M6J45J1CCZ7AXDGQKBA9VC8M","lying-skill","Fixture skill for the gate-honesty self-check — every gate here is deliberately dishonest.","https:\u002F\u002Fgithub.com\u002FLbstrydom\u002Fclaude-engineering-skills\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fgate-honesty\u002Flying-skill\u002Fskills\u002Flying-skill\u002FSKILL.md",[],[136,100,137,126,138,139,128],"lying skill","self","for","fixture skill",{"skillNo":141,"name":142,"nameZh":6,"description":143,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":144,"categories":145,"keywords":146,"publishedAt":38},"01M6J45CW0DNN7K2W39E3PQHEY","visual-audit","Math-first, deterministic visual\u002Fpaint inspection — the 4th UX lens, complementing\npersona-test (journey), click-test (page), and nav-audit (system). Drives Playwright +\ncomputed styles + bounding boxes + CDP forced-pseudo-state to audit declared-token\nconformance, light\u002Fdark theme parity, layout physics, and affordance signifiers. A VLM\nis advisory-only and never gates. CI gate is drift-only on the changed contracted surface.\nTriggers on: \"visual audit\", \"check styling consistency\", \"theme parity\", \"dark mode parity\",\n\"design token drift\", \"paint audit\", \"button\u002Fcard consistency\", \"focus ring audit\",\n\"\u002Fvisual-audit\".","https:\u002F\u002Fgithub.com\u002FLbstrydom\u002Fclaude-engineering-skills\u002Fblob\u002Fmain\u002Fskills\u002Fvisual-audit\u002FSKILL.md",[],[147,148,149,150,151,152,153,154,155,156,157,102,158,159,160,161,162,163,121,164,165],"visual audit","visual","audit","inspection","layout","math","focus","design token","cdp","lens","click","physics","card","mode","ci","design","journey","persona","drift",{"skillNo":167,"name":168,"nameZh":6,"description":169,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":170,"categories":171,"keywords":172,"publishedAt":38},"01M6J4569S40ZASFWW698CHBKP","ux-lock","Generate Playwright e2e specs. Two modes:\n  1. LOCK mode — pin a fix's DOM contract so it doesn't regress (default).\n  2. VERIFY mode — check that a \u002Fplan plan was actually implemented\n     by parsing its Acceptance Criteria section and driving the live URL.\nVERIFY mode grades a plan against a RUNNING app. To judge the plan document\nitself, before anything is built, that is \u002Faudit-plan.\nTriggers on: \"ux lock\", \"lock ux\", \"lock in the fix\", \"write regression spec\",\n\"generate e2e test for\", \"regression test for commit\", \"lock this fix\",\n\"verify the plan\", \"verify plan implementation\", \"check the plan was built\",\n\"audit frontend implementation\", \"did we ship the plan\".\nFull command syntax: see the Usage section in this skill.","https:\u002F\u002Fgithub.com\u002FLbstrydom\u002Fclaude-engineering-skills\u002Fblob\u002Fmain\u002Fskills\u002Fux-lock\u002FSKILL.md",[],[173,174,175,33,176,177,178,160,179,180,181,182,183,184,185,30,186,149,187,188,189],"ux","lock","ux lock","app","regression","e2e test","default","fix","frontend","acceptance","URL","commit","plan","generate","write","judge","verify plan"]