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-0.2.2.tar.gz (83.2 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-0.2.2-py3-none-any.whl (67.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for opencode_collaboration-0.2.2.tar.gz
Algorithm Hash digest
SHA256 a238e3bf506f5608931bcfa180a2415eb2bb1813a71f73f87c2a2a18c3f96370
MD5 8af4a2eeb6333e8d0882dabf4341f0de
BLAKE2b-256 1506aff2e00c64cf3f692cf330718c27fbbd918bb01365a237957704a1c4c66c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opencode_collaboration-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b88fb2f61f3163767fdc8f255cbe26add2853c8ce127e24f04444001ffff3024
MD5 7d5572b0410345e3921ac5d20b9c4350
BLAKE2b-256 64cb5826b7f46a2aa13c9c91ab9e825439ef66e8cde339a5c62873fde591f393

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