This guide shows how to use this workflow in another project via git submodule.
From your target project root:
git submodule add https://github.com/your-username/cursor-groupthink.git .cursor-groupthink
git submodule update --init --recursiveCreate symlinks to the submodule files:
# From your project root
ln -s .cursor-groupthink/.cursorrules .cursorrules
ln -s .cursor-groupthink/.cursor .cursor-groupthink-ref
# Copy the prompts directory (or symlink if you prefer)
mkdir -p .cursor/prompts
ln -s ../../.cursor-groupthink/.cursor/prompts/peer_review_prompt.md .cursor/prompts/peer_review_prompt.md
# Create archive directory
mkdir -p .cursor/archive
touch .cursor/archive/.gitkeepOpen Cursor and ask: "What project rules are active?"
You should see "Peer Review Workflow Rules".
Alternatively, use the provided setup script that handles submodules:
# From your project root
.cursor-groupthink/setup-submodule.shWhen the workflow gets updates:
cd .cursor-groupthink
git pull origin main
cd ..
git add .cursor-groupthink
git commit -m "Update cursor-groupthink submodule"If you prefer copies instead of symlinks:
# Run the setup script pointing to the submodule
.cursor-groupthink/setup.sh .This copies files once. You'll need to re-run it to get updates.
your-project/
├── .cursorrules # symlink → .cursor-groupthink/.cursorrules
├── .cursor/
│ ├── prompts/
│ │ └── peer_review_prompt.md # symlink → .cursor-groupthink/.cursor/prompts/...
│ └── archive/ # your project's plans and reviews
└── .cursor-groupthink/ # git submodule
├── .cursorrules
├── .cursor/
│ └── prompts/
└── setup.sh
- Symlinks keep you in sync with workflow updates automatically
- Copies give you independence but require manual updates
- The
.cursor/archive/directory is project-specific (not symlinked) .cursor/scratchpad.mdis project-specific (not included in workflow)