← 返回 Skills 市场
openlang-cn

6

作者 openlang · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
265
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install 6
功能描述
Explore and compare multiple parallel solution designs ("universes") before coding, then converge on a single, well-justified approach. Use when problems are...
使用说明 (SKILL.md)

Multiverse Architect

Design software as if exploring parallel universes: generate several distinct solution paths, explore each briefly, then choose and refine the best one with clear reasoning and trade-offs.

This skill is intentionally imaginative yet practical. It turns vague or high-stakes problems into a structured exploration of alternatives before writing or modifying code.


When to Use This Skill

Use Multiverse Architect when:

  • The task is ambiguous or has many possible approaches.
  • There are important trade-offs (performance vs simplicity, DX vs UX, short-term vs long-term).
  • The user says things like:
    • "不确定应该怎么实现" / "I'm not sure which way is better."
    • "有没有别的方案?" / "Are there other options?"
    • "我们要不要用某某框架?" / "Should we use framework X?"
  • The change impacts architecture, data models, or cross-cutting behavior.

Do not use this skill for:

  • Trivial bug fixes with an obvious solution.
  • Purely mechanical changes (renaming, formatting, small copy edits).

Core Principles

  1. Parallel universes, not random variants

    • Each "universe" is a coherent, internally consistent design, not a tiny tweak.
    • Differences must be meaningful (architecture style, data shape, ownership boundaries, flow of control).
  2. Shallow first, deep later

    • Start with coarse-grained sketches of each universe.
    • Only go deep on the one that is ultimately chosen.
  3. Explicit trade-offs

    • For each universe, list pros, cons, and risks.
    • Always tie trade-offs back to the user’s actual constraints (team skills, deadlines, performance, etc.), inferred from context when not stated.
  4. Reversible decisions

    • Prefer designs that keep options open and make it easier to pivot later.
    • Call out which choices are hard to change vs easy to change.

Workflow Overview

Follow this 4-phase workflow:

  1. Clarify the problem (what must be true, what is flexible)
  2. Generate 3–4 universes (distinct solution designs)
  3. Evaluate and converge (pick one, maybe merge good ideas)
  4. Produce a concrete implementation plan

Use this process before writing or modifying code for large or ambiguous tasks.


Phase 1: Clarify the Problem

When this skill is activated, start by constructing a concise problem summary and constraints list in your own words.

1.1 Problem Snapshot

Produce a short snapshot with this structure:

## Problem snapshot
- Goal: [...]
- Existing context: [...]
- Hard requirements: [...]
- Soft preferences: [...]
- Unknowns / assumptions: [...]

Guidelines:

  • Goal: Describe the user-visible outcome, not the implementation.
  • Existing context: Mention relevant tech stack, files, or patterns already in use.
  • Hard requirements: Things that must not break or be violated.
  • Soft preferences: Things that are "nice to have" (DX, style, etc.).
  • Unknowns / assumptions: State assumptions you will proceed with; adjust later if proven wrong.

1.2 Sanity Check

Silently check:

  • Is the problem actually simple with a single obvious path?
    • If yes, reduce this skill to a quick single-universe justification and proceed with normal implementation.
  • Otherwise, continue to Phase 2.

Phase 2: Generate Universes

Create 3 to 4 distinct universes (solutions). Fewer than 3 is allowed only when the space is clearly narrow.

2.1 Universe Template

For each universe, use:

### Universe X – [Short name]

**Core idea**: One-sentence summary of the approach.

**Architecture sketch**:
- Key components / modules
- How data flows
- How responsibility is divided

**How it would look in this project**:
- Key files to touch or create
- Rough APIs / interfaces
- How it fits existing conventions (or why it intentionally diverges)

**Pros**:
- [...]

**Cons / risks**:
- [...]

**Most suitable when**:
- [...]

2.2 Encourage Genuine Diversity

When generating universes:

  • Intentionally vary:
    • Where complexity lives (frontend vs backend, infra vs app logic).
    • Data contracts (rich objects vs thin DTOs, normalized vs denormalized).
    • Control flow (event-driven vs request/response, imperative vs declarative).
  • Avoid fake variation like:
    • "With comments" vs "without comments".
    • Only changing naming or minor patterns.

Phase 3: Evaluate and Converge

Once universes are defined, compare and pick.

3.1 Comparison Matrix

Construct a compact comparison:

## Universe comparison

| Universe | Complexity | Performance | DX / Maintainability | Risk | Notes |
|---------|------------|-------------|----------------------|------|-------|
| U1      | low/med/high | ...       | ...                  | ...  | ...   |
| U2      | ...        | ...         | ...                  | ...  | ...   |
| U3      | ...        | ...         | ...                  | ...  | ...   |

Adjust columns as needed (e.g., "Scalability", "Time-to-implement").

3.2 Choose (or Hybridize) a Universe

Then produce:

## Decision

- Chosen universe: [Ux or Hybrid of Ux + Uy]
- Main reasons:
  - [...]
  - [...]
- Borrowed ideas from other universes:
  - From [Uy]: [...]
  - From [Uz]: [...]

Guidelines:

  • If combining, name the hybrid and clearly state which pieces come from which universe.
  • Explicitly justify why the rejected universes were rejected (too complex, too brittle, misaligned with constraints, etc.).

Phase 4: Implementation Plan

Turn the chosen universe into a concrete plan that you will then execute using normal tools and workflows.

4.1 Plan Template

Use this:

## Implementation plan (Multiverse Architect)

### Scope
- Files to modify:
  - [...]
