Loading...
Loading...
Compare original and translation side by side
| Step | Prevents |
|---|---|
| Read phase completely | Missing requirements, user has to re-explain |
| Pre-flight test check | Cascading failures from broken previous phases |
| Find reference file | Guessing at patterns, code doesn't match codebase |
| Invoke domain skill | Missing project-specific conventions |
| TDD first (Step 0) | Untested code, bugs discovered in production |
| 步骤 | 预防问题 |
|---|---|
| 完整读取阶段内容 | 遗漏需求,导致用户需要重新解释 |
| 预飞行测试检查 | 由前序阶段代码问题引发的连锁失败 |
| 查找参考文件 | 猜测代码模式,导致代码与代码库不匹配 |
| 调用领域Skill | 遗漏项目特定的约定规范 |
| 先做TDD(步骤0) | 代码未测试,在生产环境中发现bug |
SendMessage({
type: "message",
recipient: "team-lead",
content: "Phase has unanswered prerequisite questions. Cannot proceed.",
summary: "Blocked: unanswered prerequisites"
})SendMessage({
type: "message",
recipient: "team-lead",
content: "Phase has unanswered prerequisite questions. Cannot proceed.",
summary: "Blocked: unanswered prerequisites"
})pnpm testpnpm testSkill:skill| Phase Focus | Skill | Reference Glob |
|---|---|---|
| Database schema, migrations, RLS | | |
| Server actions, services, API | | |
| React forms with validation | | |
| E2E tests | | |
| React components, pages | | |
| UI/UX | | |
| Service layer | | |
Skill({ skill: "skill-name" })Skill:skill| 阶段重点 | Skill | 参考文件匹配模式 |
|---|---|---|
| 数据库模式、迁移、RLS | | |
| 服务器操作、服务、API | | |
| 带验证的React表单 | | |
| E2E测试 | | |
| React组件、页面 | | |
| UI/UX | | |
| 服务层 | | |
Skill({ skill: "skill-name" })TaskCreate[Step]in_progresscompleted"Create the dropdown component""[Step] Create change-role-dropdown.tsx at app/home/[account]/roles/_components/. Props: { membershipId, accountSlug }. Fetch roles via listRolesAction, filter by hierarchy_level. Use @/components/ui Select, Badge."TaskCreate[Step]in_progresscompleted"Create the dropdown component""[Step] Create change-role-dropdown.tsx at app/home/[account]/roles/_components/. Props: { membershipId, accountSlug }. Fetch roles via listRolesAction, filter by hierarchy_level. Use @/components/ui Select, Badge."pnpm testTaskUpdatecreateXxxService(client)import 'server-only'revalidatePath('/home/[account]/...')pnpm testTaskUpdatecreateXxxService(client)import 'server-only'revalidatePath('/home/[account]/...')pnpm test
pnpm run typecheck/code-reviewpnpm test
pnpm run typecheck/code-reviewSendMessage({
type: "message",
recipient: "team-lead",
content: "Phase [NN] implementation complete — ready for review.\n\nFiles created/modified:\n- [list]\n\nTests: passing\nTypecheck: passing\n\nAcceptance criteria met:\n- [list key criteria]",
summary: "Phase NN implemented — ready for review"
})SendMessage({
type: "message",
recipient: "team-lead",
content: "Phase [NN] implementation complete — ready for review.\n\nFiles created/modified:\n- [list]\n\nTests: passing\nTypecheck: passing\n\nAcceptance criteria met:\n- [list key criteria]",
summary: "Phase NN implemented — ready for review"
})TaskListin_progresspendingTaskGetTaskListin_progresspendingTaskGet