6aspec 2.0.0-dev.9 → 3.0.0-dev.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (141) hide show
  1. package/.6aspec/rules/biz/code.md +126 -28
  2. package/.6aspec/rules/biz/code_implementation_sop.md +77 -0
  3. package/.6aspec/rules/brown/brown_analyze_sop.md +294 -0
  4. package/.6aspec/rules/brown/brown_archive_sop.md +44 -78
  5. package/.6aspec/rules/brown/brown_constitution.md +11 -0
  6. package/.6aspec/rules/brown/brown_continue_sop.md +7 -16
  7. package/.6aspec/rules/brown/brown_design_sop.md +210 -95
  8. package/.6aspec/rules/brown/brown_explore_sop.md +314 -0
  9. package/.6aspec/rules/brown/brown_ff_sop.md +27 -64
  10. package/.6aspec/rules/brown/brown_impact_sop.md +101 -45
  11. package/.6aspec/rules/brown/brown_implement_sop.md +91 -58
  12. package/.6aspec/rules/brown/brown_list_sop.md +12 -12
  13. package/.6aspec/rules/brown/brown_new_sop.md +64 -81
  14. package/.6aspec/rules/brown/brown_proposal_sop.md +243 -76
  15. package/.6aspec/rules/brown/brown_quick_sop.md +6 -6
  16. package/.6aspec/rules/brown/brown_review_sop.md +4 -4
  17. package/.6aspec/rules/brown/brown_rollback_sop.md +29 -51
  18. package/.6aspec/rules/brown/brown_specs_sop.md +364 -120
  19. package/.6aspec/rules/brown/brown_status_sop.md +16 -32
  20. package/.6aspec/rules/brown/brown_tasks_sop.md +194 -87
  21. package/.6aspec/rules/brown/brown_understand_sop.md +97 -23
  22. package/.6aspec/rules/brown/brown_update_sop.md +278 -0
  23. package/.6aspec/rules/brown/brown_verify_sop.md +71 -309
  24. package/.6aspec/rules/brown/subagents/implementer.md +73 -0
  25. package/.6aspec/rules/brown/subagents/spec-compliance-reviewer.md +103 -0
  26. package/.6aspec/rules/common/code-reviewer-agent.md +118 -0
  27. package/.6aspec/rules/green/{6A_archive_sop.md → green_archive_sop.md} +3 -3
  28. package/.6aspec/rules/green/{6A_clarify_sop.md → green_clarify_sop.md} +1 -1
  29. package/.6aspec/rules/green/{6A_code_implementation_sop.md → green_code_implementation_sop.md} +18 -3
  30. package/.6aspec/rules/green/{6A_continue_sop.md → green_continue_sop.md} +3 -3
  31. package/.6aspec/rules/green/{6A_new_sop.md → green_new_sop.md} +90 -11
  32. package/.6aspec/rules/green/green_status_schema.md +4 -4
  33. package/.6aspec/rules/green/{6A_status_sop.md → green_status_sop.md} +3 -3
  34. package/.6aspec/rules/green/{6A_tasks_sop.md → green_tasks_sop.md} +1 -1
  35. package/.agents/skills/6aspec-brown-analyze/SKILL.md +10 -0
  36. package/.agents/skills/6aspec-brown-archive/SKILL.md +10 -0
  37. package/.agents/skills/6aspec-brown-continue/SKILL.md +10 -0
  38. package/.agents/skills/6aspec-brown-design/SKILL.md +10 -0
  39. package/.agents/skills/6aspec-brown-explore/SKILL.md +10 -0
  40. package/.agents/skills/6aspec-brown-ff/SKILL.md +10 -0
  41. package/.agents/skills/6aspec-brown-implement/SKILL.md +10 -0
  42. package/.agents/skills/6aspec-brown-list/SKILL.md +10 -0
  43. package/.agents/skills/6aspec-brown-new/SKILL.md +10 -0
  44. package/.agents/skills/6aspec-brown-proposal/SKILL.md +10 -0
  45. package/.agents/skills/6aspec-brown-quick/SKILL.md +10 -0
  46. package/.agents/skills/6aspec-brown-review/SKILL.md +10 -0
  47. package/.agents/skills/6aspec-brown-rollback/SKILL.md +10 -0
  48. package/.agents/skills/6aspec-brown-specs/SKILL.md +10 -0
  49. package/.agents/skills/6aspec-brown-status/SKILL.md +10 -0
  50. package/.agents/skills/6aspec-brown-tasks/SKILL.md +10 -0
  51. package/.agents/skills/6aspec-brown-update/SKILL.md +10 -0
  52. package/.agents/skills/6aspec-brown-verify/SKILL.md +10 -0
  53. package/.claude/agents/6aspec-brown-implementer.md +7 -0
  54. package/.claude/agents/6aspec-brown-spec-compliance-reviewer.md +7 -0
  55. package/.claude/agents/6aspec-code-reviewer.md +7 -0
  56. package/.claude/commands/6aspec/brown/{impact.md → analyze.md} +11 -11
  57. package/.claude/commands/6aspec/brown/archive.md +11 -11
  58. package/.claude/commands/6aspec/brown/continue.md +11 -11
  59. package/.claude/commands/6aspec/brown/design.md +11 -11
  60. package/.claude/commands/6aspec/brown/{understand.md → explore.md} +11 -11
  61. package/.claude/commands/6aspec/brown/ff.md +11 -11
  62. package/.claude/commands/6aspec/brown/implement.md +11 -11
  63. package/.claude/commands/6aspec/brown/list.md +11 -11
  64. package/.claude/commands/6aspec/brown/new.md +11 -11
  65. package/.claude/commands/6aspec/brown/proposal.md +11 -11
  66. package/.claude/commands/6aspec/brown/quick.md +11 -11
  67. package/.claude/commands/6aspec/brown/review.md +11 -11
  68. package/.claude/commands/6aspec/brown/specs.md +1 -1
  69. package/.claude/commands/6aspec/brown/status.md +11 -11
  70. package/.claude/commands/6aspec/brown/tasks.md +11 -11
  71. package/.claude/commands/6aspec/brown/update.md +11 -0
  72. package/.claude/commands/6aspec/brown/verify.md +11 -11
  73. package/.claude/commands/6aspec/code.md +10 -0
  74. package/.claude/commands/6aspec/green/archive.md +1 -1
  75. package/.claude/commands/6aspec/green/clarify.md +2 -2
  76. package/.claude/commands/6aspec/green/continue.md +1 -1
  77. package/.claude/commands/6aspec/green/design.md +2 -2
  78. package/.claude/commands/6aspec/green/{execute-task.md → implement.md} +1 -1
  79. package/.claude/commands/6aspec/green/import-model-table.md +1 -1
  80. package/.claude/commands/6aspec/green/init.md +2 -2
  81. package/.claude/commands/6aspec/green/model.md +2 -2
  82. package/.claude/commands/6aspec/green/new.md +2 -2
  83. package/.claude/commands/6aspec/green/rollback.md +1 -1
  84. package/.claude/commands/6aspec/green/status.md +1 -1
  85. package/.claude/commands/6aspec/green/tasks.md +2 -2
  86. package/.claude/commands/6aspec/green/visual-logic.md +2 -2
  87. package/.claude/commands/6aspec/review.md +56 -0
  88. package/.codex/agents/6aspec-brown-implementer.md +7 -0
  89. package/.codex/agents/6aspec-brown-spec-compliance-reviewer.md +7 -0
  90. package/.codex/agents/6aspec-code-reviewer.md +7 -0
  91. package/.cursor/agents/6aspec-brown-implementer.md +7 -0
  92. package/.cursor/agents/6aspec-brown-spec-compliance-reviewer.md +8 -0
  93. package/.cursor/agents/6aspec-code-reviewer.md +8 -0
  94. package/.cursor/commands/6aspec-brown-analyze.md +9 -0
  95. package/.cursor/commands/{6aspec/brown/design.md → 6aspec-brown-design.md} +1 -1
  96. package/.cursor/commands/6aspec-brown-explore.md +11 -0
  97. package/.cursor/commands/{6aspec/brown/quick.md → 6aspec-brown-quick.md} +1 -1
  98. package/.cursor/commands/{6aspec/brown/review.md → 6aspec-brown-review.md} +1 -1
  99. package/.cursor/commands/{6aspec/brown/specs.md → 6aspec-brown-specs.md} +1 -1
  100. package/.cursor/commands/{6aspec/brown/tasks.md → 6aspec-brown-tasks.md} +1 -1
  101. package/.cursor/commands/6aspec-brown-update.md +9 -0
  102. package/.cursor/commands/6aspec-code.md +8 -0
  103. package/.cursor/commands/{6aspec/green/archive.md → 6aspec-green-archive.md} +1 -1
  104. package/.cursor/commands/{6aspec/green/clarify.md → 6aspec-green-clarify.md} +2 -2
  105. package/.cursor/commands/{6aspec/green/continue.md → 6aspec-green-continue.md} +1 -1
  106. package/.cursor/commands/{6aspec/green/design.md → 6aspec-green-design.md} +2 -2
  107. package/.cursor/commands/{6aspec/green/execute-task.md → 6aspec-green-implement.md} +1 -1
  108. package/.cursor/commands/{6aspec/green/import-model-table.md → 6aspec-green-import-model-table.md} +1 -1
  109. package/.cursor/commands/{6aspec/green/init.md → 6aspec-green-init.md} +2 -2
  110. package/.cursor/commands/{6aspec/green/model.md → 6aspec-green-model.md} +2 -2
  111. package/.cursor/commands/{6aspec/green/new.md → 6aspec-green-new.md} +2 -2
  112. package/.cursor/commands/{6aspec/green/rollback.md → 6aspec-green-rollback.md} +1 -1
  113. package/.cursor/commands/{6aspec/green/status.md → 6aspec-green-status.md} +1 -1
  114. package/.cursor/commands/{6aspec/green/tasks.md → 6aspec-green-tasks.md} +2 -2
  115. package/.cursor/commands/{6aspec/green/visual-logic.md → 6aspec-green-visual-logic.md} +2 -2
  116. package/.cursor/commands/6aspec-review.md +56 -0
  117. package/README.md +1 -1
  118. package/lib/cli.js +49 -13
  119. package/lib/installer.js +93 -25
  120. package/package.json +3 -1
  121. package/.claude/settings.local.json +0 -8
  122. package/.cursor/commands/6aspec/brown/impact.md +0 -9
  123. package/.cursor/commands/6aspec/brown/understand.md +0 -9
  124. /package/.6aspec/rules/green/{6A_constitution.md → green_constitution.md} +0 -0
  125. /package/.6aspec/rules/green/{6A_design_sop.md → green_design_sop.md} +0 -0
  126. /package/.6aspec/rules/green/{6A_import_model_table_sop.md → green_import_model_table_sop.md} +0 -0
  127. /package/.6aspec/rules/green/{6A_init_event_list_sop.md → green_init_event_list_sop.md} +0 -0
  128. /package/.6aspec/rules/green/{6A_init_map_sop.md → green_init_map_sop.md} +0 -0
  129. /package/.6aspec/rules/green/{6A_model_sop.md → green_model_sop.md} +0 -0
  130. /package/.6aspec/rules/green/{6A_rollback_sop.md → green_rollback_sop.md} +0 -0
  131. /package/.6aspec/rules/green/{6A_visual_logic_sop.md → green_visual_logic_sop.md} +0 -0
  132. /package/.cursor/commands/{6aspec/brown/archive.md → 6aspec-brown-archive.md} +0 -0
  133. /package/.cursor/commands/{6aspec/brown/continue.md → 6aspec-brown-continue.md} +0 -0
  134. /package/.cursor/commands/{6aspec/brown/ff.md → 6aspec-brown-ff.md} +0 -0
  135. /package/.cursor/commands/{6aspec/brown/implement.md → 6aspec-brown-implement.md} +0 -0
  136. /package/.cursor/commands/{6aspec/brown/list.md → 6aspec-brown-list.md} +0 -0
  137. /package/.cursor/commands/{6aspec/brown/new.md → 6aspec-brown-new.md} +0 -0
  138. /package/.cursor/commands/{6aspec/brown/proposal.md → 6aspec-brown-proposal.md} +0 -0
  139. /package/.cursor/commands/{6aspec/brown/rollback.md → 6aspec-brown-rollback.md} +0 -0
  140. /package/.cursor/commands/{6aspec/brown/status.md → 6aspec-brown-status.md} +0 -0
  141. /package/.cursor/commands/{6aspec/brown/verify.md → 6aspec-brown-verify.md} +0 -0
