spec-mode

Drives AI to complete requirement development with spec as goal and checklist as guide. Invoke when starting a new feature with clear requirements or user mentions spec-mode/spec-driven development.

Spec Mode Skill

这组 skill 的用途

驱动 AI 以 spec 为目标、checklist 为导线,完成完整的需求开发流程。

适用场景

  • 需求明确、有一定规模的功能开发
  • 小需求请使用 /plan 模式,不要用这组 skill

使用方式

场景调用
开始新任务参考 commands/init.md
推进当前任务参考 commands/advance.md
需求发生变更参考 commands/change.md

文档生命周期规则

类型长期保留示例
核心文档spec.md、checklist.md
设计文档api-design.md、db-schema.md、test-cases.md
决策记录ADR-xxx.md
临时文档scratch.md、research.md、任何以 temp/draft 开头的文件

临时文档在对应 step 完成后必须删除。

目录约定

所有产出存放于 .trae/documents/tasks/active/{任务ID}_{描述}/