算法艺术创作
algorithmic-art
通过代码和可调参数创作生成艺术与交互式视觉效果。
mixture-of-experts【设计与创意】Run a Mixture of Experts (MoE) audit on any topic, plan, codebase, evidence archive, or process. Dynamically spawns specialized subagents with different critical lenses to cross-reference findings and detect flaws, overlap, retention issues, or drift. Use when designing architectures, analyzing complex code, verifying multi-step plans, classifying ev…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
The Mixture of Experts pattern is a powerful critical-thinking framework. It prevents tunnel vision by forcing multiple independent "expert personas" to analyze a single topic from completely different angles, before cross-referencing their findings.
It can be applied to literally anything: a codebase, a feature plan, a deployment process, or a repository's governance skills.
Identify the Topic Understand what the user wants to audit (e.g. "repo skills overlap", "new caching architecture", "release process").
Define Expert Personas Invent 2-3 specialized experts whose lenses are highly relevant but orthogonal to the topic. Use more than 3 only when the user explicitly asks for broad subagent coverage or when the domains are truly independent; default maximum is 4. Do not spawn agents to restate the parent plan. For each expert, write a short ownership contract:
Role: the critical lens.Scope: what evidence or subsystem they inspect.Out of scope: what they must not decide or edit.Expected output: findings, contradiction, or artifact recommendation.Fallback: what to do if the lens times out or returns partial evidence.Integration contract: exact docs, checks, skills, or code surfaces their finding would affect.Examples:
Spawn Subagents Use the available subagent capability for the current host to launch these experts independently. Give them explicit prompts to audit the target topic through their specific lens. Keep read-only lenses read-only unless the user explicitly asked for implementation. If no subagent tool is available, run the expert lenses sequentially and label the output as a non-parallel MoE.
Cross-reference Findings
Wait for all subagents to report back, or stop at the declared fallback point. Synthesize their independent critiques. Look for structural contradictions, missed edge cases, maintenance traps, and (in the case of repo skills) duplicated intent. If a lens times out or returns unusable evidence, label it as missing_lens, partial_lens, timed_out_lens, or superseded_lens; either retry, continue with downgraded confidence, or state that the missing lens blocks a stronger claim. Include a compact lens-status summary whenever the MoE result affects implementation, evidence, or a readiness claim.
Example lens-status summary:
| Lens | Status | Integration |
|------|--------|-------------|
| Evidence QA | integrated | limited the claim ceiling |
| Operations QA | partial | accepted as input, not proof |
| Skeptic | timed_out | no stronger claim based on this lens |
When the Skeptic lens is active, name the smallest useful layer and any deletion/collapse option before recommending new tools; for broad surface-shape questions, also name whether the useful move is split, compress, promote, demote, delete, or stay native. When the Evidence / Retention QA lens is active, name the artifact status, claim protected, and retention/disposition route before recommending new evidence. If the critique would change durable docs, skills, contracts, or tooling, create or recommend a Pattern Promotion Review under docs/evidence/ instead of creating a new doctrine.
For broad repo pain, MoE may discover possible lane candidates and contradictions between lanes. These findings are advisory critique inputs only: they do not authorize writes, assign workers, accept results, or replace parent synthesis. Parent lane contracts and direct-fix authority belong to multi-agent-handoff.
Choose output mode
Present to User Lead with critical findings, contradictions, and actionable recommendations. End the synthesis with one disposition:
chat_only: useful critique, no durable change.promote_to_artifact: update an ADR, FAQ, evidence note, skill, docs map, or Pattern Promotion Review.convert_to_check: repeated deterministic truth should become a test, validator, generator freshness check, or harness probe.compress_existing: merge overlapping guidance or navigation while preserving child truths.delete_or_retire: remove stale guidance, evidence, or scaffolding after useful truth lands elsewhere.leave_native: keep the work in the repo's existing command, framework, or owner surface.If implementation follows from the MoE, hand off the execution through
multi-agent-handoff or keep it in the parent with an explicit claim
ceiling. MoE findings alone are not terminal lane states and do not make
temp or worker proof source-owned.
Ask for approval only when the next step would mutate files or widen scope.
Compact rule: spawn for independence, synthesize for contradiction, persist only what changes future behavior.
npx skills add arenukvern/skill_steward --skill mixture-of-experts