@@ -0,0 +1,7 @@
1
+ ---
2
+ name: 6aspec-brown-spec-compliance-reviewer
3
+ description: 检查实现是否符合 TASK 的验收标准和 specs.md 的 AC/Scenario,适用于 TASK 完成后的合规验收
4
+ model: gpt-5.3-codex
5
+ ---
6
+
7
+ 读取并严格遵循:`.6aspec/rules/brown/subagents/spec-compliance-reviewer.md`
@@ -0,0 +1,7 @@
1
+ ---
2
+ name: 6aspec-code-reviewer
3
+ description: 审查代码变更的生产就绪性,从代码质量、架构、测试、需求符合度四个维度评估,给出明确的合并建议
4
+ model: gpt-5.3-codex
5
+ ---
6
+
7
+ 读取并严格遵循:`.6aspec/rules/common/code-reviewer-agent.md`
@@ -1,11 +1,11 @@
1
- ---
2
- name: "6aspec:brown: Impact"
3
- description: Phase 2 - 影响面分析与非功能需求评估
4
- category: Workflow
5
- tags: [workflow, requirement, analysis]
6
- ---
7
-
8
- 1. Immediate response upon activation: brown field requirement workflow - **Impact** has been activated
9
- 2. **Read and strictly follow the brown field constitution**: `.6aspec/rules/brown/brown_constitution.md`
10
- 3. Read file: `.6aspec/rules/brown/brown_impact_sop.md`
11
- 4. Strictly follow the SOP defined in that file
1
+ ---
2
+ name: "6aspec:brown: Analyze"
3
+ description: 需求澄清与影响面分析(合并原 Understand + Impact)
4
+ category: Workflow
5
+ tags: [workflow, requirement, analysis]
6
+ ---
7
+
8
+ 1. Immediate response upon activation: brown field requirement workflow - **Analyze** has been activated
9
+ 2. **Read and strictly follow the brown field constitution**: `.6aspec/rules/brown/brown_constitution.md`
10
+ 3. Read file: `.6aspec/rules/brown/brown_analyze_sop.md`
11
+ 4. Strictly follow the SOP defined in that file
@@ -1,11 +1,11 @@
1
- ---
2
- name: "6aspec:brown: Archive"
3
- description: 归档已完成的需求
4
- category: Workflow
5
- tags: [workflow, requirement, archive]
6
- ---
7
-
8
- 1. Immediate response upon activation: brown field requirement workflow - **Archive** has been activated
9
- 2. **Read and strictly follow the brown field constitution**: `.6aspec/rules/brown/brown_constitution.md`
10
- 3. Read file: `.6aspec/rules/brown/brown_archive_sop.md`
11
- 4. Strictly follow the SOP defined in that file
1
+ ---
2
+ name: "6aspec:brown: Archive"
3
+ description: 归档已完成的需求
4
+ category: Workflow
5
+ tags: [workflow, requirement, archive]
6
+ ---
7
+
8
+ 1. Immediate response upon activation: brown field requirement workflow - **Archive** has been activated
9
+ 2. **Read and strictly follow the brown field constitution**: `.6aspec/rules/brown/brown_constitution.md`
10
+ 3. Read file: `.6aspec/rules/brown/brown_archive_sop.md`
11
+ 4. Strictly follow the SOP defined in that file
@@ -1,11 +1,11 @@
1
- ---
2
- name: "6aspec:brown: Continue"
3
- description: 继续当前需求的下一个阶段
4
- category: Workflow
5
- tags: [workflow, requirement]
6
- ---
7
-
8
- 1. Immediate response upon activation: brown field requirement workflow - **Continue** has been activated
9
- 2. **Read and strictly follow the brown field constitution**: `.6aspec/rules/brown/brown_constitution.md`
10
- 3. Read file: `.6aspec/rules/brown/brown_continue_sop.md`
11
- 4. Strictly follow the SOP defined in that file
1
+ ---
2
+ name: "6aspec:brown: Continue"
3
+ description: 继续当前需求的下一个阶段
4
+ category: Workflow
5
+ tags: [workflow, requirement]
6
+ ---
7
+
8
+ 1. Immediate response upon activation: brown field requirement workflow - **Continue** has been activated
9
+ 2. **Read and strictly follow the brown field constitution**: `.6aspec/rules/brown/brown_constitution.md`
10
+ 3. Read file: `.6aspec/rules/brown/brown_continue_sop.md`
11
+ 4. Strictly follow the SOP defined in that file
@@ -1,11 +1,11 @@
1
- ---
2
- name: "6aspec:brown: Design"
3
- description: Phase 3 - 技术方案设计(含 ADR 和技术债务识别)
4
- category: Workflow
5
- tags: [workflow, requirement, design]
6
- ---
7
-
8
- 1. Immediate response upon activation: brown field requirement workflow - **Design** has been activated
9
- 2. **Read and strictly follow the brown field constitution**: `.6aspec/rules/brown/brown_constitution.md`
10
- 3. Read file: `.6aspec/rules/brown/brown_design_sop.md`
11
- 4. Strictly follow the SOP defined in that file
1
+ ---
2
+ name: "6aspec:brown: Design"
3
+ description: 技术方案设计(含 ADR 和技术债务识别)
4
+ category: Workflow
5
+ tags: [workflow, requirement, design]
6
+ ---
7
+
8
+ 1. Immediate response upon activation: brown field requirement workflow - **Design** has been activated
9
+ 2. **Read and strictly follow the brown field constitution**: `.6aspec/rules/brown/brown_constitution.md`
10
+ 3. Read file: `.6aspec/rules/brown/brown_design_sop.md`
11
+ 4. Strictly follow the SOP defined in that file
@@ -1,11 +1,11 @@
1
- ---
2
- name: "6aspec:brown: Understand"
3
- description: Phase 1 - 需求理解与现状分析
4
- category: Workflow
5
- tags: [workflow, requirement, analysis]
6
- ---
7
-
8
- 1. Immediate response upon activation: brown field requirement workflow - **Understand** has been activated
9
- 2. **Read and strictly follow the brown field constitution**: `.6aspec/rules/brown/brown_constitution.md`
10
- 3. Read file: `.6aspec/rules/brown/brown_understand_sop.md`
11
- 4. Strictly follow the SOP defined in that file
1
+ ---
2
+ name: "6aspec:brown: Explore"
3
+ description: 前期探索(轻量级流程可选)
4
+ category: Workflow
5
+ tags: [workflow, explore, lightweight, brownfield]
6
+ ---
7
+
8
+ 1. Immediate response upon activation: brown field requirement workflow - **Explore** has been activated
9
+ 2. **Read and strictly follow the brown field constitution**: `.6aspec/rules/brown/brown_constitution.md`
10
+ 3. Read file: `.6aspec/rules/brown/brown_explore_sop.md`
11
+ 4. Strictly follow the SOP defined in that file
@@ -1,11 +1,11 @@
1
- ---
2
- name: "6aspec:brown: Fast Forward"
3
- description: 快速完成分析阶段(根据流程深度)
4
- category: Workflow
5
- tags: [workflow, requirement]
6
- ---
7
-
8
- 1. Immediate response upon activation: brown field requirement workflow - **Fast Forward** has been activated
9
- 2. **Read and strictly follow the brown field constitution**: `.6aspec/rules/brown/brown_constitution.md`
10
- 3. Read file: `.6aspec/rules/brown/brown_ff_sop.md`
11
- 4. Strictly follow the SOP defined in that file
1
+ ---
2
+ name: "6aspec:brown: Fast Forward"
3
+ description: 快速完成分析阶段(根据流程深度)
4
+ category: Workflow
5
+ tags: [workflow, requirement]
6
+ ---
7
+
8
+ 1. Immediate response upon activation: brown field requirement workflow - **Fast Forward** has been activated
9
+ 2. **Read and strictly follow the brown field constitution**: `.6aspec/rules/brown/brown_constitution.md`
10
+ 3. Read file: `.6aspec/rules/brown/brown_ff_sop.md`
11
+ 4. Strictly follow the SOP defined in that file
@@ -1,11 +1,11 @@
1
- ---
2
- name: "6aspec:brown: Implement"
3
- description: 执行任务实现
4
- category: Workflow
5
- tags: [workflow, requirement, implementation]
6
- ---
7
-
8
- 1. Immediate response upon activation: brown field requirement workflow - **Implement** has been activated
9
- 2. **Read and strictly follow the brown field constitution**: `.6aspec/rules/brown/brown_constitution.md`
10
- 3. Read file: `.6aspec/rules/brown/brown_implement_sop.md`
11
- 4. Strictly follow the SOP defined in that file
1
+ ---
2
+ name: "6aspec:brown: Implement"
3
+ description: 执行任务实现
4
+ category: Workflow
5
+ tags: [workflow, requirement, implementation]
6
+ ---
7
+
8
+ 1. Immediate response upon activation: brown field requirement workflow - **Implement** has been activated
9
+ 2. **Read and strictly follow the brown field constitution**: `.6aspec/rules/brown/brown_constitution.md`
10
+ 3. Read file: `.6aspec/rules/brown/brown_implement_sop.md`
11
+ 4. Strictly follow the SOP defined in that file
@@ -1,11 +1,11 @@
1
- ---
2
- name: "6aspec:brown: List"
3
- description: 列出所有需求及其状态
4
- category: Workflow
5
- tags: [workflow, requirement]
6
- ---
7
-
8
- 1. Immediate response upon activation: brown field requirement workflow - **List** has been activated
9
- 2. **Read and strictly follow the brown field constitution**: `.6aspec/rules/brown/brown_constitution.md`
10
- 3. Read file: `.6aspec/rules/brown/brown_list_sop.md`
11
- 4. Strictly follow the SOP defined in that file
1
+ ---
2
+ name: "6aspec:brown: List"
3
+ description: 列出所有需求及其状态
4
+ category: Workflow
5
+ tags: [workflow, requirement]
6
+ ---
7
+
8
+ 1. Immediate response upon activation: brown field requirement workflow - **List** has been activated
9
+ 2. **Read and strictly follow the brown field constitution**: `.6aspec/rules/brown/brown_constitution.md`
10
+ 3. Read file: `.6aspec/rules/brown/brown_list_sop.md`
11
+ 4. Strictly follow the SOP defined in that file
@@ -1,11 +1,11 @@
1
- ---
2
- name: "6aspec:brown: New"
3
- description: 开始新需求分析(选择流程深度)
4
- category: Workflow
5
- tags: [workflow, requirement, analysis]
6
- ---
7
-
8
- 1. Immediate response upon activation: brown field requirement workflow - **New** has been activated
9
- 2. **Read and strictly follow the brown field constitution**: `.6aspec/rules/brown/brown_constitution.md`
10
- 3. Read file: `.6aspec/rules/brown/brown_new_sop.md`
11
- 4. Strictly follow the SOP defined in that file
1
+ ---
2
+ name: "6aspec:brown: New"
3
+ description: 开始新需求分析(选择流程深度)
4
+ category: Workflow
5
+ tags: [workflow, requirement, analysis]
6
+ ---
7
+
8
+ 1. Immediate response upon activation: brown field requirement workflow - **New** has been activated
9
+ 2. **Read and strictly follow the brown field constitution**: `.6aspec/rules/brown/brown_constitution.md`
10
+ 3. Read file: `.6aspec/rules/brown/brown_new_sop.md`
11
+ 4. Strictly follow the SOP defined in that file
@@ -1,11 +1,11 @@
1
- ---
2
- name: "6aspec:brown: Proposal"
3
- description: 创建需求提案(轻量级流程)
4
- category: Workflow
5
- tags: [workflow, requirement, proposal, lightweight]
6
- ---
7
-
8
- 1. Immediate response upon activation: brown field requirement workflow - **Proposal** has been activated
9
- 2. **Read and strictly follow the brown field constitution**: `.6aspec/rules/brown/brown_constitution.md`
10
- 3. Read file: `.6aspec/rules/brown/brown_proposal_sop.md`
11
- 4. Strictly follow the SOP defined in that file
1
+ ---
2
+ name: "6aspec:brown: Proposal"
3
+ description: 创建需求提案(轻量级流程)
4
+ category: Workflow
5
+ tags: [workflow, requirement, proposal, lightweight]
6
+ ---
7
+
8
+ 1. Immediate response upon activation: brown field requirement workflow - **Proposal** has been activated
9
+ 2. **Read and strictly follow the brown field constitution**: `.6aspec/rules/brown/brown_constitution.md`
10
+ 3. Read file: `.6aspec/rules/brown/brown_proposal_sop.md`
11
+ 4. Strictly follow the SOP defined in that file
@@ -1,11 +1,11 @@
1
- ---
2
- name: "6aspec:brown: Quick"
3
- description: P2 需求快速通道(简化流程)
4
- category: Workflow
5
- tags: [workflow, requirement, quick]
6
- ---
7
-
8
- 1. Immediate response upon activation: brown field requirement workflow - **Quick** has been activated
9
- 2. **Read and strictly follow the brown field constitution**: `.6aspec/rules/brown/brown_constitution.md`
10
- 3. Read file: `.6aspec/rules/brown/brown_quick_sop.md`
11
- 4. Strictly follow the SOP defined in that file
1
+ ---
2
+ name: "6aspec:brown: Quick"
3
+ description: 需求快速通道(简化流程)
4
+ category: Workflow
5
+ tags: [workflow, requirement, quick]
6
+ ---
7
+
8
+ 1. Immediate response upon activation: brown field requirement workflow - **Quick** has been activated
9
+ 2. **Read and strictly follow the brown field constitution**: `.6aspec/rules/brown/brown_constitution.md`
10
+ 3. Read file: `.6aspec/rules/brown/brown_quick_sop.md`
11
+ 4. Strictly follow the SOP defined in that file
@@ -1,11 +1,11 @@
1
- ---
2
- name: "6aspec:brown: Review"
3
- description: Phase 7 - 实施后评估
4
- category: Workflow
5
- tags: [workflow, requirement, review]
6
- ---
7
-
8
- 1. Immediate response upon activation: brown field requirement workflow - **Review** has been activated
9
- 2. **Read and strictly follow the brown field constitution**: `.6aspec/rules/brown/brown_constitution.md`
10
- 3. Read file: `.6aspec/rules/brown/brown_review_sop.md`
11
- 4. Strictly follow the SOP defined in that file
1
+ ---
2
+ name: "6aspec:brown: Review"
3
+ description: 实施后评估
4
+ category: Workflow
5
+ tags: [workflow, requirement, review]
6
+ ---
7
+
8
+ 1. Immediate response upon activation: brown field requirement workflow - **Review** has been activated
9
+ 2. **Read and strictly follow the brown field constitution**: `.6aspec/rules/brown/brown_constitution.md`
10
+ 3. Read file: `.6aspec/rules/brown/brown_review_sop.md`
11
+ 4. Strictly follow the SOP defined in that file
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: "6aspec:brown: Specs"
3
- description: Phase 1.5 - 需求规格定义
3
+ description: 需求规格定义
4
4
  category: Workflow