- New files / modules:
  - [...]
- Out-of-scope:
  - [...]

### Steps
1. [...]
2. [...]
3. [...]

### Safety checks
- [ ] Existing behavior covered by tests or manual checks
- [ ] Data migrations (if any) are planned
- [ ] Rollback strategy is identified (what to revert if needed)

4.2 Execution Mode

After the plan is created:

  • Proceed with actual implementation outside this skill, using standard coding behavior.
  • If the user changes constraints mid-way, revisit:
    • Either adjust the current universe.
    • Or briefly spin up one new alternative universe to re-evaluate.

Mini-Mode: Lightweight Multiverse

For medium-sized decisions (too big to be trivial, too small for full multiverse), use this compressed flow:

  1. Write a 1-paragraph problem snapshot.
  2. Sketch 2 universes with only:
    • Core idea
    • 2–3 pros
    • 2–3 cons
  3. Choose one in 3–4 bullet points.
  4. Write a short 3–5 step implementation outline.

Then continue as usual with coding.


Examples

Example A – Choosing a State Management Strategy

User: "我们要不要把这个 React 项目的状态全部换成 Zustand,还是继续用 Redux?"

Apply this skill:

  1. Snapshot problem (current Redux usage, pain points, team familiarity).
  2. Generate universes like:
    • U1: "Stay on Redux but modernize (Toolkit, RTK Query)."
    • U2: "Hybrid: key global state in Redux, local / view state in Zustand."
    • U3: "Full migration to Zustand with new patterns."
  3. Compare along learning curve, migration risk, DX, library ecosystem.
  4. Choose and produce a concrete migration (or non-migration) plan.

Example B – Designing a Feature Flag System

User: "需要一个开关系统来灰度发布新功能,但不确定要做多复杂。"

Universes might be:

  • U1: Config-file-based flags with a simple in-process helper.
  • U2: Centralized flag service + SDK-like helper.
  • U3: Database-backed flags with admin UI.

Then:

  1. Evaluate based on team size, deployment frequency, and risk tolerance.
  2. Choose U1 + tiny piece of U2 (clear abstraction boundary).
  3. Output a focused plan touching specific modules/files.

Summary Checklist for Using This Skill

Before leaving Multiverse Architect mode, verify:

  • A clear problem snapshot has been written.
  • At least 2–3 genuinely distinct universes have been explored.
  • A comparison table or bullet list exists.
  • A single approach (or hybrid) has been explicitly chosen.
  • There is a concrete, step-based implementation plan connected to the codebase.

Once all are satisfied, proceed to implement using the chosen design.

安全使用建议
This skill is an architecture/design advisor and is internally coherent. Before enabling it: (1) understand it will ask for and rely on project/repo context — only enable if you trust the agent to read your repository files; (2) it does not require installs or credentials, and nothing will be written by the skill itself, but review any implementation plans it outputs before applying changes; (3) note the metadata oddity (registry name '6' vs SKILL.md name 'multiverse-architect') and the lack of a homepage/source — if provenance matters to you, ask the publisher for more info. Do not provide secrets or external credentials to the skill.
功能分析
Type: OpenClaw Skill Name: 6 Version: 1.0.0 The 'multiverse-architect' skill is a purely instructional framework designed to guide an AI agent through structured architectural reasoning and decision-making. It contains no executable code, network requests, or data access patterns, focusing instead on providing templates (SKILL.md) for comparing multiple design solutions before implementation.
能力评估
Purpose & Capability
The skill's description (generate multiple solution 'universes' and converge on one) matches the SKILL.md instructions. It is instruction-only and asks for conceptual analysis and a plan — nothing in the metadata or manifest requests unrelated resources. Minor metadata inconsistency: registry name/slug is '6' while SKILL.md calls the skill 'multiverse-architect' — this is odd but not a security risk.
Instruction Scope
The SKILL.md expects the agent to build a problem snapshot, mention relevant tech stack, files, and conventions, and to infer constraints (team skills, deadlines) from context. This is coherent for an architecture advisor, but it is open-ended: the agent will rely on whatever project context it can access. The instructions do not tell the agent to read unrelated system files, environment variables, or external endpoints; however, effective use requires access to project/repo context (expected).
Install Mechanism
No install spec or code files are present. The skill is instruction-only, so nothing will be downloaded or written to disk by an installer.
Credentials
The skill declares no required environment variables, credentials, or config paths. The SKILL.md does not attempt to read secrets or request unrelated credentials.
Persistence & Privilege
Flags are default (always: false, user-invocable: true). The skill does not request permanent presence or elevated privileges. Autonomous invocation is allowed by platform defaults but there are no other red flags that amplify risk.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install 6
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /6 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
**Multiverse Architect v1.0.0 Changelog** - Initial release introducing a structured "multiverse" approach to solution design. - Enables exploring multiple well-differentiated architectural options (“universes”) before coding. - Provides templates for problem clarification, alternate design sketches, trade-off analysis, and implementation planning. - Encourages explicit evaluation and a justified convergence on the single best or hybrid approach. - Includes mini-mode for quicker decisions and detailed examples for real-world usage.
元数据
Slug 6
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

6 是什么?

Explore and compare multiple parallel solution designs ("universes") before coding, then converge on a single, well-justified approach. Use when problems are... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 265 次。

如何安装 6?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install 6」即可一键安装,无需额外配置。

6 是免费的吗?

是的,6 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

6 支持哪些平台?

6 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 6?

由 openlang(@openlang-cn)开发并维护,当前版本 v1.0.0。

💬 留言讨论