Loading...
Loading...
Compare original and translation side by side
Breaks down the design into an atomic, ordered, and verifiable task plan.
/sdd-tasks <change-name>将设计拆解为原子化、有序且可验证的任务计划。
/sdd-tasks <change-name>sdd-applysdd-apply1. .claude/skills/sdd-tasks/SKILL.md (project-local — highest priority)
2. ~/.claude/skills/sdd-tasks/SKILL.md (global catalog — fallback)docs/SKILL-RESOLUTION.md1. .claude/skills/sdd-tasks/SKILL.md (项目本地 — 优先级最高)
2. ~/.claude/skills/sdd-tasks/SKILL.md (全局目录 — 备用)docs/SKILL-RESOLUTION.mdskills/_shared/sdd-phase-common.mdskills/_shared/sdd-phase-common.mdmem_search(query: "sdd/{change-name}/design")mem_get_observation(id)mem_search(query: "sdd/{change-name}/spec")mem_get_observation(id)## Supersedesmem_search(query: "sdd/{change-name}/proposal")mem_get_observation(id)mem_search(query: "sdd/{change-name}/design")mem_get_observation(id)mem_search(query: "sdd/{change-name}/spec")mem_get_observation(id)## Supersedesmem_search(query: "sdd/{change-name}/proposal")mem_get_observation(id)## SupersedesINFO: no Supersedes section in proposal.md — skipping removal task generation## SupersedesINFO: proposal.md中无Supersedes部分 — 跳过移除任务生成Remove: [feature name]Remove old: [old feature name]Implement new: [new feature name]Remove: [功能名称]Remove old: [旧功能名称]Implement new: [新功能名称]undefinedundefinedpath/to/filepath/to/filepath/to/other.tspath/to/old-filepath/to/old-filepath/to/new-filepath/to/new-fileundefinedpath/to/filepath/to/filepath/to/other.tspath/to/old-filepath/to/old-filepath/to/new-filepath/to/new-fileundefinedPhase 1 — Removals and Replacements [if Supersedes has items] OR Foundation [if purely additive]
Phase 2 — Foundation: types, interfaces, schemas, configuration [if Phase 1 is Removals]
Phase N — Core: main business logic
Phase N+1 — Integration: connect with the rest of the system
Phase N+2 — Testing: tests for previous phases
Phase N+3 — Cleanup: remove temporary code, update docsPhase 1 — Removals and Replacements [如果Supersedes包含项] 或 Foundation [如果仅为新增变更]
Phase 2 — Foundation: 类型、接口、架构、配置 [如果Phase 1是Removals]
Phase N — Core: 主要业务逻辑
Phase N+1 — Integration: 与系统其他部分连接
Phase N+2 — Testing: 前序阶段的测试
Phase N+3 — Cleanup: 移除临时代码、更新文档MUST_RESOLVE"business rule decision — external system behavior is ambiguous"ADVISORY"performance consideration — does not affect correctness""style or naming preference — no impact on current task"MUST_RESOLVE"business rule decision — external system behavior is ambiguous"ADVISORY"performance consideration — does not affect correctness""style or naming preference — no impact on current task"tasks.md- [ ] X.Y Task description [WARNING: MUST_RESOLVE]
Warning: [human-readable warning text]
Reason: [classification reason, e.g., "business rule decision — external system field ambiguous"]
Question: [clarifying question derived from the warning]- [ ] X.Y Task description [WARNING: ADVISORY]
Warning: [human-readable warning text]
Reason: [classification reason, e.g., "performance consideration — does not affect correctness"]- [ ] 2.1 Create `src/services/payment.service.ts` with method `processPayment(dto: PaymentDto): Promise<PaymentResult>` [WARNING: MUST_RESOLVE]
Warning: Stripe invoice field for failure date is ambiguous — `status_transitions.marked_uncollectible_at` vs `status_transitions.voided_at` may both apply depending on invoice state.
Reason: business rule decision — external system behavior is ambiguous
Question: Which Stripe invoice field should be used to record the payment failure date?mem_savetopic_key: sdd/{change-name}/taskstype: architectureproject: {project}undefinedtasks.md- [ ] X.Y Task description [WARNING: MUST_RESOLVE]
Warning: [human-readable warning text]
Reason: [classification reason, e.g., "business rule decision — external system field ambiguous"]
Question: [clarifying question derived from the warning]- [ ] X.Y Task description [WARNING: ADVISORY]
Warning: [human-readable warning text]
Reason: [classification reason, e.g., "performance consideration — does not affect correctness"]- [ ] 2.1 Create `src/services/payment.service.ts` with method `processPayment(dto: PaymentDto): Promise<PaymentResult>` [WARNING: MUST_RESOLVE]
Warning: Stripe invoice field for failure date is ambiguous — `status_transitions.marked_uncollectible_at` vs `status_transitions.voided_at` may both apply depending on invoice state.
Reason: business rule decision — external system behavior is ambiguous
Question: Which Stripe invoice field should be used to record the payment failure date?mem_savetopic_key: sdd/{change-name}/taskstype: architectureproject: {project}undefinedsrc/types/auth.types.tsLoginRequestLoginResponseJwtPayloadsrc/schemas/auth.schema.tssrc/config/jwt.config.tsrefreshSecretrefreshExpiresInsrc/types/auth.types.tsLoginRequestLoginResponseJwtPayloadsrc/schemas/auth.schema.tssrc/config/jwt.config.tsrefreshSecretrefreshExpiresInsrc/services/auth.service.tslogin()logout()refreshToken()src/repositories/user.repository.tsfindByEmail()src/middleware/auth.middleware.tssrc/services/auth.service.tslogin()logout()refreshToken()src/repositories/user.repository.tsfindByEmail()src/middleware/auth.middleware.tssrc/controllers/auth.controller.tssrc/routes/index.tssrc/app.tssrc/controllers/auth.controller.tssrc/routes/index.tssrc/app.tstests/unit/auth.service.spec.tstests/integration/auth.controller.spec.tstests/unit/auth.service.spec.tstests/integration/auth.controller.spec.tsREADME.mdai-context/architecture.mdREADME.mdai-context/architecture.md
---
---- [ ] 2.1 Create `src/services/payment.service.ts` with method `processPayment(dto: PaymentDto): Promise<PaymentResult>`- [ ] 2.1 Create `src/services/payment.service.ts` with method `processPayment(dto: PaymentDto): Promise<PaymentResult>`- [ ] Add payment logic- [ ] Add payment logic{
"status": "ok|warning|blocked",
"summary": "Plan for [change-name]: [N] phases, [M] total tasks. Estimate: [Low/Medium/High].",
"artifacts": ["engram:sdd/{change-name}/tasks"],
"next_recommended": ["sdd-apply"],
"risks": ["[blocker if any]"]
}next_recommended/sdd-apply{
"status": "ok|warning|blocked",
"summary": "Plan for [change-name]: [N] phases, [M] total tasks. Estimate: [Low/Medium/High].",
"artifacts": ["engram:sdd/{change-name}/tasks"],
"next_recommended": ["sdd-apply"],
"risks": ["[blocker if any]"]
}next_recommended/sdd-applytasks.mdtasks.md