The project's README from github.com/zc8163623/DualForge-Workflow. As one markdown file: README.md.
Dual AI Collaboration Framework Builder — Establish a clear division of labor between Claude + Codex for new projects
Establish a clear AI collaboration system:
Workflow: Human → Claude (Plan) → Codex (Implement) → Claude (Review) → Human (Decision)
Build a complete dual AI collaboration framework from scratch, including:
CLAUDE.md and AGENTS.md behavior specifications.ai/brief.md, plan.md, review.md, decision-log.mdscripts/check.sh, build.sh, test.shChoose your language:
SKILL.md to your Claude skills librarySKILL.zh-CN.md to your Claude skills library(Specific path depends on your Claude configuration)
Note: The skill will generate documents in the language you use during conversation. You can mix languages freely (e.g., English conversation → English PRD, Chinese conversation → Chinese PRD).
In a Claude conversation, type:
/DualForge-Workflow
Or simply say:
I want to set up a dual AI collaboration framework
The skill will guide you through 4 stages:
project/
├── PRD.md # Product Requirements Document
├── CLAUDE.md # Claude behavior specification
├── AGENTS.md # Codex behavior specification
├── GETTING_STARTED.md # Getting started guide
├── scripts/
│ ├── check.sh # Verification script framework
│ ├── build.sh # Build script framework
│ └── test.sh # Test script framework
├── src/ # Source code root directory
└── .ai/
├── brief.md # Entry point + collaboration contract
├── plan.md # Project plan
├── review.md # Review checklist
├── decision-log.md # Architecture Decision Records
└── tasks/
└── _TEMPLATE.md # Task template (optional)
See a complete example of generated framework in examples/small-project-todoapp/
A task management tool for teams of 10-20 people. Generated in ~15 minutes of conversation.
File Structure:
todoapp/
├── PRD.md # 7 functional requirements with acceptance criteria
├── CLAUDE.md # Claude work specifications
├── AGENTS.md # Codex work specifications
├── GETTING_STARTED.md # Step-by-step guide
├── scripts/
│ ├── check.sh # ✓ Format → Lint → Types → Tests
│ ├── build.sh # ✓ Build with Vite
│ └── test.sh # ✓ Run Vitest + coverage report
├── src/
│ └── README.md # Architecture notes
└── .ai/
├── brief.md # Project context + quick-switch phrases
├── plan.md # 13 tasks across 4 stages
├── review.md # Review checklist
└── decision-log.md # 1 ADR (tech stack selection)
Key Highlights:
Sample from PRD.md:
### FR-3 Status Management
**Description**: Tasks have four statuses and transition in a fixed order.
**Status Definitions:**
1. **To Do**: Task created, not yet started
2. **In Progress**: Task is being executed
3. **In Review**: Task completed, awaiting team confirmation
4. **Done**: Task approved and completed
**Transition Rules:**
- Status transitions in order: To Do → In Progress → In Review → Done
- Cannot skip statuses
- Can roll back to previous status
- All team members have permission to modify task status
**Acceptance Criteria:**
- [ ] New tasks default to "To Do" status
- [ ] Can only advance in order
- [ ] Can roll back to previous status
- [ ] Status changes immediately reflected in interface
Sample from scripts/check.sh:
#!/bin/bash
# Stage 4: Lint
echo "🔍 Running ESLint..."
npm run lint
if [ $? -ne 0 ]; then
echo "❌ Lint failed"
exit 1
fi
# Stage 5: Type Check
echo "📘 Running TypeScript type check..."
npm run type-check
if [ $? -ne 0 ]; then
echo "❌ Type check failed"
exit 1
fi
→ Explore the complete example
check.sh: 7-stage checks (structure → boundaries → format → lint → types → tests)build.sh: Build script frameworktest.sh: Test script framework✅ Suitable for:
❌ Not suitable for:
You: I want to build a task management system
↓
Claude invokes DualForge-Workflow skill
↓ Guides through PRD completion
Claude generates complete collaboration framework (13 files)
↓
You: Implement user login feature
↓
Claude produces task file .ai/tasks/1.1-user-login.md
+ Outputs handoff instructions
↓ Copy handoff instructions to Codex
Codex implements according to plan + tests + check.sh
+ Updates status
+ Proactively requests Review
↓ Copy Review request to Claude
Claude reviews and gives conclusion (can merge / needs changes / wrong direction)
↓
You: Decide whether to merge
Supports any tech stack, skill generates corresponding script examples based on your input:
SKILL.md - Complete skill definition and implementation detailsGETTING_STARTED.md - Getting started guide (automatically created by skill)Issues and Pull Requests are welcome!
MIT
Make AI collaboration clearer, make development more efficient.