Commit Graph

102 Commits

Author SHA1 Message Date
zyh
67c9034d72 fix(merge): restore R8 and 3.6 from master -- user instruction: '恢复添加' 2026-04-14 05:31:29 +00:00
zyh
445a6ded32 sync: visual-diff-pencil 增强结构检查 - 递归检查所有层级+bottomNav全局配置检查+图标导出自动化
## 变更内容

- 递归提取所有层级命名节点 → 顶层存在但子区块缺失能检测
- 添加 bottomNav 全局配置检查 → 对比 pages.json tabBar 数量文字是否匹配设计稿
- 扩大文字颜色检查范围 → 任意命名 text 节点都检查,不限于'文字标签'
- 改进差异分级 → 任意层级关键组件缺失都算 critical 差异
- 添加图标导出自动化到 AUTO-FIX 流程

这些改进解决了广场页漏检问题:topBar.topLeft 缺失 / tabSection.tabLeft 缺失 / bottomNav 5 Tab vs 4 Tab 这些问题现在会被自动检测为 critical 差异。
2026-04-14 05:18:32 +00:00
92b7093fe7 Merge pull request 'sync: 强化覆盖度门控为100%强制+自动补旅程' (#34) from sync/d8d-skills-20260414-050743 into master
Reviewed-on: http://gitea.d8d.fun/d8dfun/bmad-method-template/pulls/34
2026-04-14 05:09:29 +00:00
yourname
c1ba4012fa sync: 强化覆盖度门控为100%强制+自动补旅程,新增步骤3.6组件级覆盖校验和R8规则 2026-04-14 05:07:54 +00:00
03480936d2 Merge pull request 'sync: 增强视觉对比检查:新增文字标签颜色/字体大小一致性检查' (#33) from sync/d8d-skills-20260414-02361776134163 into master
Reviewed-on: http://gitea.d8d.fun/d8dfun/bmad-method-template/pulls/33
2026-04-14 02:42:37 +00:00
zyh
13c729bed4 sync: 增强视觉对比检查:新增文字标签颜色/字体大小一致性检查 2026-04-14 02:36:13 +00:00
90cf61a2f7 Merge pull request 'sync: 新增视觉对比快速入口检测,保留完整检查规则' (#32) from sync/d8d-skills-20260414-020813 into master
Reviewed-on: http://gitea.d8d.fun/d8dfun/bmad-method-template/pulls/32
2026-04-14 02:09:43 +00:00
zyh
74438bb994 sync: 新增视觉对比快速入口检测,保留完整检查规则 2026-04-14 02:08:28 +00:00
344f5c8c8c Merge pull request 'sync: add quick entry for user-provided screenshots in visual-diff-mode-pencil' (#31) from sync/d8d-skills-20260414-014415 into master
Reviewed-on: http://gitea.d8d.fun/d8dfun/bmad-method-template/pulls/31
2026-04-14 01:55:46 +00:00
yourname
9b55689a4d sync: add quick entry for user-provided screenshots in visual-diff-mode-pencil
新增前置快速入口检测:当用户直接提供两张图片 [Image #1] [Image #2] 时,跳过 PVD-0 准备阶段,直接进入对比分析流程。

支持语法:
- /d8d-dev 对比 [Image #1] [Image #2]
- /d8d-dev [Image #1] [Image #2]
2026-04-14 01:44:29 +00:00
6146561510 Merge pull request 'sync: visual-diff-pencil - improve detection accuracy (add name normalization, cross-validation, structure check)' (#30) from sync/d8d-skills-20260413-163204 into master
Reviewed-on: http://gitea.d8d.fun/d8dfun/bmad-method-template/pulls/30
2026-04-14 00:48:23 +00:00
3ecb10bafd Merge pull request 'sync: d8d-skills 20260413 - d8d-dev and d8d-prototype-to-pen updates' (#29) from sync/d8d-skills-20260413-142546 into master
Reviewed-on: http://gitea.d8d.fun/d8dfun/bmad-method-template/pulls/29
2026-04-14 00:46:53 +00:00
zyh
f932768e35 sync: visual-diff-pencil - add name normalization, pages.json cross-validation, structure check using .pen node tree
This improves detection accuracy:
1. Add name normalization for numbered design frame names (e.g., '12. Withdraw' → 'withdraw')
2. Add pages.json cross-validation to ensure no pages are missed
3. Add structure check using .pen node tree before visual comparison - detects missing blocks early
4. Add enforced checklist for correct difference counting - icon mismatch must be counted as moderate
5. Add examples for correct grading
2026-04-13 16:32:18 +00:00
yourname
1426364417 sync: d8d-skills sync 20260413 - no functional changes after pull 2026-04-13 14:26:01 +00:00
dcae6e6591 Merge pull request 'sync: visual-diff-mode-pencil 增加逐页门禁检查和 AUTO-FIX 循环' (#28) from sync/d8d-skills-20260413-142113 into master
Reviewed-on: http://gitea.d8d.fun/d8dfun/bmad-method-template/pulls/28
2026-04-13 14:23:51 +00:00
zyh
f36704be8d sync: visual-diff-mode-pencil 增加逐页门禁检查和 AUTO-FIX 循环
- Phase PVD-1 从批量对比改为逐页门禁循环(A→B→C→D→GATE-CHECK→AUTO-FIX)
- 新增 PAGE GATE-CHECK 门禁规则(critical>0 或 moderate>3 阻断)
- 新增 AUTO-FIX LOOP(max 3x per page,含代码定位、修复、重截、重比)
- AI 视觉对比从 ui_diff_check 工具改为 Read 工具双图分析
- 设计文件从 VividSpark1.2.pen 改为 ui.pen
- viewport 从固定 1440x900 改为按端区分(移动端 375x812 / 管理后台 1440x900)
- 报告增加修复统计和逐页记录
2026-04-13 14:22:30 +00:00
2a901aaa84 Merge pull request 'sync: d8d-dev 步骤级验证跟踪增强' (#27) from sync/d8d-skills-20260413-111750 into master
Reviewed-on: http://gitea.d8d.fun/d8dfun/bmad-method-template/pulls/27
2026-04-13 11:21:53 +00:00
yourname
b4cc100ed9 sync: d8d-dev 步骤级验证跟踪增强 — 预生成清单 + 结果持久化 + 步骤级门禁
变更文件:
- validation-mode.md: Phase 0V 生成 verification-checklist.yaml,E2E 每步记录 step_results/issues_detected/auto_fixes,GATE-CHECK 增加 SG1-SG3
- journey-mode.md: 旅程验证增加步骤级清单生成和跟踪,续跑支持步骤级恢复
- auto-fix-engine.md: 新增 5.5 节修复后步骤级状态更新规则
- visual-verification.md: 增加 step_id 关联和跨步骤累计追踪
2026-04-13 11:18:27 +00:00
3f965e9171 Merge pull request 'sync: d8d-prototype-to-pen 新增 Unsplash 图片处理策略' (#26) from sync/d8d-skills-20260413-022401 into master
Reviewed-on: http://gitea.d8d.fun/d8dfun/bmad-method-template/pulls/26
2026-04-13 02:26:48 +00:00
zyh
207b48c48e sync: d8d-prototype-to-pen 新增 Unsplash 图片处理策略
- 新增 2.5 提取图片信息步骤,支持 CORS 受限域名自动转换
- 新增 5.5 添加图片步骤,支持 Unsplash URL 和本地路径
- SKILL.md 新增图片处理 FAQ 和策略说明

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-13 02:24:55 +00:00
8066f513c7 Merge pull request 'sync: enforce per-step screenshot with correct path and .png extension' (#25) from sync/d8d-skills-20260412-151317 into master
Reviewed-on: http://gitea.d8d.fun/d8dfun/bmad-method-template/pulls/25
2026-04-12 15:19:28 +00:00
8ee0265052 Merge pull request 'sync: d8d-iterate 新增 completion 类型' (#24) from sync/d8d-skills-20260412-073503 into master
Reviewed-on: http://gitea.d8d.fun/d8dfun/bmad-method-template/pulls/24
2026-04-12 15:18:29 +00:00
yourname
0b54eb3146 sync: enforce per-step screenshot with correct path and .png extension in journey-mode
- Tool mapping table: "每条旅程至少1张" → "每个用户步骤必须截图"
- Prohibited behaviors: split into 2 specific violations (missing call + wrong path/ext)
- Pre-execution checklist: added per-step screenshot + filename format items
- Execution template: changed to tool-call format with explicit filename and type
- validation-mode: step 5 screenshot format aligned

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-12 15:13:56 +00:00
yourname
8c000e39ba sync: d8d-iterate 新增 completion 类型 — 自动检测并补跑上次迭代跳过的步骤
Phase 0 增加 3.7 上次迭代残留状态检查,Phase 1 新增 completion 最高优先级路由,
workflow 状态机和路由表增加 completion 分支。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-12 07:35:29 +00:00
ddbe180ccf Merge pull request 'sync: d8d-iterate Phase 5 旅程验证防跳过修复' (#23) from sync/d8d-skills-20260412-061022 into master
Reviewed-on: http://gitea.d8d.fun/d8dfun/bmad-method-template/pulls/23
2026-04-12 06:12:13 +00:00
d4163aecd5 Merge pull request 'sync: add mandatory pre-execution checklist for screenshots in journey mode' (#22) from sync/d8d-skills-20260412-060733 into master
Reviewed-on: http://gitea.d8d.fun/d8dfun/bmad-method-template/pulls/22
2026-04-12 06:11:40 +00:00
yourname
c2e1bfb032 sync: d8d-iterate Phase 5 旅程验证防跳过修复 — 路径定义+Step级进度+恢复协议 2026-04-12 06:10:38 +00:00
yourname
35e02b8070 sync: add mandatory pre-execution checklist for screenshots in journey mode
Adds a pre-execution checklist to prevent mistake where:
- browser_snapshot (DOM snapshot) was used instead of browser_take_screenshot (PNG)
- every user step must have browser_take_screenshot for visual verification
- violates any item = interrupt and fix before continuing

This prevents the error where only final screenshot was saved instead of every step.
2026-04-12 06:07:47 +00:00
c5972ffd98 Merge pull request 'sync: d8d-iterate git 变更自动检测 + d8d-dev 更新' (#21) from sync/d8d-skills-20260412-050316 into master
Reviewed-on: http://gitea.d8d.fun/d8dfun/bmad-method-template/pulls/21
2026-04-12 05:10:27 +00:00
655de6cfdb 更新 .claude/skills/d8d-dev/journey-mode.md 2026-04-12 05:10:02 +00:00
yourname
c6c0548828 sync: d8d-iterate 新增 git 代码变更自动检测智能路由 + d8d-dev journey/phase-00-setup 更新 2026-04-12 05:03:35 +00:00
4d91147908 Merge pull request 'sync: 更新d8d-dev技能' (#20) from sync/d8d-skills-20260412-025222 into master
Reviewed-on: http://gitea.d8d.fun/d8dfun/bmad-method-template/pulls/20
2026-04-12 03:14:20 +00:00
zyh
a874f07098 sync: 更新d8d-dev技能
- journey-mode.md: 新增旅程步骤原型/Pencil视觉对比验证章节
- phase-00-setup.md: 更新HMR降级策略,新增Next.js allowedDevOrigins外网域名配置章节
2026-04-12 02:52:42 +00:00
b70eae1dc1 Merge pull request 'sync: 添加Next.js allowedDevOrigins配置说明,更新HMR降级策略' (#19) from sync/d8d-skills-20260412-023116 into master
Reviewed-on: http://gitea.d8d.fun/d8dfun/bmad-method-template/pulls/19
2026-04-12 02:34:41 +00:00
yourname
6031c689de sync: 添加Next.js allowedDevOrigins配置说明,更新HMR降级策略
- 新增allowedDevOrigins配置说明,支持外网域名HMR热重载
- 更新HMR降级策略为备选方案,优先使用next dev开发体验更好
- 适配Next.js 15+的新特性
2026-04-12 02:31:23 +00:00
e10fd0e8b0 Merge pull request 'sync: d8d-dev 增加 Pencil MCP 直接对比模式 + 旅程验证动态状态对比' (#18) from sync/d8d-skills-20260410-121027 into master
Reviewed-on: http://gitea.d8d.fun/d8dfun/bmad-method-template/pulls/18
2026-04-10 12:17:52 +00:00
yourname
ba912eeb3e sync: d8d-dev 增加 Pencil MCP 直接对比模式 + 旅程验证动态状态对比
- 新增 visual-diff-mode-pencil.md:Pencil MCP 直接从 .pen 文件导出设计截图对比
- 更新 visual-diff-mode.md:支持双模式选择(Pencil MCP / HTML 原型)
- 更新 workflow.md:新增原型对比子模式表格 + --pencil/--html 参数支持
- 更新 journey-mode.md:视觉验证关卡增加原型/Pencil 动态状态对比验证

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-10 12:10:49 +00:00
67696284ae Merge pull request 'sync: ���� d8d-prototype-to-pen ����' (#17) from sync/d8d-skills-20260410-194529 into master
Reviewed-on: http://gitea.d8d.fun/d8dfun/bmad-method-template/pulls/17
2026-04-10 11:49:26 +00:00
e1fea5140a Merge pull request 'sync: d8d-iterate Phase 5 添加生产构建与外网域名验证步骤' (#16) from sync/d8d-skills-20260410-102830 into master
Reviewed-on: http://gitea.d8d.fun/d8dfun/bmad-method-template/pulls/16
2026-04-10 11:48:49 +00:00
zyh
f88b28a320 sync: 新增 d8d-prototype-to-pen 技能 — HTML原型转.pen设计文件
支持双管齐下(HTML解析+AI视觉分析),包含完整的7步工作流、
MCP模式参考和优化摘要。来自 bar-party-bmad-prototype 项目。
2026-04-10 19:46:19 +08:00
yourname
c7d066691f sync: d8d-iterate Phase 5 添加生产构建与外网域名验证步骤 (Step 5.0) 2026-04-10 10:28:59 +00:00
ab811b5ebe Merge pull request 'sync: 强化 d8d-iterate Phase 4→5 过渡指令' (#15) from sync/d8d-skills-20260410-092831 into master
Reviewed-on: http://gitea.d8d.fun/d8dfun/bmad-method-template/pulls/15
2026-04-10 09:39:15 +00:00
yourname
f2215c78fc sync: 强化 d8d-iterate Phase 4→5 过渡指令 2026-04-10 09:30:13 +00:00
f60d147160 Merge pull request 'sync: 旅程增量更新 + Skill 调用格式改进' (#14) from sync/d8d-skills-20260410-054406 into master
Reviewed-on: http://gitea.d8d.fun/d8dfun/bmad-method-template/pulls/14
2026-04-10 05:58:55 +00:00
Claude Code
d1ca9a0840 sync: 旅程增量更新 + 设计工具适配层 + Skill 调用格式改进
来自 merge-epics 项目的技能同步,包含:

d8d-iterate:
- phase-01: 影响评估增加旅程维度(affected_journeys)
- phase-02: 新增 Step 2.6 旅程定义增量更新
- phase-04/05: Skill 调用格式改进,添加核心规则和实际调用指令
- workflow: 状态机追加 update journeys,添加自动提交推送铁律

d8d-prototype:
- step-01: 设计文件检测优先级调整

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-10 05:45:18 +00:00
0c7bd7f06b Merge pull request 'sync: 设计工具适配层重构 — _d8d/ 抽象接口 + Pencil CLI 适配器' (#13) from sync/d8d-skills-20260409-063203 into master
Reviewed-on: http://gitea.d8d.fun/d8dfun/bmad-method-template/pulls/13
2026-04-09 22:08:10 +00:00
yourname
9dae3a2be6 sync: 设计工具适配层重构 — _d8d/ 抽象接口 + Pencil CLI 适配器 + 技能文件去 MCP 依赖
新增:
- _d8d/design-tool-adapter/interface.md: 5 个抽象操作接口
- _d8d/design-tool-adapter/adapters/pencil.md: Pencil CLI 实现

修改:
- d8d-prototype step-01/step-07: 去除 mcp__pencil 硬编码,改用适配层
- d8d-iterate phase-00/01/03: 新增设计文件变更检测和重新提取
- d8d-requirements phase-00/02/workflow: 设计文件检测改用适配层
- d8d-skills-sync: 新增 _d8d/ 目录同步支持

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-09 06:34:09 +00:00
Claude Code
4cbab2a266 sync: 补回 step-05 §5.2b Implementation Artifacts 展开式卡片规范 2026-04-09 02:36:09 +00:00
296c26c556 Merge pull request 'sync: d8d-dev 新增 Phase VD-3 视觉差异自动修复 + VISUAL-FIX 修复类别' (#12) from sync/d8d-skills-20260409-005515 into master
Reviewed-on: http://gitea.d8d.fun/d8dfun/bmad-method-template/pulls/12
2026-04-09 01:06:20 +00:00
yourname
b08676bdce sync: d8d-dev 新增 Phase VD-3 视觉差异自动修复 + VISUAL-FIX 修复类别
- visual-diff-mode.md: 新增 Phase VD-3 全量自动修复流程(全局修复→逐页修复→二次对比→最终报告)
- workflow.md: 更新模式流转逻辑,原型对比后自动修复;新增 visual_diff 状态判断
- auto-fix-engine.md: 新增 VISUAL-FIX 类别 V1-V5(主题/布局/品牌/组件/样式)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-09 00:57:59 +00:00