Uno Reverse 标志

Uno Reverse

社区
danicat
uno-reverse

Radical simplification, red-teaming, and Occam's Razor devil's advocate for software architecture, PRDs, agent workflows, and technical designs. Challenges feature creep, speculative abstractions, and bloated specifications by proposing minimum viable primitives that deliver 90% of value with 10% of moving parts. Prefers impartial dedicated subagent delegation to prevent context contamination and confirmation bias. Activate when reviewing complex technical proposals, pruning bloated architectures, red-teaming design docs, eliminating speculative features, or seeking the simplest possible path to production.

概览

发布者danicat
代码仓库skills
技能名称uno-reverse
星标数
24
复刻数
4
附带文件
仅含指令
许可协议Apache-2.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 danicat 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Uno Reverse AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/danicat/skills/tree/main/workflows/uno-reverse
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/danicat/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/workflows/uno-reverse .claude/skills/uno-reverse
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Uno Reverse,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Uno Reverse。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Uno Reverse 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Uno-Reverse: Radical Simplification & Red-Teaming

"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." — Antoine de Saint-Exupéry

The uno-reverse skill provides a rigorous contrarian simplification and red-teaming framework. While standard engineering processes naturally drift toward feature accretion, defensive layering, and speculative generalization, uno-reverse forces the opposite trajectory: aggressive subtraction, primitive collapsing, and minimum viable execution.


🎭 Impartial Review: Dedicated Subagent Delegation (Default)

To guarantee the integrity and rigor of an Occam's Razor red-team assessment, uno-reverse reviews must be conducted by a dedicated, isolated subagent rather than within the invoking agent's active conversation context.

1. Rationale: Why In-Context Audits Fail

When an agent that designed, brainstormed, or iteratively implemented a solution attempts to evaluate its own work inline, the review suffers from three critical failure modes:

  1. Confirmation Bias & Sunk-Cost Defense: An agent that spent multiple conversation turns proposing abstractions, schemas, microservices, or config flags naturally rationalizes their existence. A dedicated subagent has zero psychological or conversational investment in prior proposals.
  2. Context Contamination: Long-running conversation contexts contain discarded ideas, exploratory reasoning, edge-case anxieties, and premature compromises. This cognitive residue biases the evaluation toward maintaining accidental complexity. A fresh subagent receives only the target specification and the audit mandate, evaluating it with a clean slate.
  3. Preserving Impartiality & Objective Distance: Genuine red-teaming requires contrarian detachment. An isolated subagent is uninhibited by politeness or conversational continuity—it can objectively propose deleting 90% of a specification without defending earlier dialogue.

2. Default Delegation Policy & User Override

  • DEFAULT Behaviour: By default, the parent agent MUST spawn a dedicated uno-reverse subagent using invoke_subagent and immediately yield execution.
  • Inline Override: Subagent delegation is bypassed ONLY if the user explicitly requests an inline review (e.g., "review inline", "run uno-reverse in this session", or "do not use subagents"). In that case, the parent agent executes the 4-step workflow directly in the current context.

3. Delegation Pattern & Subagent Invocation

When delegating, select the subagent type:

  • research (Default): Ideal for read-only audits of design documents, PRDs, architectural RFCs, and codebases.
  • self: Use when the audit also requires writing code, refactoring files, or generating alternative implementations directly on disk.
  • Model: 'inherit': Preserve the parent session's reasoning effort and model capabilities.