5
5
  tags: [workflow, requirement, specs]
6
6
  ---
@@ -1,11 +1,11 @@
1
- ---
2
- name: "6aspec:brown: Status"
3
- description: 查看需求的当前状态和进度
4
- category: Workflow
5
- tags: [workflow, requirement]
6
- ---
7
-
8
- 1. Immediate response upon activation: brown field requirement workflow - **Status** has been activated
9
- 2. **Read and strictly follow the brown field constitution**: `.6aspec/rules/brown/brown_constitution.md`
10
- 3. Read file: `.6aspec/rules/brown/brown_status_sop.md`
11
- 4. Strictly follow the SOP defined in that file
1
+ ---
2
+ name: "6aspec:brown: Status"
3
+ description: 查看需求的当前状态和进度
4
+ category: Workflow
5
+ tags: [workflow, requirement]
6
+ ---
7
+
8
+ 1. Immediate response upon activation: brown field requirement workflow - **Status** has been activated
9
+ 2. **Read and strictly follow the brown field constitution**: `.6aspec/rules/brown/brown_constitution.md`
10
+ 3. Read file: `.6aspec/rules/brown/brown_status_sop.md`
11
+ 4. Strictly follow the SOP defined in that file
@@ -1,11 +1,11 @@
1
- ---
2
- name: "6aspec:brown: Tasks"
3
- description: Phase 4 - 任务拆解与排期
4
- category: Workflow
5
- tags: [workflow, requirement, tasks]
6
- ---
7
-
8
- 1. Immediate response upon activation: brown field requirement workflow - **Tasks** has been activated
9
- 2. **Read and strictly follow the brown field constitution**: `.6aspec/rules/brown/brown_constitution.md`
10
- 3. Read file: `.6aspec/rules/brown/brown_tasks_sop.md`
11
- 4. Strictly follow the SOP defined in that file
1
+ ---
2
+ name: "6aspec:brown: Tasks"
3
+ description: 任务拆解与排期
4
+ category: Workflow
5
+ tags: [workflow, requirement, tasks]
6
+ ---
7
+
8
+ 1. Immediate response upon activation: brown field requirement workflow - **Tasks** has been activated
9
+ 2. **Read and strictly follow the brown field constitution**: `.6aspec/rules/brown/brown_constitution.md`
10
+ 3. Read file: `.6aspec/rules/brown/brown_tasks_sop.md`
11
+ 4. Strictly follow the SOP defined in that file
@@ -0,0 +1,11 @@
1
+ ---
2
+ name: "6aspec:brown: Update"
3
+ description: 非破坏性地更新指定阶段的文档
4
+ category: Workflow
5
+ tags: [workflow, requirement, update, document]
6
+ ---
7
+
8
+ 1. Immediate response upon activation: brown field requirement workflow - **Update** has been activated
9
+ 2. **Read and strictly follow the brown field constitution**: `.6aspec/rules/brown/brown_constitution.md`
10
+ 3. Read file: `.6aspec/rules/brown/brown_update_sop.md`
11
+ 4. Strictly follow the SOP defined in that file
@@ -1,11 +1,11 @@
1
- ---
2
- name: "6aspec:brown: Verify"
3
- description: 验证实现是否符合需求和设计(增强版,借鉴 OpenSpec)
4
- category: Workflow
5
- tags: [workflow, requirement, verification]
6
- ---
7
-
8
- 1. Immediate response upon activation: brown field requirement workflow - **Verify** has been activated
9
- 2. **Read and strictly follow the brown field constitution**: `.6aspec/rules/brown/brown_constitution.md`
10
- 3. Read file: `.6aspec/rules/brown/brown_verify_sop.md`
11
- 4. Strictly follow the SOP defined in that file
1
+ ---
2
+ name: "6aspec:brown: Verify"
3
+ description: 验证实现是否符合需求和设计(增强版,借鉴 OpenSpec)
4
+ category: Workflow
5
+ tags: [workflow, requirement, verification]
6
+ ---
7
+
8
+ 1. Immediate response upon activation: brown field requirement workflow - **Verify** has been activated
9
+ 2. **Read and strictly follow the brown field constitution**: `.6aspec/rules/brown/brown_constitution.md`
10
+ 3. Read file: `.6aspec/rules/brown/brown_verify_sop.md`
11
+ 4. Strictly follow the SOP defined in that file
@@ -0,0 +1,10 @@
1
+ ---
2
+ name: "6aspec:code"
3
+ description: 根据用户需求编写代码
4
+ category: Development
5
+ tags: [code, implementation, development]
6
+ ---
7
+
8
+ 1. Immediate response upon activation: code command has been activated
9
+ 2. Read and strictly follow the SOP: `.6aspec/rules/biz/code_implementation_sop.md`
10
+ 3. Strictly follow the SOP defined in that file
@@ -3,6 +3,6 @@ description: 归档已完成的绿地需求
3
3
  ---
