Thank you for your interest in contributing to Agent Deck! This document provides guidelines and information for contributors.
- Fork the repository on GitHub
- Clone your fork locally:
git clone https://github.com/YOUR_USERNAME/agent-deck.git cd agent-deck - Add upstream remote:
git remote add upstream https://github.com/asheshgoplani/agent-deck.git
- Go 1.24 or later (or Go 1.21+ with automatic toolchain download)
- tmux
- Make
make build # Build binary to ./build/agent-deck
make test # Run tests
make lint # Run linter (requires golangci-lint)
make fmt # Format codemake dev # Run with auto-reload (requires 'air')
# or
make run # Run directlyfeature/description- New featuresfix/description- Bug fixesperf/description- Performance optimizationsdocs/description- Documentation changesrefactor/description- Code refactoring
Use clear, descriptive commit messages:
feat: add support for custom commands
fix: resolve status detection for OpenCode
docs: update installation instructions
refactor: simplify group management logic
- Run
make fmtbefore committing - Run
make lintto check for issues - Follow existing code patterns
- Add tests for new functionality
-
Create a feature branch from
main:git checkout -b feature/my-feature
-
Make your changes and commit them
-
Keep your branch updated:
git fetch upstream git rebase upstream/main
-
Push to your fork:
git push origin feature/my-feature
-
Open a Pull Request on GitHub
- Provide a clear description of the changes
- Reference any related issues
- Ensure all tests pass
- Update documentation if needed
Include:
- Agent Deck version (
agent-deck version) - Operating system and version
- tmux version (
tmux -V) - Steps to reproduce
- Expected vs actual behavior
- Any error messages or logs
- Describe the use case
- Explain why existing features don't solve it
- Provide examples if possible
agent-deck/
├── cmd/agent-deck/ # CLI entry point
├── internal/
│ ├── ui/ # TUI components (Bubble Tea)
│ ├── session/ # Session & group management
│ └── tmux/ # tmux integration, status detection
├── .github/workflows/ # CI/CD
├── Makefile # Build automation
└── README.md
- Add tests for new functionality
- Run the full test suite:
make test - Tests should be deterministic and not depend on external state
Enable debug logging:
AGENTDECK_DEBUG=1 agent-deck- Chat: Join the Agent Deck Discord for questions, workflow discussions, and community support
- Issues: Open an issue for bugs or feature requests
By contributing, you agree that your contributions will be licensed under the MIT License.