Antigravity invoke_subagent Pattern:
json
{
  "Subagents": [
    {
      "TypeName": "research",
      "Role": "Uno-Reverse Auditor",
      "Model": "inherit",
      "Prompt": "You are an impartial, contrarian Uno-Reverse Auditor tasked with radical simplification and red-teaming.\n\n### Target of Audit:\n[FILE_PATH_OR_TARGET_DESCRIPTION]\n\n### Mandate & Mindset:\n- You have ZERO investment in prior discussions, earlier decisions, or existing abstractions.\n- Challenge every moving part, configuration flag, caching layer, and speculative interface.\n- Treat complexity as a liability: Reliability = 1 / (Moving Parts ^ 2).\n- Apply the 4 Inversion Principles (Subtraction Before Addition, Primitive Collapsing, Zero-Speculation YAGNI, Failure-Surface Inversion).\n- Respect Chesterton's Fence: understand the failure mode before eliminating essential safety.\n\n### Instructions:\n1. Execute the 4-Step Uno-Reverse Audit Workflow (Subtraction Test, Primitive Collapsing, Cache & State Probe, 10% MVP).\n2. Format your complete findings strictly as the 'Simplification Audit Scorecard':\n   - Executive Inversion Summary (Proposed Complexity, Verdict, Code Reduction %)\n   - The Cut List (Items to eliminate, rationale, what happens without it)\n   - Collapsed Primitives (Disparate mechanisms -> Single primitive)\n   - Minimalist Reference Design (10% MVP spec / code)\n   - Chesterton Boundary Assessment (Essential complexity kept vs. pruned)\n3. Report your findings back using send_message."
    }
  ]
}
Lifecycle & Non-Blocking Coordination:
  1. Dispatch & Yield: The parent agent invokes the subagent and immediately halts tool calls to end its turn. It never polls, sleeps, or busy-waits.
  2. Report Reception: When the subagent completes the audit and sends its report, the parent agent wakes up reactively.
  3. Synthesis & Presentation: The parent agent delivers the unvarnished scorecard to the user or uses the minimalist reference design to guide subsequent implementation.

🎯 The 4 Inversion Principles

  ┌─────────────────────────────────────────────────────────────┐
  │                    THE UNO-REVERSE RAZOR                    │
  ├─────────────────────────────────────────────────────────────┤
  │ 1. Subtraction Before Addition: "Can we delete our way out?" │
  │ 2. Primitive Collapsing: "Can 1 composable primitive do 5 jobs?"│
  │ 3. Zero-Speculation (YAGNI): "Are we solving an imagined problem?"│
  │ 4. Failure-Surface Inversion: "How will this complexity break?" │
  └─────────────────────────────────────────────────────────────┘
  1. Subtraction Before Addition: Before designing a new subsystem, caching layer, or protocol, ask: What existing assumption or artificial constraint can be deleted to make this entire feature unnecessary?
  2. Primitive Collapsing: Engineers frequently add flags, endpoints, and micro-abstractions for every sub-case. Identify the single underlying mathematical or conceptual primitive that subsumes all sub-cases without bespoke code.
  3. Zero-Speculation (Strict YAGNI): Reject all "future-proofing", pluggable abstraction layers for single implementations, and configurable policies where a single sensible constant or deterministic convention works.
  4. Failure-Surface Inversion: Evaluate a system by its total attack, bug, and maintenance surface:
    Reliability = 1 / (Moving Parts ^ 2)
    Every added cache, lock, daemon, state file, and flag represents a new failure mode and cognitive tax.

🚩 Speculative Language Red-Flag Filter (PRDs & Specs)

When auditing technical proposals or PRDs, immediately flag these weasel phrases:

Speculative Phrase ❌Underlying RealityUno-Reverse Action ✅
"Future-proof design"Unused code and speculative abstractions todayDelete the abstraction; write the concrete implementation.
"Pluggable provider model"Only 1 provider existsHardcode the single provider until a 2nd concrete provider is built.
"Flexible policy engine"Author avoided making a design decisionPick the single sensible default convention.
"Event-driven microservices"Synchronous calls disguised as message queuesUse direct in-process function calls.
"Highly configurable"Shifting architectural choices to end-usersShip zero flags; make opinionated choices.
"Generic abstraction layer"Premature DRY before seeing 3 distinct patternsDuplicate the 5 lines of code; wait for Rule of Three.

🔬 Accidental Complexity Code Smells (Codebase Audits)

