Contributing
Contributions to ClipKit are welcome! Here's how to get started.
Getting Started
- Fork the repository on GitHub
- Clone your fork:
git clone https://github.com/YOUR_USERNAME/ClipKit.git cd ClipKit - Create a feature branch:
git checkout -b feature/your-feature-name - Make your changes and run tests:
make test - Push and open a pull request
Development Setup
See Building from Source for build instructions and IDE setup.
Testing
ClipKit uses Swift's native Testing framework (not XCTest). Run the test suite with:
make test
# or
swift test
When adding new features, include tests that cover the expected behavior. Tests live in ClipKitTests/.
Guidelines
- No regressions — Existing functionality must continue to work
- Test new features — Add tests for any new behavior
- Keep it focused — ClipKit aims to do less, better. Avoid scope creep.
- Preserve user data — Never break backward compatibility with stored data. Use the migration pattern described in Architecture.
Reporting Issues
File issues on the GitHub issue tracker. Include:
- macOS version
- ClipKit version
- Steps to reproduce
- Expected vs actual behavior