بنقرة واحدة
context-continuity
指导 agent 何时以及如何更新任务的 .fusion/ 执行态文件
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
指导 agent 何时以及如何更新任务的 .fusion/ 执行态文件
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
Read the backend development guidelines before starting your development task.
Read the frontend development guidelines before starting your development task.
Deep requirements and design discovery workflow that keeps Trellis task-first PRD capture but adds stronger design confirmation, explicit technical design notes, and a clean handoff to task plan generation. Use when you want a richer brainstorming experience than $brainstorm, when trade-offs need deliberate review, or when you want Superpowers-style design validation inside Trellis tasks.
Check if the code you just wrote follows the backend development guidelines.
Cross-Layer Check
Check if the code you just wrote follows the frontend development guidelines.
استنادا إلى تصنيف SOC المهني
| name | context-continuity |
| description | 指导 agent 何时以及如何更新任务的 .fusion/ 执行态文件 |
以下时机应更新 .fusion/ 状态:
| 时机 | 触发方式 | 写入内容 |
|---|---|---|
brainstorm-plus 结束后 | 手动或 Skill 提醒 | 设计决策 |
write-task-plan 结束后 | 手动或 Skill 提醒 | 计划结构 + 可选 contract.md |
execute-plan-tdd 每完成一个 Slice | 自动 | plan_progress + validation |
systematic-debugging 定位根因后 | 手动 | 诊断结论 + decisions |
review-with-agents 审查完成后 | 手动 | 审查结论 |
| Compact 完成后 (收到提醒) | 半自动 | 全量状态刷新 |
| 上下文使用率达 ~60% 时 | 主动 | 预防性保存 |
不要只依赖 PreCompact hook(那是事后提醒)。Agent 应在以下情况主动执行 checkpoint:
updated_at 每次更新source 标识触发更新的 Skill/命令decisions 只追加不删除python3 .trellis/scripts/fusion/checkpoint.py \
--slice <当前slice> \
--status "<当前步骤描述>" \
--files "<正在编辑的文件>" \
--source "<当前skill名>" \
--next "<下一步建议>"
python3 .trellis/scripts/fusion/resume.py [--full]
/fusion:checkpoint — 手动保存进度/fusion:resume-context — 语义恢复