PairStair
Visualize and optimize software developer pairing from git history
PairStair is a CLI tool that analyzes your git commit history to show how often developers have paired (committed together) over a configurable time window, and recommends new pairs to maximize collaboration.
Quick Start
Installation
# Homebrew
brew install gypsydave5/pairstair/pairstair
# Go install
go install github.com/gypsydave5/pairstair@latest
Basic Usage
# Analyze the last week
pairstair
# Analyze a specific time window
pairstair -window 4w
# Analyze a sub-team
pairstair -team frontend
# Export as HTML
pairstair -output html
Features
- π Pair Matrix: Visual representation of developer collaboration
- π₯ Team Support: Organize teams with
.team
files and sub-teams - π― Smart Recommendations: Multiple strategies for suggesting optimal pairs
- π HTML Output: Rich web interface for detailed analysis
- β° Flexible Time Windows: Analyze any time period
- π§ Git Integration: Works with any git repository
Example Output
Pair Matrix (commits together):
Alice Bob Carol Dave
Alice - 5 2 0
Bob 5 - 1 3
Carol 2 1 - 4
Dave 0 3 4 -
Recommendations:
1. Alice + Dave (never paired)
2. Bob + Carol (1 commit together)
Documentation
- Installation Guide - Get PairStair up and running
- User Guide - Complete guide to using PairStair
- Examples - Real-world usage scenarios and workflows
- Features - Current and planned functionality
Why PairStair?
For Developers
- π― Focus: Know who you should pair with next
- π Growth: Track your collaboration and skill sharing
- π€ Community: Build stronger relationships with teammates
For Team Leads
- π Visibility: Understand team collaboration patterns
- π― Optimization: Make data-driven pairing decisions
- π Metrics: Track team health and knowledge sharing
For Organizations
- π Productivity: Optimize team performance through better collaboration
- π§ Knowledge: Prevent knowledge silos and single points of failure
- π₯ Culture: Foster a collaborative development culture
Getting Started
- Install PairStair using your preferred method
- Navigate to your git repository
- Create a
.team
file with your team members - Run
pairstair
to see your first analysis - Explore the recommendations and start pairing!
Community
- π Report Issues: GitHub Issues
- π‘ Feature Requests: GitHub Discussions
- π Documentation: Youβre reading it!
- π¬ Support: Community support via GitHub
Contributing
PairStair is open source and welcomes contributions:
- π§ Code: Submit pull requests for bug fixes and features
- π Documentation: Help improve guides and examples
- π§ͺ Testing: Report bugs and test new features
- π‘ Ideas: Share your thoughts on improvements
Ready to optimize your teamβs pairing? Get started with installation!
Legend:
AE = Alice Example alice@example.com
BD = Bob Dev bob@example.com
CT = Carol Tester carol@example.com
AE BD CT
AE - 2 1
BD 2 - 0
CT 1 0 -
Pairing Recommendations (least-paired overall, optimal matching):
BD <-> CT : 0 times
Learn More
- Installation Guide - Multiple installation methods
- User Guide - Complete documentation with examples
- Features - Current features and roadmap
- Examples - Real-world usage scenarios