workflow-feature-shipper
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseFeature Shipper
Feature Shipper
Turn "I want to build a feature" into a fast execution chain.
将「我想要构建一个功能」转化为快速执行流程。
Input (Pass Paths Only)
输入(仅传递路径)
- : Requirements description (acceptance criteria + non-goals)
feature.md repo_rootrun_dir
- :需求说明(验收标准+非目标)
feature.md repo_rootrun_dir
Optional flags (recommended inside feature.md
)
feature.md可选标记(建议在feature.md
中设置)
feature.md- :
mode|plan-only(default:execute)execute - : short slug for artifact naming (default: derived from title + timestamp)
feature_slug - :
quality_bar|demo-ready(default:functional-onlyfor user-facing UI features)demo-ready
- :
mode(仅计划)|plan-only(执行)(默认值:execute)execute - :用于产物命名的短别名(默认值:从标题+时间戳生成)
feature_slug - :
quality_bar(可演示)|demo-ready(仅功能可用)(默认值:面向用户的UI功能使用functional-only)demo-ready
Output (Persisted)
输出(持久化存储)
- (checklist plan: tasks + verification)
evidence/features/<feature_slug>-plan.md - (if implementation is split)
evidence/parallel/features/<feature_slug>/ evidence/features/<feature_slug>-summary.md
- (检查清单式计划:任务+验证项)
evidence/features/<feature_slug>-plan.md - (当实现被拆分时生成)
evidence/parallel/features/<feature_slug>/ evidence/features/<feature_slug>-summary.md
Process
流程
- Hooks doctor (required check; non-blocking): Run once at the start of the session to verify
tool-hooks-doctorhooks are enabled. If missing, offer to install project-level hooks; continue either way.skill-evolution - Read , normalize into: acceptance criteria, boundaries, risks, rollback.
feature.md - Prototype UI rule (default): if this feature affects user-facing UI and isn’t
quality_bar, propose 1 “demo moment” (animation/micro-interaction) and add it to acceptance criteria. Must respectfunctional-only.prefers-reduced-motion - Produce 2 options (A: minimal; B: cleaner but slower), default to A. If user cares about “demo feel”, offer A-demo-ready vs A-functional-only as explicit sub-options.
- Split into PR-sized small steps (each independently runnable + rollback-able).
- Write plan to .
evidence/features/<feature_slug>-plan.md - If , stop here and ask for confirmation before implementing.
mode: plan-only - Implement (batch execution + checkpoints):
- UI visual/layout/animation changes → First call to load the project’s
tool-design-style-selector, then strictly follow it. Ifdesign-system.mdis installed, use it to ground motion/UX constraints (search “animation” + “accessibility”). For complex visual/animation/responsive design, delegate totool-ui-ux-pro-maxfrontend UI/UX senior design agent./gemini - Business logic/data flow/integration → Implement directly.
- Default batch rhythm: 3 small tasks per batch → run verification → report and wait for feedback; stop immediately for help when blocked/verification fails.
- After each batch (or before merge), recommend using for a conclusive review + verdict.
review-quality- is the single entry point and will auto-triage: if React/Next.js performance risk is detected, it will also run
review-quality.review-react-best-practices - If the user explicitly wants only a React/Next.js perf audit, run directly.
review-react-best-practices
- UI visual/layout/animation changes → First call
- Verification: can run, can build (and existing tests pass).
- If verification fails (tests/build/runtime error): run before attempting more fixes.
tool-systematic-debugging - Persist debugging artifacts to:
- (repro steps, hypotheses, root cause, fix + re-verify)
evidence/features/<feature_slug>-debug.md
- If verification fails (tests/build/runtime error): run
- Write : what was done, how verified, next steps.
evidence/features/<feature_slug>-summary.md - Wrap up: Do a Evolution checkpoint (3 questions); if user chooses "want to optimize", run
skill-evolutionbased on thisskill-improverto produce minimal patch suggestionsrun_dir
- Hooks检查器(必填检查;非阻塞):在会话开始时运行一次,以验证
tool-hooks-doctor钩子已启用。如果缺失,提议安装项目级钩子;无论是否安装都继续流程。skill-evolution - 读取,标准化为:验收标准、边界、风险、回滚方案。
feature.md - 原型UI规则(默认):如果该功能影响用户面向的UI且未设置为
quality_bar,则提议1个「演示时刻」(动画/微交互)并将其添加到验收标准中。必须遵循functional-only(减少动画偏好)设置。prefers-reduced-motion - 生成2种方案(A:最简方案;B:更整洁但耗时更长),默认选择A。如果用户关注「演示体验」,则明确提供A-可演示版 vs A-仅功能版作为子选项。
- 拆分为PR规模的小步骤(每个步骤均可独立运行+回滚)。
- 将计划写入。
evidence/features/<feature_slug>-plan.md - 如果,则在此处停止,并在实现前请求用户确认。
mode: plan-only - 实现(批量执行+检查点):
- UI视觉/布局/动画变更 → 首先调用加载项目的
tool-design-style-selector,然后严格遵循其中规范。如果已安装design-system.md,使用它来确定动画/UX约束条件(搜索「animation」+「accessibility」)。对于复杂的视觉/动画/响应式设计,委托给tool-ui-ux-pro-max前端UI/UX资深设计agent处理。/gemini - 业务逻辑/数据流/集成 → 直接实现。
- 默认批量节奏:每批处理3个小任务 → 运行验证 → 汇报并等待反馈;当遇到阻塞/验证失败时立即停止并寻求帮助。
- 每批处理完成后(或合并前),建议使用进行最终评审+结论。
review-quality- 是唯一入口,会自动分类处理:如果检测到React/Next.js性能风险,它还会运行
review-quality。review-react-best-practices - 如果用户明确只需要React/Next.js性能审计,则直接运行。
review-react-best-practices
- UI视觉/布局/动画变更 → 首先调用
- 验证:可运行、可构建(且现有测试通过)。
- 如果验证失败(测试/构建/运行时错误):在尝试更多修复前先运行。
tool-systematic-debugging - 将调试产物持久化到:
- (复现步骤、假设、根因、修复方案+重新验证)
evidence/features/<feature_slug>-debug.md
- 如果验证失败(测试/构建/运行时错误):在尝试更多修复前先运行
- 编写:已完成工作、验证方式、下一步计划。
evidence/features/<feature_slug>-summary.md - 收尾:进行进化检查点(3个问题);如果用户选择「想要优化」,则基于当前
skill-evolution运行run_dir以生成最小化补丁建议skill-improver
Delivery Requirements
交付要求
- No "big bang" refactoring
- Don't introduce new complexity (unless it significantly reduces future cost, and user confirms)
- 禁止「大爆炸式」重构
- 不要引入新的复杂度(除非能显著降低未来成本,且经用户确认)