Loading...
Loading...
Compare original and translation side by side
references/component-spec-template.mdreferences/component-spec-template.md../references/gh-setup.mdghwrite-task../references/gh-setup.mdghwrite-tasktaskAskUserQuestionquestion: "Which Task are you designing?"header: "Task"optionstaskgh issue view <task_number> # Functional Description, Gherkin, Design Reference — also yields feature numbertaskAskUserQuestionquestion: "你要设计哪个Task?"header: "Task"optionstaskgh issue view <task_number> # 功能描述、Gherkin、设计参考——同时获取Feature编号undefinedundefineddesignedgh issue view <task_number> --json labels --jq '.labels[].name'designedAskUserQuestionquestiondesignedheaderoptions[{label: "Redesign it", description: "Overwrite the existing Design Reference with a new one"}, {label: "Exit", description: "Leave the existing design as-is"}]designeddesignedgh issue view <task_number> --json labels --jq '.labels[].name'designedAskUserQuestionquestiondesignedheaderoptions[{label: "重新设计", description: "用新的设计参考覆盖现有内容"}, {label: "退出", description: "保留现有设计不变"}]designeddocs/steering/DESIGN.mdAskUserQuestionquestionheaderoptions[{label: "Create it now", description: "Run before continuing (recommended)"}, {label: "Skip for this session", description: "Continue without it — design decisions won't reference project standards"}]steer-designdocs/steering/DESIGN.mdAskUserQuestionquestionheaderoptions[{label: "现在创建", description: "先执行流程,再继续操作(推荐)"}, {label: "本次会话跳过", description: "不创建文档继续操作——设计决策将不参考项目标准"}]steer-designGlob('src/components/**/*', 'src/**/components/**/*', 'components/**/*')Glob('**/{tokens,theme,variables,design-tokens}.{css,scss,ts,js,json}')Grep--Glob('src/**/*.{stories,story}.{ts,tsx,js,jsx,mdx}')Grepfigma.com.md.mdxGlob('src/components/**/*', 'src/**/components/**/*', 'components/**/*')Glob('**/{tokens,theme,variables,design-tokens}.{css,scss,ts,js,json}')Grep--Glob('src/**/*.{stories,story}.{ts,tsx,js,jsx,mdx}')Grep.md.mdxfigma.comAskUserQuestionquestion: "How would you like to handle design assets for this task?"header: "Design assets"options{label: "I have Figma frames", description: "Provide frame URLs — I'll validate coverage against Gherkin scenarios"}{label: "Generate designs for me", description: "I'll use Figma MCP to generate frames from the Gherkin scenarios and design system"}{label: "Scaffold a spec only", description: "No Figma — produce a text component spec from the scenarios"}{label: "Partial — some states designed", description: "Provide available frames; remaining states go to generate or scaffold"}AskUserQuestiongenerate_figma_designgenerate_figma_designdocs/steering/DESIGN.mdreferences/component-spec-template.mdAskUserQuestionAskUserQuestionquestion: "你希望如何处理此Task的设计资产?"header: "设计资产"{label: "我已有Figma框架", description: "提供框架链接——我会对照Gherkin场景验证覆盖范围"}{label: "为我生成设计", description: "我将使用Figma MCP根据Gherkin场景和设计系统生成框架"}{label: "仅搭建规范文档", description: "无需Figma——根据场景生成纯文本组件规范"}{label: "部分完成——部分状态已设计", description: "提供已有的框架;剩余状态选择生成或搭建规范"}AskUserQuestiongenerate_figma_designgenerate_figma_designdocs/steering/DESIGN.mdreferences/component-spec-template.mdAskUserQuestionAskUserQuestionquestion: "Does this cover all the states in the Gherkin?"header: "Review"options: [{label: "Yes — looks complete", description: "Proceed to update the task"}, {label: "Missing states", description: "I want to add more coverage"}, {label: "Other changes", description: "I want to adjust something else"}]AskUserQuestionquestion: "这是否覆盖了Gherkin中的所有状态?"header: "审核"[{label: "是——看起来完整", description: "继续更新Task"}, {label: "缺少状态", description: "我想要补充更多覆盖范围"}, {label: "其他修改", description: "我想要调整其他内容"}]Note: read the current issue body first (), replace only the Design Reference section with the new content, and preserve all other sections unchanged. Write the full updated body to a temp file and usegh issue view <task_number>.--body-file
gh issue edit <task_number> --body-file /tmp/wtf-design-task-body.mddesignedgh issue edit <task_number> --add-label "designed"注意:先读取当前议题正文(),仅替换设计参考部分为新内容,保留所有其他部分不变。将完整的更新后正文写入临时文件,并使用gh issue view <task_number>参数。--body-file
gh issue edit <task_number> --body-file /tmp/wtf-design-task-body.mddesignedgh issue edit <task_number> --add-label "designed"AskUserQuestionquestionheaderoptions[{label: "Implement this Task", description: "Run for this Task now (default)"}, {label: "Design another Task", description: "Design another Task for the same Feature"}, {label: "Stop here", description: "Exit — no further action"}]implement-taskAskUserQuestionquestionheaderoptions[{label: "实现此Task", description: "立即为该Task执行流程(默认选项)"}, {label: "设计另一个Task", description: "为同一Feature设计另一个Task"}, {label: "到此为止", description: "退出——无进一步操作"}]implement-task