← 返回
未分类 中文

Zoom Out

Tell the agent to zoom out and give broader context or a higher-level perspective on a section of code. Use when you're unfamiliar with a code area or need t...
Tell the agent to zoom out and give broader context or a higher-level perspective on a section of code. Use when you're unfamiliar with a code area or need t...
genortg
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 183
下载
💾 0
安装
1
版本
#latest

概述

Zoom Out

When you're deep in unfamiliar code, zoom out to see the architecture before diving deeper.

When to Use

Trigger this when:

  • You're dropped into an unfamiliar codebase or module
  • You need to understand how a piece fits into the bigger picture
  • You've been reading low-level code and lost the thread of what it's for
  • You need a map before making changes

What It Does

The agent stops reading individual functions/files and instead:

  1. Maps the module's boundary — what it exposes and what it depends on
  2. Lists all callers of the module's public API
  3. Identifies the module's role in the broader architecture (layer, service, utility, etc.)
  4. Uses the project's own domain vocabulary rather than generic terms
  5. Returns a compressed but complete picture of what this area does and how it connects

Example Output Shape

## Module: `src/payments/processor.ts`

**Role:** Payment orchestration layer between API routes and external gateways

**Public API:**
- `processPayment(orderId, amount, method)` — called by CheckoutController
- `refundPayment(transactionId, reason)` — called by AdminController
- `getPaymentStatus(orderId)` — called by three route handlers

**Dependencies:**
- Stripe SDK (external gateway)
- `src/db/transactions.ts` — stores payment records
- `src/notifications/email.ts` — sends receipts

**Callers:**
- CheckoutController (create flow)
- AdminController (refund flow)
- OrderStatus display component (read-only)

Anti-patterns

  • Don't zoom out when the question is about a specific bug — that needs diagnose, not zoom-out
  • Don't zoom out repeatedly in the same session — one map is enough
  • Don't use zoom-out for language/framework basics — those need docs, not architecture

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-06-03 13:33

安全检测

腾讯云安全 (Keen)

队列中

腾讯云安全 (Sanbu)

队列中

🔗 相关推荐

BurnThisShit

genortg
彻底抹除 OpenClaw 会话及所有痕迹——转录、轨迹、bak 文件、已删归档、sessions.json 条目。使用 shred 等工具安全擦除。
★ 0 📥 369

Ntfy Cli

genortg
通过 ntfy.sh 或自托管 ntfy 服务器发送推送通知,支持优先级、标题、标签、图标和附件。
★ 0 📥 377

Openclaw Comfyui Api Runner

genortg
安全的ComfyUI图像生成。使用已保存或即席服务器配置,粘贴或上传原始workflow JSON,提交、轮询并在本地提供下载输出。
★ 1 📥 519