4
4
 
5
5
  1. Immediate response upon activation: archive workflow has been activated
6
- 2. Read file: `.6aspec/rules/green/6A_archive_sop.md`
6
+ 2. Read file: `.6aspec/rules/green/green_archive_sop.md`
7
7
  3. Strictly follow the "Archive Workflow SOP" defined in that file
8
8
  4. Archive the completed requirement
@@ -3,11 +3,11 @@ description: 深化需求澄清(对已有需求进行更细节的澄清和补
3
3
  ---
4
4
 
5
5
  1. Immediate response upon activation: clarify workflow has been activated
6
- 2. **You must first read and strictly abide by the principles in the constitutional documents**:`.6aspec/rules/green/6A_constitution.md`
6
+ 2. **You must first read and strictly abide by the principles in the constitutional documents**:`.6aspec/rules/green/green_constitution.md`
7
7
  3. **Context Restriction**:
8
8
  - Do NOT perform `codebase_search`.
9
9
  - Do NOT read any files unless they are explicitly provided by the user (via '@') or explicitly listed in the SOP steps.
10
10
  - Stop and ask the user if you think you need more information.
11
- 4. Read file: `.6aspec/rules/green/6A_clarify_sop.md`
11
+ 4. Read file: `.6aspec/rules/green/green_clarify_sop.md`
12
12
  5. Strictly follow the "Requirement Clarification SOP" defined in that file
13
13
  6. Update the requirement document with clarified details
@@ -3,6 +3,6 @@ description: 自动执行绿地需求的下一步工作流
3
3
  ---
4
4
 
5
5
  1. Immediate response upon activation: continue workflow has been activated
6
- 2. Read file: `.6aspec/rules/green/6A_continue_sop.md`
6
+ 2. Read file: `.6aspec/rules/green/green_continue_sop.md`
7
7
  3. Strictly follow the "Continue Workflow SOP" defined in that file
8
8
  4. Automatically execute the next step based on current status
@@ -2,7 +2,7 @@
2
2
  description: design workflow
3
3
  ---
4
4
  1. Immediate response upon activation: design workflow has been activated.
5
- 2. **You must first read and strictly abide by the principles in the constitutional documents**:`.6aspec/rules/green/6A_constitution.md`
6
- 3. Read file: `.6aspec/rules/green/6A_design_sop.md`
5
+ 2. **You must first read and strictly abide by the principles in the constitutional documents**:`.6aspec/rules/green/green_constitution.md`
6
+ 3. Read file: `.6aspec/rules/green/green_design_sop.md`
7
7
  4. Strictly follow the "New Feature Architecture SOP" defined in that file.
8
8
  5. Output the Technical Design Document (TDD).
@@ -10,7 +10,7 @@ description: 执行开发任务 (Execute Task)
10
10
  当用户提供一个任务文件路径(如 `@task_01_api_xxx.md`)并要求“执行任务”时:
11
11
 
12
12
  1. **激活角色**:切换至 `Senior Developer` 角色。
13
- 2. **调用 SOP**:严格遵循 `.6aspec/rules/green/6A_code_implementation_sop.md` 中的协议。
13
+ 2. **调用 SOP**:严格遵循 `.6aspec/rules/green/green_code_implementation_sop.md` 中的协议。
14
14
  - **Step 0**: 上下文加载 (Task + TDD + Rules)
15
15
  - **Step 1**: 自底向上编码 (DTO -> Repo -> Service -> API)
16
16
  - **Step 2**: 质量检查 (Lint)
@@ -2,7 +2,7 @@
2
2
  description: import-model-table workflow
3
3
  ---
4
4
  1. Immediate response upon activation: import-model-table workflow has been activated
5
- 2. Read file: `.6aspec/rules/green/6A_import_model_table_sop.md`
5
+ 2. Read file: `.6aspec/rules/green/green_import_model_table_sop.md`
6
6
  3. Strictly follow the "Import Model Table SOP" defined in that file
7
7
  4. Execute the python script to import entities
8
8
 
@@ -4,11 +4,11 @@ description: Init Project Artifacts (Functional Map & Event List)
4
4
  Immediate response upon activation: Project Artifacts Initialization workflow has been activated.
5
5
 
6
6
  Phase 1: Functional Capability Map
7
- 1. Read file: `.6aspec/rules/green/6A_init_map_sop.md`
7
+ 1. Read file: `.6aspec/rules/green/green_init_map_sop.md`
8
8
  2. Strictly follow the "Init Functional Capability Map SOP" defined in that file.
9
9
  3. Execute the codebase scan and update the artifact at `.6aspec/biz/functional-capability-Map.md`.
10
10
 
11
11
  Phase 2: Event List
12
- 1. Read file: `.6aspec/rules/green/6A_init_event_list_sop.md`
12
+ 1. Read file: `.6aspec/rules/green/green_init_event_list_sop.md`
13
13
  2. Strictly follow the "Event List Generation SOP" defined in that file.
14
14
  3. Execute the codebase scan and update the artifact at `.6aspec/biz/event-list.md`.
@@ -2,11 +2,11 @@
2
2
  description: model workflow
3
3
  ---
4
4
  1. Immediate response upon activation: model workflow has been activated
5
- 2. **You must first read and strictly abide by the principles in the constitutional documents**:`.6aspec/rules/green/6A_constitution.md`
5
+ 2. **You must first read and strictly abide by the principles in the constitutional documents**:`.6aspec/rules/green/green_constitution.md`
6
6
  3. **Context Restriction**:
7
7
  - Do NOT perform `codebase_search`.
8
8
  - Do NOT read any files unless they are explicitly provided by the user (via '@') or explicitly listed in the SOP steps.
9
9
  - Stop and ask the user if you think you need more information.
10
- 4. Read file: `.6aspec/rules/green/6A_model_sop.md`
10
+ 4. Read file: `.6aspec/rules/green/green_model_sop.md`
11
11
  5. Strictly follow the "Domain modeling and database design Architecture SOP" defined in that file
12
12
  6. Output the Domain model and table design
@@ -3,11 +3,11 @@ description: 开始一个新的绿地需求(需求澄清与结构化)
3
3
  ---
4
4
 
5
5
  1. Immediate response upon activation: new feature workflow has been activated
6
- 2. **You must first read and strictly abide by the principles in the constitutional documents**:`.6aspec/rules/green/6A_constitution.md`
6
+ 2. **You must first read and strictly abide by the principles in the constitutional documents**:`.6aspec/rules/green/green_constitution.md`
7
7
  3. **Context Restriction**:
8
8
  - Do NOT perform `codebase_search`.
9
9
  - Do NOT read any files unless they are explicitly provided by the user (via '@') or explicitly listed in the SOP steps.
10
10
  - Stop and ask the user if you think you need more information.
11
- 4. Read file: `.6aspec/rules/green/6A_new_sop.md`
11
+ 4. Read file: `.6aspec/rules/green/green_new_sop.md`
12
12
  5. Strictly follow the "New Feature Requirement SOP" defined in that file
13
13
  6. Output the structured requirement document
@@ -3,6 +3,6 @@ description: 流程回退(单步回退并删除当前阶段工件,需用户
3
3
  ---
4
4
 
5
5
  1. Immediate response upon activation: rollback workflow has been activated
6
- 2. Read file: `.6aspec/rules/green/6A_rollback_sop.md`
6
+ 2. Read file: `.6aspec/rules/green/green_rollback_sop.md`
7
7
  3. Strictly follow the "Rollback SOP" defined in that file
8
8
  4. **Do not** perform any file deletion or status file update until the user has explicitly confirmed (e.g. "确认回退" or "执行回退")
@@ -3,6 +3,6 @@ description: 查看绿地需求的当前状态和进度
3
3
  ---
4
4
 
5
5
  1. Immediate response upon activation: status workflow has been activated
6
- 2. Read file: `.6aspec/rules/green/6A_status_sop.md`
6
+ 2. Read file: `.6aspec/rules/green/green_status_sop.md`
7
7
  3. Strictly follow the "Status Query SOP" defined in that file
8
8
  4. Output the current status and progress
@@ -2,7 +2,7 @@
2
2
  description: tasks workflow
3
3
  ---
4
4
  1. Immediate response upon activation: tasks workflow has been activated
5
- 2. **You must first read and strictly abide by the principles in the constitutional documents**:`.6aspec/rules/green/6A_constitution.md`
6
- 3. Read file: `.6aspec/rules/green/6A_tasks_sop.md`
5
+ 2. **You must first read and strictly abide by the principles in the constitutional documents**:`.6aspec/rules/green/green_constitution.md`
6
+ 3. Read file: `.6aspec/rules/green/green_tasks_sop.md`
7
7
  4. Strictly follow the "Task Decomposition SOP" defined in that file
8
8
  5. Output the task list
@@ -2,8 +2,8 @@
2
2
  description: visual-logic workflow
3
3
  ---
4
4
  1. Immediate response upon activation: visual-logic workflow has been activated.
5
- 2. **You must first read and strictly abide by the principles in the constitutional documents**:`.6aspec/rules/green/6A_constitution.md`
6
- 3. Read file: `.6aspec/rules/green/6A_visual_logic_sop.md`.
5
+ 2. **You must first read and strictly abide by the principles in the constitutional documents**:`.6aspec/rules/green/green_constitution.md`
6
+ 3. Read file: `.6aspec/rules/green/green_visual_logic_sop.md`.
7
7
  4. Strictly follow the "Visual Logic Diagrams SOP" defined in that file.
8
8
  5. Output Mermaid diagrams as specified in the SOP.
9
9
 
@@ -0,0 +1,56 @@
1
+ ---
2
+ name: "6aspec:review"
3
+ description: 独立代码审查命令,不绑定任何流程,随时可用
4
+ ---
5
+
6
+ # Code Review
7
+
8
+ 对当前代码变更进行独立审查。
9
+
10
+ ## 步骤
11
+
12
+ ### 1. 解析输入
13
+
14
+ 用户可以提供以下参数(均可选):
15
+ - `<description>` — 变更描述
16
+ - `--base <SHA>` — 起始 commit(默认:HEAD~1)
17
+ - `--head <SHA>` — 结束 commit(默认:HEAD)
18
+ - `--plan <file>` — 需求/计划文件路径
19
+
20
+ 如果没有提供任何参数,使用默认值(HEAD~1..HEAD)。
21
+
22
+ ### 2. 确定 git 范围
23
+
24
+ ```bash
25
+ git log --oneline -10
26
+ ```
27
+
28
+ 显示最近 10 条 commit,帮助用户确认审查范围。
29
+
30
+ 如果用户未指定 SHA,使用:
31
+ - BASE_SHA = HEAD~1
32
+ - HEAD_SHA = HEAD
33
+
34
+ ### 3. 派发 6aspec-code-reviewer agent
35
+
36
+ 调用 `6aspec-code-reviewer` agent,传入:
37
+
38
+ ```
39
+ 变更描述:[用户提供的描述,或"最近一次提交的变更"]
40
+ 需求/计划:[--plan 指定的文件路径,或"无"]
41
+ BASE_SHA:[base SHA]
42
+ HEAD_SHA:[head SHA]
43
+ ```
44
+
45
+ ### 4. 展示审查结果
46
+
47
+ 直接展示 agent 返回的完整审查报告。
48
+
49
+ ## 使用示例
50
+
51
+ ```
52
+ /6aspec:review
53
+ /6aspec:review 实现了用户认证功能
54
+ /6aspec:review --base abc1234 --head def5678
55
+ /6aspec:review --plan 6aspecdoc/brown/add-user-auth/artifacts/specs.md
56
+ ```
@@ -0,0 +1,7 @@
1
+ ---
2
+ name: 6aspec-brown-implementer
3
+ description: 执行棕地需求的单个 TASK 实现,包括写代码、单元测试和自我审查
4
+ tools: [Read, Write, Edit, Bash]
5
+ ---
6
+
7
+ 读取并严格遵循:`.6aspec/rules/brown/subagents/implementer.md`