Skip to main content

双Agent协作框架 - 产品经理与开发的分离式协作工具

Project description

双Agent协作开发系统

基于 OpenCode 的双 Agent 协作框架,实现产品经理与开发的分离式协作。

目录结构

dual-agent-collaboration-system/
├── docs/
│   ├── 01-requirements/          # 需求阶段文档
│   │   ├── requirements_v*.md    # 需求文档
│   │   ├── system_design_v*.md   # 系统设计
│   │   ├── requirements_review_*.md  # 评审意见
│   │   └── requirements_signoff.md    # 签署确认
│   ├── 02-design/                # 设计阶段文档
│   ├── 03-test/                  # 测试阶段文档
│   ├── 04-changelog/             # 变更记录
│   └── COLLABORATION_GUIDE.md    # 协作流程指南
├── state/
│   └── project_state.yaml        # 项目状态文件
├── src/                          # 源代码
├── scripts/                      # 辅助脚本
└── .gitignore

快速开始

Agent 1 (产品经理) 初始化项目

cd dual-agent-collaboration-system
git pull
# 创建需求文档
# 更新状态文件
git add .
git commit -m "feat(requirements): initial requirements"
git push

Agent 2 (开发) 开始评审

cd dual-agent-collaboration-system
git pull
# 阅读需求文档
# 创建评审意见
git add .
git commit -m "review(requirements): initial review"
git push

协作流程

  1. 需求评审 → Agent1 创建需求 → Agent2 Review → 双方确认
  2. 设计评审 → Agent1 创建设计 → Agent2 Review → 双方确认
  3. 开发测试 → Agent2 开发 → Agent1 黑盒测试 → 通过确认
  4. 部署发布 → Agent1 部署 → 更新变更记录

状态文件

每次操作后更新 state/project_state.yaml,记录当前阶段和状态。

标签规范

  • requirements-v1-approved - 需求确认
  • design-v1-approved - 设计确认
  • test-v1-passed - 测试通过
  • release-v1.0.0 - 正式发布

详细说明

参见 协作流程指南

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

opencode_collaboration-2.2.0.tar.gz (185.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

opencode_collaboration-2.2.0-py3-none-any.whl (116.0 kB view details)

Uploaded Python 3

File details

Details for the file opencode_collaboration-2.2.0.tar.gz.

File metadata

  • Download URL: opencode_collaboration-2.2.0.tar.gz
  • Upload date:
  • Size: 185.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for opencode_collaboration-2.2.0.tar.gz
Algorithm Hash digest
SHA256 b943bfd3ac2a4e7e8cbfa1ff3a16a97ebbbb6d05598c92e751abe9c6558bec82
MD5 f566345c3a3b94d0757d97a11cd28ae6
BLAKE2b-256 66231fcab4eb15e9bcc207e49698c24f61c68045b584f7befa81ca6adebbbc9a

See more details on using hashes here.

File details

Details for the file opencode_collaboration-2.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for opencode_collaboration-2.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8b70d1cbff5eb49f9114fa97e1956204db24e45680119de0a8fa87f5d9e57fdd
MD5 bd220c37923432f0bcd087f40615e92d
BLAKE2b-256 0bd8c9e61c0fe9422454d541a3daafdae246c4ab6e3be719aabff7ba3c166d96

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page