An open API service indexing awesome lists of open source software.

https://github.com/joinwell52-AI/joinwell52

Build a 4-role AI team in Cursor IDE. PM+DEV+OPS+QA collaborate autonomously. 87 person-days in 17 days. Now a real product: CodeFlow
https://github.com/joinwell52-AI/joinwell52

ai-agent ai-collaboration ai-development ai-team automation cursor cursor-ide developer-tools multi-agent productivity

Last synced: 2 months ago
JSON representation

Build a 4-role AI team in Cursor IDE. PM+DEV+OPS+QA collaborate autonomously. 87 person-days in 17 days. Now a real product: CodeFlow

Awesome Lists containing this project

README

          

> **๐Ÿš€ This methodology is now a real product!** ย  [**CodeFlow Product Page**](https://joinwell52-ai.github.io/codeflow-pwa/promotion/) ยท [GitHub](https://github.com/joinwell52-AI/codeflow-pwa) ยท [Try PWA](https://joinwell52-ai.github.io/codeflow-pwa/)
>
> **๐Ÿš€ ่ฟ™ๅฅ—ๆ–นๆณ•่ฎบๅทฒ็ปๅšๆˆไบ†ไบงๅ“๏ผ** ย  [**็ ๆตไบงๅ“ไธป้กต**](https://joinwell52-ai.github.io/codeflow-pwa/promotion/) ยท [GitHub](https://github.com/joinwell52-AI/codeflow-pwa) ยท [ๆ‰‹ๆœบ็ซฏ PWA](https://joinwell52-ai.github.io/codeflow-pwa/)

# How to Build an Automated AI Development Team in Cursor
# ๅฆ‚ไฝ•ๅœจ Cursor ไธญๆญๅปบ AI ่‡ชๅŠจๅŒ–ๅผ€ๅ‘ๅ›ข้˜Ÿ

> Just tell the PM what you need, go grab a coffee, and come back to review the results.
>
> ไฝ ๅช้œ€่ฆ่ทŸ PM ่ฏดๆธ…ๆฅš่ฆๅšไป€ไนˆ๏ผŒ็„ถๅŽๅŽปๅ–ๆฏๅ’–ๅ•ก๏ผŒๅ›žๆฅ้ชŒๆ”ถๆˆๆžœใ€‚

**[๐Ÿ“– English](cursorAI-automated-team-EN.md)** | **[๐Ÿ“– ไธญๆ–‡็‰ˆ](cursorAI-automated-team-CN.md)**

---

Build a 4-role AI team (PM + DEV + OPS + QA) in Cursor IDE. The AIs collaborate autonomously โ€” developing, deploying, and testing on their own. You only talk to the PM.

ๅœจ Cursor IDE ไธญๆญๅปบ PM + DEV + OPS + QA ๅ››่ง’่‰ฒ AI ๅ›ข้˜Ÿ๏ผŒAI ไน‹้—ด่‡ชไธปๅๅŒโ€”โ€”่‡ชๅŠจๅผ€ๅ‘ใ€่‡ชๅŠจ้ƒจ็ฝฒใ€่‡ชๅŠจๆต‹่ฏ•๏ผŒไบบ็ฑปๅช้œ€ๅ’Œ PM ๆฒŸ้€šไปปๅŠกใ€‚

**Battle-tested: 87 person-days of work in 17 days, 91 production deployments, zero incidents.**

**ๅฎžๆˆ˜้ชŒ่ฏ๏ผš17 ๅคฉๅฎŒๆˆ 87 ไบบๅคฉๅทฅไฝœ้‡๏ผŒ็บฟไธŠๅ‘็‰ˆ 91 ๆฌก๏ผŒ้›ถไบ‹ๆ•…ใ€‚**

---

## What's Inside

| | Content |
|--|--------|
| **Ch.1** | Why split into roles โ€” limits of single-agent AI |
| **Ch.2** | Step-by-step setup: directory structure โ†’ role definitions โ†’ patrol rules โ†’ 4 chat tabs |
| **Ch.3** | Core innovation: Filename as Protocol โ€” zero databases, zero message queues, 7 fields in one filename |
| **Ch.4** | Task flow: 7-step closed loop from assignment โ†’ dev โ†’ deploy โ†’ test โ†’ archive |
| **Ch.5** | Work standards: each role's "rules of engagement" + mandatory documentation |
| **Ch.6** | Auto patrol bot: screen image recognition + event-driven, with full Python source (280 lines) |
| **Ch.7** | Real-world results: production data + 9 running screenshots |

---

## Core Innovation: Filename as Protocol

No database, no message queue, no API โ€” **one filename carries all routing information**:

```
TASK-20260329-006-PM01-to-DEV01.md
โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚
โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ Format: Markdown
โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€ Recipient: DEV-01
โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ Direction: PM โ†’ DEV
โ”‚ โ”‚ โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ Sender: PM-01
โ”‚ โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ Sequence: 6th task of the day
โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ Date: 2026-03-29
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ Type: Task ticket
```

7 fields, 0 database tables, 0 lines of config code.

---

## How It Works

```
You: "Do a round of security hardening."
PM-01: "Got it. Breaking it down now."

โ€” Go do something else โ€”

PM-01 breaks down tasks โ†’ writes tickets to tasks/
DEV-01 auto picks up โ†’ codes, self-tests, submits report
PM-01 auto reviews โ†’ creates deploy task
OPS-01 auto deploys โ†’ health check, writes report
PM-01 auto assigns โ†’ creates test task
QA-01 auto tests โ†’ security + stress tests, writes report
PM-01 auto archives โ†’ all done

You come back: "Done?"
PM-01: "All complete. Here's the report."
```

---

## Screenshots

**PM-01 reviewing code changes item by item**

![PM-01 Review](images/pm-01-01.png)

**DEV-01 auto-creates Todo list and codes**

![DEV-01 Working](images/dev-01-00.png)

**Patrol bot auto-monitoring + event-driven notifications**

![Patrol](images/ๅทกๆฃ€1.png)

**tasks/ directory โ€” filenames in action**

![Tasks](images/ไปปๅŠกๅ•.png)

---

## Repository Structure

```
โ”œโ”€โ”€ cursorAI-automated-team-EN.md # Full tutorial โ€” English (960+ lines)
โ”œโ”€โ”€ cursorAI-automated-team-CN.md # Full tutorial โ€” Chinese (1000+ lines)
โ”œโ”€โ”€ auto_patrol.py # Patrol bot source code (280 lines)
โ”œโ”€โ”€ README.md # This file
โ”œโ”€โ”€ roles/ # ๐Ÿ“‹ Role definition files (ready to use)
โ”‚ โ”œโ”€โ”€ PM-01.md # PM ้กน็›ฎ็ป็† + ๆžถๆž„ๅธˆ๏ผˆไธญๆ–‡๏ผ‰
โ”‚ โ”œโ”€โ”€ PM-01-EN.md # PM: Project Manager + Architect (English)
โ”‚ โ”œโ”€โ”€ PM-01-Work-Standards-CN.md # PM ๅทฅไฝœ่ง„่Œƒ๏ผˆไธญๆ–‡๏ผ‰
โ”‚ โ”œโ”€โ”€ PM-01-Work-Standards.md # PM Work Standards (English)
โ”‚ โ”œโ”€โ”€ DEV-01.md # DEV ๅ…จๆ ˆๅผ€ๅ‘ๅทฅ็จ‹ๅธˆ๏ผˆไธญๆ–‡๏ผ‰
โ”‚ โ”œโ”€โ”€ DEV-01-EN.md # DEV: Full-stack Developer (English)
โ”‚ โ”œโ”€โ”€ OPS-01.md # OPS ่ฟ็ปด้ƒจ็ฝฒๅทฅ็จ‹ๅธˆ๏ผˆไธญๆ–‡๏ผ‰
โ”‚ โ”œโ”€โ”€ OPS-01-EN.md # OPS: Operations Engineer (English)
โ”‚ โ”œโ”€โ”€ QA-01.md # QA ่ดจ้‡ๆต‹่ฏ•ๅทฅ็จ‹ๅธˆ๏ผˆไธญๆ–‡๏ผ‰
โ”‚ โ””โ”€โ”€ QA-01-EN.md # QA: Quality Assurance Engineer (English)
โ””โ”€โ”€ images/ # Screenshots
```

---

## Use Cases

- Using Cursor for development and want more AI automation
- Managing multiple AI Agents that need to collaborate autonomously
- Need complete task tracking and audit trails
- Solo developers / small teams using AI to replace repetitive work

## Tech Stack

- **IDE**: Cursor (Agent mode)
- **Patrol bot**: Python 3.10 + pyautogui + pyperclip
- **Communication**: File system + Markdown (zero external dependencies)
- **AI models**: Claude / GPT (choose per role)

---

## Patrol Bot Source Code

Full UI automation patrol bot included: [`auto_patrol.py`](auto_patrol.py) โ€” 280 lines, ready to run.

---

## Copyright & License

ยฉ 2026 joinwell52-AI. All rights reserved.

### Terms of Use

1. **Non-commercial use**: You may copy, distribute, and modify this content for non-commercial purposes (personal learning, teaching, public sharing), provided that:
- Original author attribution and source links are retained;
- Content is not distorted, tampered with, or used for illegal purposes.
2. **Commercial use**: **Strictly prohibited**, including but not limited to:
- Using content in paid courses, paid documents, commercial websites/accounts;
- Integrating content into commercial products, services, or marketing materials;
- Directly or indirectly obtaining commercial benefit from this content.
3. Violation of these terms without written authorization from the author may result in legal action.

---

**Author**: [joinwell52-AI](https://github.com/joinwell52-AI)

*From real production project experience. 2026-03-29*