When reviewing code, actively hunt down and prune these structural anti-patterns:

  1. Single-Implementation Interfaces:
    • Smell: An interface FooService with only one concrete struct fooServiceImpl.
    • Fix: Delete the interface. Export the concrete struct directly. Introduce interfaces only when consumers need mocking at architectural boundaries.
  2. Passthrough Wrapper Functions:
    • Smell: Function GetUserData(id) that does nothing except call db.FetchUser(id).
    • Fix: Eliminate the middleman. Call the underlying operation directly.
  3. State Machine Inflation:
    • Smell: A 7-state lifecycle machine (PENDING_APPROVAL, READY_FOR_QUEUE, QUEUED, ...) with 15 transition validation functions.
    • Fix: Collapse to 2 boolean flags or an active/done state.
  4. Relational Over-Normalization for Small Datasets:
    • Smell: A 6-table normalized schema with foreign keys and joins for < 10,000 total records.
    • Fix: Store as a single flat SQLite table, JSON document, or in-memory map.

🤖 The Agent & AI Workflow Razor

AI systems are especially prone to multi-agent and prompt bloat. Apply these rules:

Bloated Agent Pattern ❌Collapsed Alternative ✅Rationale
5-Agent Swarm for sequential taskSingle agent with 1 clear promptMulti-agent handoffs add latency, token cost, and lossy context degradation.
Intermediate Summarizer AgentsDirect downstream consumption"Telephone game" summarization strips critical nuance.
Micro-Tool Sprawl (10 single-action tools)1 Polymorphic Tool with clear argsDecreases tool selection entropy and LLM routing hallucinations.
Autonomous Loop without GuardrailsDeterministic script + LLM leaf nodeUse code for control flow and LLMs only for fuzzy transformation.

[!NOTE] Subagent Delegation vs. Swarm Bloat: While multi-agent swarms for linear tasks are an anti-pattern, delegating an assessment to a single, isolated subagent for red-teaming is essential. The subagent boundary provides clean context isolation, eliminating confirmation bias and conversational anchoring without adding orchestrational sprawl.


🔍 The 4-Step Uno-Reverse Audit Workflow

When invoked on a design document, PRD, or proposed codebase change, execute this 4-step inversion protocol:

Step 1: The Subtraction Test (The 3 Deadly Questions)

Apply these questions to every component in the proposal:

  1. The Ghost Problem Test: If we do nothing and ship zero lines of code, what actually breaks in production today?
  2. The 90/10 Rule: What 10% of this proposal delivers 90% of the actual user value? Can we discard the remaining 90% of the spec?
  3. The Accidental Complexity Probe: Is this feature solving a real user problem, or is it solving a problem introduced by an earlier bad abstraction?

Step 2: Primitive Collapsing & Surface Pruning

Collapse multiple flags, commands, or data structures into single composable primitives:

Bloated Pattern (Before ❌)Collapsed Primitive (After ✅)Rationale
--page, --section, --index, --toc, #slugPositional URI path doc[#section]Unified resource addressability replaces 5 separate flags.
Separate read, load, refs, peek commandsSingle polymorphic load <target>Reduces agent decision entropy and CLI verb sprawl.
Configuration file + 12 env vars + CLI flagsDeterministic convention over configurationEliminates configuration drift and precedence bugs.
In-memory LRU cache + Disk cache + Remote syncFast on-the-fly streamingRaw operations in RAM (< 1 ms) make caching slower than compute.

Step 3: The Cache & State Invalidation Probe

Whenever a proposal introduces caching, local state files, or background workers:

  • Calculate the Cache Paradox: Measure the cost of on-the-fly computation vs. cache serialization, disk I/O, hash verification, and invalidation race conditions.
  • Enforce Ephemeral Execution: If in-memory computation takes < 1 ms, strictly forbid persistent caching layers.

Step 4: The 10% Minimum Viable Proposal (MVP)

Draft an alternative "Uno-Reverse Specification" that:

  • Achieves the core objective in <= 20% of the proposed lines of code.
  • Uses zero external dependencies or heavy frameworks.
  • Requires zero background daemons, zero state migrations, and zero cache management.

🛡️ Chesterton’s Fence: When NOT to Simplify

Radical simplification is not reckless deletion. Before eliminating a mechanism, identify whether it represents Essential or Accidental complexity:

