feat: devflow-claude P0/P1 集成 + VP 三件套强制规则 #3

Merged
qiudl merged 7 commits from feat/devflow-integration-p1-part1 into main 2026-04-20 23:51:03 +00:00
Owner

Summary

  • req-prd: PRD 模板新增「验收标准」章节,强制包含 VP-Data/VP-Steps/VP-Pass 三件套
  • req-review: 新增「VP 三件套强制检查」章节,结构检查表 VP 三件套升为必须项
  • req-prototype: HTML 上传模式 v2.0.0
  • install-skills.sh + 62 个插件安装元数据
  • 风险扫描 / 粒度判断 / Issue 集成 / PRD 校验 (REQ-20260416-0017 P1)
  • 客户场景章节 + pm-ask skill
  • devflow-claude P0 批机制

背景

REQ-20260421-0002: 防止 AI 开发者在无测试数据情况下声称 AC 通过,从模板和评审门禁两层拦截。

🤖 Generated with Claude Code

## Summary - req-prd: PRD 模板新增「验收标准」章节,强制包含 VP-Data/VP-Steps/VP-Pass 三件套 - req-review: 新增「VP 三件套强制检查」章节,结构检查表 VP 三件套升为必须项 - req-prototype: HTML 上传模式 v2.0.0 - install-skills.sh + 62 个插件安装元数据 - 风险扫描 / 粒度判断 / Issue 集成 / PRD 校验 (REQ-20260416-0017 P1) - 客户场景章节 + pm-ask skill - devflow-claude P0 批机制 ## 背景 REQ-20260421-0002: 防止 AI 开发者在无测试数据情况下声称 AC 通过,从模板和评审门禁两层拦截。 🤖 Generated with [Claude Code](https://claude.com/claude-code)
qiudl added 6 commits 2026-04-20 23:50:21 +00:00
P1-10: pm-risk skill — 三维度风险扫描
  需求层: 停滞/草稿滞留/开发无提交/测试超期/批准未开发
  代码层: 未合并分支/频繁修复文件/提交频率下降
  流程层: 跳过评审/PR 无 review/测试门禁跳过/直接推 main
  三级风险: 🔴 严重 / 🟡 警告 / 🔵 提示

P1-12: req-prd 需求粒度 AI 判断
  创建前启发式检查:标题过宽建议拆分、过窄建议合并或改 task
  粒度参考表 + 已有需求扩展决策表 + 前后端拆分规则

P1-13: dev-commit issue 集成规范
  分支名 -iN 后缀传递 issue 编号
  commit message 自动追加 closes #N

P1-14: hooks/validate-prd.sh — PRD 章节校验
  PostToolUse hook 自动检查 10 个必需章节
  缺失时给出明确提示

marketplace: 48 → 49 plugins (新增 pm-risk-plugin)
- 添加 /req prototype upload 子命令(推荐模式)
- 含完整 curl 上传流程、HTML 设计规范及模板
- 更新错误处理与版本管理说明
- marketplace 更新(49 个插件)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add install_name, install_type, dir_category fields to all 62 plugin.json files
  to resolve name-mapping and skill-vs-command routing issues
- Add install-skills.sh: idempotent cross-machine skill sync script
  - Routes skill→~/.claude/skills/<name>/, command→~/.claude/commands/<name>.md
  - rsync full skills/ directory (preserves multi-file skills like dev-test, req-deploy)
  - State file ~/.claude/.installed-skills.json tracks installed versions
  - Conflict detection: warns before overwriting locally modified files
  - --dry-run, --category, --force, --cleanup, --list flags
- Add 9 new plugins migrated from local ~/.claude (agent-swarm, ai-chat,
  defect-analysis, executing-plans, finishing-branch, frontend-design,
  req-audit, req-lookback, req-retro)
- Add update-plugin-meta.py helper used to bulk-update plugin.json
- Fix siyuan SKILL.md: remove hardcoded server credentials, use env vars

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
resolve_skills_src() detects when SKILL.md is one level deeper than skills/
and uses that subdirectory as rsync source instead.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- 结构检查表新增「VP 三件套」必须项
- 新增「VP 三件套强制检查」章节,含四项检查指标和驳回条件
- 常见驳回原因更新:验收不明包含 VP 缺失场景

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- 模板第7节新增「验收标准」章节,含 VP-Data/VP-Steps/VP-Pass 完整示例
- 检查清单「验收标准可测试」更新说明要求 VP 三件套
- 原第7节「风险评估」顺移为第8节

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
qiudl added 1 commit 2026-04-20 23:50:58 +00:00
qiudl merged commit 5a45916b2c into main 2026-04-20 23:51:03 +00:00
Sign in to join this conversation.