一键导入
session
Context window management. Clear between tasks, compact when full, rewind on mistakes, resume past sessions. Context is the most constrained resource.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Context window management. Clear between tasks, compact when full, rewind on mistakes, resume past sessions. Context is the most constrained resource.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Turn ambiguous requirements into structured spec documents. Surface assumptions → interview → spec → human review → execute in fresh session. Spec is a contract, not a suggestion.
Pre-merge review. Reviews the diff, auto-fixes safe issues, flags destructive commands, runs verification. Evidence before assertions.
Execute an implementation plan with verification at every step. Tests first, then code. Stop on failures — never stack problems.
Systematic debugging. Reproduce → isolate → root cause → fix → verify. Root cause confirmed before any fix is applied. Never treat symptoms.
Build frontend interfaces with a committed aesthetic direction. Screenshot-based self-verification loop. Not generic defaults.
Read-only codebase exploration. Maps structure, patterns, and boundaries before any code is written. Use subagents to isolate context.
| name | session |
| description | Context window management. Clear between tasks, compact when full, rewind on mistakes, resume past sessions. Context is the most constrained resource. |
Context is Claude's most constrained resource. Performance degrades as it fills. Manage it aggressively.
The context window holds your entire conversation, files read, and command output. LLM performance degrades as context fills. Manage it like memory — free it when you're done.
/clear — Reset Between TasksUse between unrelated tasks. Long sessions with irrelevant context reduce performance.
Trigger: Switching from feature A to feature B. Any time a previous conversation has no bearing on the next task.
/compact — Compress Long SessionsWhen auto-compaction triggers, Claude summarizes what matters. For manual control:
/compact Focus on the API changes and the error handling pattern
Customize in CLAUDE.md:
When compacting, always preserve the full list of modified files and test commands.
/rewind — Undo MistakesEsc + Esc or /rewind to open checkpoint menu. Restore conversation, code, or both to any previous state.
Use when: Claude went down the wrong path, or you want to try a different approach without losing earlier context.
--continue / --resume — Resume Past Sessionsclaude --continue # Resume most recent
claude --resume # Pick from list
Use /rename to give sessions descriptive names like "oauth-migration".
/btw — Ask Without Polluting ContextQuick questions that don't need to stay in context. Answer appears in a dismissible overlay.
The "kitchen sink session": You start with task A, ask about task B, go back to task A. Context is full of irrelevant noise.
Fix:
/clearbetween unrelated tasks.
"Manage context aggressively." / "Run /clear between unrelated tasks to reset context." / "Context is the most important resource to manage."