ワンクリックで
zoom
Zoom out before zooming in. Read the surrounding system before changing an unfamiliar piece of code.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Zoom out before zooming in. Read the surrounding system before changing an unfamiliar piece of code.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Core working-language policy for this harness. Think in English, deliver in Chinese.
Disciplined bug-diagnosis loop. Reproduce → minimise → hypothesise → instrument → fix → regression-test.
Recipe for filling state/reference/ENV.md when the project is an Android app. Use when the project has a build.gradle / settings.gradle and targets Android. Covers emulator boot, gradle test/connectedAndroidTest, adb logcat capture.
Recipe for filling state/reference/ENV.md when the project is a backend service (API, worker, daemon). Use when the project ships a server but no UI; covers compose-based DB/cache, pytest/jest test runners, and container log capture. Adjust language ecosystem (Python/Node/Go/etc.) accordingly.
Recipe for filling state/reference/ENV.md when the project is a web app (frontend or full-stack). Use when the project serves HTTP, has a dev server, or runs in a browser. Adjust package manager (pnpm/npm/yarn/bun) and test runner to match the project.
Pre-implementation alignment grill. Forces the agent to ask sharp questions before writing code on a non-trivial change.
| name | zoom |
| description | Zoom out before zooming in. Read the surrounding system before changing an unfamiliar piece of code. |
借鉴 mattpocock/skills 的 /zoom-out. 防止 ball-of-mud:每次改不熟的代码前,先理解它在系统里的位置。
不需要 zoom:你已经在这块代码里跑了几个 turn、心里有图。
把答案写到 CURRENT_TASK.md 里 ## Zoom-out 段,或者作为 grill 的补充。
grep_search 找 import / call site,列前 5 个state/reference/CONTEXT.md → Conventions 里的项目分层语言。CURRENT_TASK.md 里追加:
## Zoom-out
- 上游调用方:[`auth/middleware.ts:42`](…), [`api/login.ts:18`](…)
- 下游依赖:sessionStore, cookies(), zod schema
- 抽象层:application(路由 handler)
- 兄弟文件:`auth/logout.ts` —— 复用其错误形状
- 改完断言:登录态丢失后访问受限路由 → 302 到 /login 且 next 参数被 origin-checked