A modular command-line tool built with Bun, ZX, and Commander.js. QK provides a collection of AI-powered and developer-friendly commands to streamline your Git workflow, package management, and more.
Before installing QK, make sure you have Bun installed:
# Install Bun (if not already installed)
curl -fsSL https://bun.sh/install | bash# Add the tap and install
brew tap choufeng/qk && brew install qk| Command | Description |
|---|---|
qk set |
Interactive global configuration for qk |
qk gc |
AI-powered commit message generator |
qk gpr |
AI-powered Pull Request generator |
qk pack |
Chain-build packages and apps based on dependency order |
qk pack-watch |
Check and clean up residual processes from pack |
qk chat [prompt] |
Test AI integration with LangChain |
qk hello-world |
Print hello world message |
qk set# Generate commit message with AI
qk gc
# Create a Pull Request with AI
qk gpr# Build packages in dependency order
qk pack
# Clean up residual processes from pack
qk pack-watch --kill# Chat with AI
qk chat "Your question or prompt"When a PR is merged to main/master, the version is automatically bumped based on commit messages:
feat:orfeature:→ minor version (1.9.1 → 1.10.0)fix:orbugfix:→ patch version (1.9.1 → 1.9.2)break:or!:→ major version (1.9.1 → 2.0.0)
The release workflow will:
- Parse PR title and commits
- Bump version in package.json
- Create and push a git tag
- Generate GitHub Release with changelog
- GitHub automatically creates source archives (.tar.gz, .zip)