一键导入
context-engineering
Use when managing AI context budget, selective file loading, history digests, and fresh-session handoffs.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when managing AI context budget, selective file loading, history digests, and fresh-session handoffs.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when following the Super Compound BRD -> PRD -> FSD -> GOAL -> IMPLEMENTATION -> VERIFICATION delivery path, artifact traceability, FSD authority, optional ADR handling, zero context bloat issue slicing, or OPEN-* stop conditions.
Use when an approved FSD goal or lightweight issue pointer is ready for implementation.
Use when multi-component work needs cross-component verification of API contracts, data flow, events, auth, config, UI, background jobs, or tests.
Use when /sc-plan needs FSD GOAL-* packets turned into lightweight issue pointers, local Markdown Kanban boards, blocker DAGs, or multi-agent task contracts.
Use when a plan or issue board has 2+ independent execution streams whose time saving exceeds coordination overhead. Dispatches agents in isolated git worktrees only after required delivery gates pass.
Use when an FSD and goal issue board need requirement coverage, goal quality, dependency DAG, sizing, and verification validated before execution.
| name | context-engineering |
| description | Use when managing AI context budget, selective file loading, history digests, and fresh-session handoffs. |
Load the minimum useful context for the current task, preserve durable state on disk, and recommend fresh sessions before context quality degrades.
Announce: "I'm applying context engineering to keep the working context focused."
| Task | Start With | Add Only If Needed |
|---|---|---|
| BRD/PRD/FSD Planning | Request, BRD/PRD, prior brainstorm, README, package metadata | Similar code, accepted ADRs in docs/solutions/, related solutions |
| Execution | Goal issue pointer, parent FSD refs, target files, tests, local instructions | Upstream BRD/PRD refs, linked accepted ADRs, callers, interfaces, fixtures |
| Debugging | Error output, failing test, implicated files | Related config, recent changes |
| Review | Diff, tests, requirements | Nearby code for behavior comparison |
| UI work | Existing design system, components, target route | interface-design search results |
When returning to work:
docs/STATE.md if present..continue-here.md if present./sc-status to route the session if the next action is unclear.Suggest /sc-pause and a fresh session when:
After a fresh session, use /sc-status to recover from disk.
At natural breaks, ask internally:
docs/STATE.md, docs/progress.md, or .continue-here.md?| Thought | Better Response |
|---|---|
| "Read the whole repo first" | Search, sample, and follow references |
| "Keep everything in memory" | Summarize and persist durable state |
| "Reload the whole conversation" | Use STATE.md, .continue-here.md, and current files |
| "More context will fix uncertainty" | Identify the specific missing fact |
state-management for durable state filesagentic-delivery for qualified artifact references and zero context bloat rulesexecuting-plans for goal-by-goal loadingsystematic-debugging for investigation scopebrainstorming for lightweight product contextcheckpoint-protocol for pause and handoff decisions