diff --git a/skills_library/pipelines/sdlc_general/common/bug-fix/SKILL.md b/skills_library/pipelines/sdlc_general/common/bug-fix/SKILL.md new file mode 100644 index 0000000..4c0d69b --- /dev/null +++ b/skills_library/pipelines/sdlc_general/common/bug-fix/SKILL.md @@ -0,0 +1,16 @@ +--- +name: bug-fix +description: 修复 Bug 能力——start_fix/fix_bug/list_bugs 工具集(agent.develop 用)。完整状态机见 bug 技能。 +capability: bug_fix_capability +tools: [start_fix, fix_bug, list_bugs] +--- + +# 修复 Bug 能力(agent.develop) + +## 职责 +- `start_fix`:confirmed → fixing(记录处理人) +- `fix_bug`:fixing → fixed(附修复说明 fix_description + fix_commit) +- `list_bugs`:查分配给自己的 Bug + +## 状态机 +完整流转见 `bug` 技能。 diff --git a/skills_library/pipelines/sdlc_general/common/bug-test/SKILL.md b/skills_library/pipelines/sdlc_general/common/bug-test/SKILL.md new file mode 100644 index 0000000..81e3b52 --- /dev/null +++ b/skills_library/pipelines/sdlc_general/common/bug-test/SKILL.md @@ -0,0 +1,17 @@ +--- +name: bug-test +description: 测试 Bug 能力——report_bug/verify_bug/close_bug/list_bugs 工具集(agent.test 用)。完整状态机见 bug 技能。 +capability: bug_test_capability +tools: [report_bug, verify_bug, close_bug, list_bugs] +--- + +# 测试 Bug 能力(agent.test) + +## 职责 +- `report_bug`:用例 fail 后上报 Bug,落库 sd_bugs(status=open) +- `verify_bug`:fixed → verified(验证修复生效) +- `close_bug`:verified → closed(关闭) +- `list_bugs`:查 Bug 清单 + +## 状态机 +完整流转见 `bug` 技能。 diff --git a/skills_library/pipelines/sdlc_general/common/bug/SKILL.md b/skills_library/pipelines/sdlc_general/common/bug/SKILL.md index 2e234d5..f7b4329 100644 --- a/skills_library/pipelines/sdlc_general/common/bug/SKILL.md +++ b/skills_library/pipelines/sdlc_general/common/bug/SKILL.md @@ -1,8 +1,6 @@ --- name: bug description: SDLC 产线默认 Bug 状态机规范——定义 Bug 状态、合法流转、角色→操作权限、严重度/优先级、关闭门禁。agent 处理 Bug 时据此操作,LLM 读本 skill 判断流转合法性。项目可同名 skill 覆盖。触发:上报/确认/修复/验证/关闭/驳回 Bug。 -capability: bug_capability -tools: [report_bug, confirm_bug, start_fix, fix_bug, verify_bug, close_bug, reject_bug, reopen_bug, list_bugs, set_bug_state] --- # Bug 状态机规范(SDLC 产线默认) diff --git a/skills_library/pipelines/sdlc_general/common/feature-dev/SKILL.md b/skills_library/pipelines/sdlc_general/common/feature-dev/SKILL.md new file mode 100644 index 0000000..4421425 --- /dev/null +++ b/skills_library/pipelines/sdlc_general/common/feature-dev/SKILL.md @@ -0,0 +1,16 @@ +--- +name: feature-dev +description: 开发功能能力——start_feature/deliver_feature/list_features 工具集(agent.develop 用)。完整状态机见 feature 技能。 +capability: feature_dev_capability +tools: [start_feature, deliver_feature, list_features] +--- + +# 开发功能能力(agent.develop) + +## 职责 +- `start_feature`:approved → in_progress(开始开发功能) +- `deliver_feature`:in_progress → delivered(开发完成交付验收) +- `list_features`:查自己负责开发的功能清单 + +## 状态机 +完整流转见 `feature` 技能。 diff --git a/skills_library/pipelines/sdlc_general/common/feature-propose/SKILL.md b/skills_library/pipelines/sdlc_general/common/feature-propose/SKILL.md new file mode 100644 index 0000000..cc55d72 --- /dev/null +++ b/skills_library/pipelines/sdlc_general/common/feature-propose/SKILL.md @@ -0,0 +1,16 @@ +--- +name: feature-propose +description: 提功能能力——propose_feature/list_features 工具集(agent.requirement 用)。需求拆解成功能点落库 sd_features。完整状态机见 feature 技能。 +capability: feature_propose_capability +tools: [propose_feature, list_features] +--- + +# 提功能能力(agent.requirement) + +## 职责 +- 需求拆解成功能点,用 `propose_feature` 落库 sd_features(status=proposed) +- 每个业务域的功能都要提,功能描述含输入/处理/输出/验收标准 +- 用 `list_features` 核对功能清单是否完整落库 + +## 状态机 +propose → proposed(功能诞生,待 pm approve)。完整流转见 `feature` 技能。 diff --git a/skills_library/pipelines/sdlc_general/common/feature-review/SKILL.md b/skills_library/pipelines/sdlc_general/common/feature-review/SKILL.md new file mode 100644 index 0000000..30c2582 --- /dev/null +++ b/skills_library/pipelines/sdlc_general/common/feature-review/SKILL.md @@ -0,0 +1,17 @@ +--- +name: feature-review +description: 审批功能能力——approve_feature/reject_feature/verify_feature/reopen_feature 工具集(agent.pm 用)。完整状态机见 feature 技能。 +capability: feature_review_capability +tools: [approve_feature, reject_feature, verify_feature, reopen_feature] +--- + +# 审批功能能力(agent.pm) + +## 职责 +- `approve_feature`:proposed → approved(需求评审通过,功能描述清晰 + 验收标准明确) +- `reject_feature`:proposed/approved → rejected(驳回附意见) +- `verify_feature`:delivered → verified(验收通过,功能满足验收标准且关联 Bug 清零) +- `reopen_feature`:rejected/verified → proposed(回炉重新打开) + +## 状态机 +完整流转见 `feature` 技能。 diff --git a/skills_library/pipelines/sdlc_general/common/feature/SKILL.md b/skills_library/pipelines/sdlc_general/common/feature/SKILL.md index 3c2ac2d..aead12a 100644 --- a/skills_library/pipelines/sdlc_general/common/feature/SKILL.md +++ b/skills_library/pipelines/sdlc_general/common/feature/SKILL.md @@ -1,8 +1,6 @@ --- name: feature description: SDLC 产线默认功能/需求状态机规范——定义功能状态、合法流转、角色→操作权限、门禁、验收标准。agent 处理功能时据此操作,LLM 读本 skill 判断流转合法性。项目可同名 skill 覆盖。触发:提出/审批/开发/交付/验证功能,或用户提到新功能、需求拆解、功能验收。 -capability: feature_capability -tools: [propose_feature, approve_feature, reject_feature, start_feature, deliver_feature, verify_feature, reopen_feature, list_features, set_feature_state] --- # 功能/需求状态机规范(SDLC 产线默认) diff --git a/skills_library/pipelines/sdlc_general/roles/agent.develop/role/SKILL.md b/skills_library/pipelines/sdlc_general/roles/agent.develop/role/SKILL.md index 3d790cd..2e1b425 100644 --- a/skills_library/pipelines/sdlc_general/roles/agent.develop/role/SKILL.md +++ b/skills_library/pipelines/sdlc_general/roles/agent.develop/role/SKILL.md @@ -1,7 +1,7 @@ --- name: role description: 开发工程师角色定义——职责 + 应遵守的开发规范列表(module-development-spec/database-table-definition-spec/crud-definition-spec/web-application-spec/sqlor-database-module,需时 load_skill 加载全文)。 -capability: feature_capability +capability: feature_dev_capability, bug_fix_capability --- # 开发工程师(develop)角色定义 diff --git a/skills_library/pipelines/sdlc_general/roles/agent.requirement/role/SKILL.md b/skills_library/pipelines/sdlc_general/roles/agent.requirement/role/SKILL.md index 56cd823..f4ebb8c 100644 --- a/skills_library/pipelines/sdlc_general/roles/agent.requirement/role/SKILL.md +++ b/skills_library/pipelines/sdlc_general/roles/agent.requirement/role/SKILL.md @@ -1,7 +1,7 @@ --- name: role description: 需求分析师角色定义——职责(拆解需求提功能落库 sd_features、需求文档、识别应用)+ 应遵守的规范列表(project-directory-spec/sdlc-repo-standard,需时 load_skill)。 -capability: feature_capability +capability: feature_propose_capability --- # 需求分析师(requirement)角色定义 diff --git a/skills_library/pipelines/sdlc_general/roles/agent.test/role/SKILL.md b/skills_library/pipelines/sdlc_general/roles/agent.test/role/SKILL.md index 3aa7d2e..0967b23 100644 --- a/skills_library/pipelines/sdlc_general/roles/agent.test/role/SKILL.md +++ b/skills_library/pipelines/sdlc_general/roles/agent.test/role/SKILL.md @@ -1,7 +1,7 @@ --- name: role description: 测试工程师角色定义——职责(冒烟测试检查环境可用性→建测试计划/用例落库→真实执行→失败建 Bug)+ 应遵守的规范列表(需时 load_skill)。 -capability: test_plan_capability, test_case_capability, bug_capability +capability: test_plan_capability, test_case_capability, bug_test_capability --- # 测试工程师(test)角色定义