┌───────────────────────────────────────┬───────────────────────────────────────┐
│     NEVER PRUNE (Essential Safety)    │    ALWAYS PRUNE (Accidental Bloat)    │
├───────────────────────────────────────┼───────────────────────────────────────┤
│ • Concurrency locks & race guards     │ • Unbenchmarked caching layers        │
│ • Authentication & permission checks  │ • Generic abstract factories          │
│ • Input validation & sanitization     │ • Pluggable drivers for 1 provider    │
│ • Idempotency tokens & rollbacks      │ • Config flags for internal decisions │
│ • Explicit error handling boundaries  │ • Micro-agent coordination swarms     │
└───────────────────────────────────────┴───────────────────────────────────────┘

The Chesterton Gate: If you cannot explain why a defensive check or data field was originally added, you are forbidden from deleting it until you understand its failure mode.


📋 The Simplification Audit Scorecard

Deliver all audit results in this standardized, high-signal markdown format:

markdown
# 🔄 Uno-Reverse Simplification Audit: [Topic / Proposal]

## 1. Executive Inversion Summary
- **Proposed Complexity**: [Summary of moving parts, services, and flags in original design]
- **Recommended Verdict**: [Prune / Collapse / Re-architect]
- **Potential Code Reduction**: ~X% (from ~Y LOC to ~Z LOC)

## 2. The Cut List (Items to Eliminate Immediately)
| Proposed Feature / Component | Reason for Elimination | What Happens Without It |
| :--- | :--- | :--- |
| [Feature A] | Speculative generalization | Nothing; solve with a single constant |
| [Feature B] | Cache paradox (I/O > Compute) | Scan on the fly in < 0.1 ms |

## 3. Collapsed Primitives
- **Instead of**: [List of disparate flags / commands]
- **Use**: [Single elegant primitive]

## 4. The Minimalist Reference Design
[Concrete, ultra-compact specification / code snippet implementing the 10% MVP]

## 5. Chesterton Boundary Assessment
- **Essential Complexity Retained**: [Security, safety, or concurrency checks kept intact]
- **Risk & Trade-off Assessment**: [Edge cases intentionally omitted and why the trade-off is sound]

🚫 Common Engineering Traps to Call Out

  1. "What if the user wants X?" (Speculative Customization):
    • Uno-Reverse Response: "Wait until 3 distinct users actively request it in production before writing code for it."
  2. "We might support other backends later" (Premature Extensibility):
    • Uno-Reverse Response: "Implement the concrete backend directly. Refactoring clean concrete code is 10x faster than maintaining unused abstractions."
  3. "Let's add a cache for performance" (Unbenchmarked Caching):
    • Uno-Reverse Response: "Benchmark the raw in-memory operation first. If it takes < 5 ms, a cache is tech debt, not an optimization."
  4. "Let's add a configuration flag" (Passing Design Decisions to Users):
    • Uno-Reverse Response: "Make the right design decision in the code. Every configuration flag is an abdication of architectural responsibility."
  5. "Let's spawn an agent swarm for this" (Multi-Agent Vanity):
    • Uno-Reverse Response: "If the steps are sequential, write a 15-line deterministic script. Keep agents for non-deterministic reasoning."

常见问题

Uno Reverse AI 技能有什么作用?

Radical simplification, red-teaming, and Occam's Razor devil's advocate for software architecture, PRDs, agent workflows, and technical designs. Challenges feature creep, speculative abstractions, and bloated specifications by proposing minimum viable primitives that deliver 90% of value with 10% of moving parts. Prefers impartial dedicated subagent delegation to prevent context contamination and confirmation bias. Activate when reviewing complex technical proposals, pruning bloated architectures, red-teaming design docs, eliminating speculative features, or seeking the simplest possible pa...

为什么在 TypingMind 中使用 Uno Reverse?

因为您只需安装一次,就能搭配任何模型使用。Uno Reverse 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Uno Reverse?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/danicat/skills/tree/main/workflows/uno-reverse。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Uno Reverse?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Uno Reverse 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Uno Reverse 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Uno Reverse AI 技能免费吗?

是的。danicat 已在 GitHub 上根据 Apache-2.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