Commit Graph

76 Commits

Author SHA1 Message Date
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
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
b583d577c7 Merge pull request 'sync: d8d-prototype 文档验证缺陷链修复 — step-05/06/07' (#11) from sync/d8d-prototype-validation-fixes-20260409-004202 into master
Reviewed-on: http://gitea.d8d.fun/d8dfun/bmad-method-template/pulls/11
2026-04-09 00:47:19 +00:00
yourname
6c3c676ca5 sync: d8d-prototype 文档验证缺陷链修复 — step-05/06/07
Step 5: 引入 doc-registry.js 单一数据源,消除双写不一致
Step 6: server.js 路由白名单动态覆盖所有文档路径前缀
Step 7: 新增文档内容深度验证,强制遍历每个 view-doc 页面

根因: 旧版 Step 5 双写 DOC_MAP、Step 6 硬编码路由、
Step 7 只截图列表页不深入文档内容,导致文档 404 未被发现
2026-04-09 00:43:05 +00:00
f8fe098f55 Merge pull request 'sync: 铁律六 — 页面变更必须同步原型 + 关联页面同步机制' (#10) from sync/d8d-skills-20260408-123921 into master
Reviewed-on: http://gitea.d8d.fun/d8dfun/bmad-method-template/pulls/10
2026-04-08 12:44:51 +00:00
yourname
fe6985b4a0 sync: 铁律六 — 页面变更必须同步原型 + 关联页面同步机制
变更内容:
- d8d-dev: 新增铁律六(页面变更必须同步原型)+ 关卡5质量检查
- d8d-iterate phase-01: feature+新UI 路由强制走 Phase 3(拆分 low-risk 有无新UI)
- d8d-iterate phase-03: MANDATORY 标记 + 文档中心更新(Step 3.5) + 关联页面同步(Step 3.6)
- d8d-iterate workflow: 状态机和路由表更新
- d8d-prototype workflow: [P]/[A] 增量模式增加关联页面同步 + 入口页重生成
2026-04-08 12:41:10 +00:00
4ecce271ae Merge pull request 'sync: d8d-prototype 新增 Step 8 自动提交推送步骤' (#9) from sync/d8d-skills-20260408-085002 into master
Reviewed-on: http://gitea.d8d.fun/d8dfun/bmad-method-template/pulls/9
2026-04-08 08:53:43 +00:00
yourname
1c9ac0b941 sync: d8d-prototype 新增 Step 8 自动提交推送步骤
- 新增 step-08-commit.md: 技能执行完成后自动 git commit + push
- 更新 workflow.md 步骤表: 增加 Step 8,增量路径 [D]/[P]/[A] 指向 step-08
- 更新 step-07/step-05b: 末尾指向 step-08-commit.md

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-08 08:50:53 +00:00
d95d327f38 Merge pull request 'sync: d8d-iterate Phase 3 利用原型增量更新能力' (#8) from sync/d8d-skills-20260408-075904 into master
Reviewed-on: http://gitea.d8d.fun/d8dfun/bmad-method-template/pulls/8
2026-04-08 08:01:04 +00:00
yourname
2c1b347820 sync: d8d-iterate Phase 3 利用原型增量更新能力 [D]/[P]/[A]
对齐 d8d-prototype 的增量更新选项,增加首次生成/续跑/增量三种状态判断,
支持 [D] 文档中心更新、[P] 特定页面更新、[A] 全部更新三种模式。
2026-04-08 07:59:42 +00:00
70e54f9c38 Merge pull request 'sync: 新增 d8d-iterate 需求迭代自动化编排技能' (#7) from sync/d8d-skills-20260408-072830 into master
Reviewed-on: http://gitea.d8d.fun/d8dfun/bmad-method-template/pulls/7
2026-04-08 07:30:50 +00:00
yourname
0b6ae1512b sync: 新增 d8d-iterate 需求迭代自动化编排技能
需求迭代的智能路由器,根据变更类型(feature/bugfix/refactor/
greenfield/regression/design)自动编排 d8d-requirements/d8d-prototype/
d8d-dev 的增量执行路径。

6 个 Phase:项目扫描 → 变更分析 → 文档增量更新 → 原型更新 →
增量开发 → 回归验证+旅程验证。全程零人工干预。
2026-04-08 07:29:00 +00:00
8be950bcad Merge pull request 'sync: 迭代文档更新模式 + implementation-artifacts + 强制验证门禁' (#6) from sync/d8d-skills-20260408-071911 into master
Reviewed-on: http://gitea.d8d.fun/d8dfun/bmad-method-template/pulls/6
2026-04-08 07:25:20 +00:00
5239c5d22d Merge pull request 'sync: 添加 HMR 降级策略 §7.1 — E2E 测试时 next dev → next start' (#5) from sync/d8d-skills-20260408-043602 into master
Reviewed-on: http://gitea.d8d.fun/d8dfun/bmad-method-template/pulls/5
2026-04-08 07:22:41 +00:00
yourname
92bf47ffcc sync: 迭代文档更新模式 + implementation-artifacts 支持 + 强制验证门禁 + phase-03 平台检查
## 变更内容
- d8d-prototype/workflow.md: [U] 增量更新细分为 [D]/[P]/[A] 子选项 + evidence 格式 + 验证门禁
- d8d-prototype/step-05: 扫描范围增加 implementation-artifacts/ + 文档分组策略
- d8d-prototype/step-05b: 新增迭代文档更新步骤(d8d-dev 产物自动发现)
- d8d-prototype/step-06: server.js 模板添加 .yaml/.yml MIME 类型
- d8d-prototype/step-07: 合并强制验证门禁(禁止 curl 替代截图)
- d8d-dev/phase-03: 多应用/单应用检查 + Next.js/uni-app 平台专项检测

## 测试
- [ ] 在新项目中运行 SETUP 阶段验证
- [ ] 执行 /d8d-prototype 后选择 [U] → [D] 验证文档中心更新
2026-04-08 07:19:51 +00:00
yourname
d26f470d57 sync: 添加 HMR 降级策略 §7.1 — E2E 测试时 next dev → next start 2026-04-08 04:36:17 +00:00
5bd98cb8d1 Merge pull request 'sync: d8d-skills-sync 双向同步(先拉后推)' (#4) from sync/d8d-skills-20260408-024009 into master
Reviewed-on: http://gitea.d8d.fun/d8dfun/bmad-method-template/pulls/4
2026-04-08 02:46:22 +00:00
yourname
a723842fec sync: d8d-skills-sync 增加双向同步 — 先拉后推防止回退模板更新
新增 Step 2.5:检测并拉取模板独有更新到项目后再推送,
防止单向覆盖回退其他项目已同步的模板更新。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-08 02:41:03 +00:00
62c7d0eac1 Merge pull request 'feat: 新增 d8d-skills-sync 技能' (#3) from sync/d8d-skills-20260408-022206 into master
Reviewed-on: http://gitea.d8d.fun/d8dfun/bmad-method-template/pulls/3
2026-04-08 02:35:39 +00:00
yourname
ee0b8daeee feat: 新增 d8d-skills-sync 技能 — 自动同步 d8d-* 技能到模板仓库
新技能 d8d-skills-sync,自动检测项目中所有 d8d-* 技能目录与模板仓库的差异,
创建分支、同步文件、推送并创建 PR。包含自身在内。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-08 02:25:49 +00:00
da2a2173af Merge pull request 'fix(skill): 添加 project-slug 推导规则,防止 NPM 域名配置错误' (#1) from fix/add-project-slug-derivation-rule into master
Reviewed-on: http://gitea.d8d.fun/d8dfun/bmad-method-template/pulls/1
2026-04-08 02:11:31 +00:00
yourname
8aaef77197 fix(skill): WebSocket 配置独立为必检步骤,防止已有域名跳过
根因:WebSocket 配置写在"创建缺失域名"的子步骤中,已有域名时被跳过。
修复:将 WebSocket 检查(block_exploits + allow_websocket_upgrade)独立为
对所有 proxy hosts 的必检步骤,提供 NPM API fallback 方案。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-08 01:42:58 +00:00
yourname
5e1b1c26a1 fix(skill): 添加 project-slug 推导规则,防止域名配置错误
phase-00-setup.md 新增 slug 推导规则:
取项目根目录名(basename of pwd)+ `-group` 后缀,
禁止从项目描述或 PRD 内容猜测。

根因:setup 阶段因缺少推导规则,AI 猜测 slug 为 map-collector
而非正确的 231-251-template-6-group,导致 NPM 域名配置错误。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-08 01:28:00 +00:00
yourname
ad11fef195 sync: 旅程验证增加资源加载状态检查 + MinIO dual S3Client + §9 资源可访问性
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-07 14:24:26 +00:00
yourname
ecb26b8b0f sync: 更新 MinIO §8 — dual S3Client 模式(禁止字符串替换域名)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-07 13:55:07 +00:00
yourname
c8b9860d74 sync: d8d-dev 技能更新 — NPM 代理配置 + MinIO 外网地址注入
- phase-00-setup.md: 步骤 4.5 NPM block_exploits/WebSocket, 步骤 4.8 MinIO 外网地址
- platform-nextjs.md: §7 NPM 代理配置, §8 MinIO 外网地址配置

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-07 13:23:31 +00:00
yourname
53edbac9cf fix: NPM 代理配置 block_exploits=false + WebSocket Support (§7) 2026-04-07 12:27:32 +00:00
yourname
60bb25b366 fix(skill): 加强 d8d-prototype 技能步骤执行纪律
三个改进防止步骤被跳过或简化执行:

1. workflow.md 增加"步骤完成门禁"机制:
   - 每个步骤必须提供 evidence 才能标记完成
   - Step 7 强制要求 Playwright 截图 + ZAI 图片分析
   - 明确列出禁止的替代行为

2. step-03 更新桌面端 iframe 缩放模板:
   - 添加 min-width:0 防止 iframe 撑开 grid 列宽
   - display:block 去除 iframe 底部间隙

3. step-07 增加"强制验证"声明:
   - 文件开头明确禁止 curl 替代截图
   - 规定必须按顺序执行:截图→分析→修复→报告

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-07 11:51:11 +00:00