Shared Claude Code workflow for Quber projects (Jira + GitHub automation)
Project description
Quber Workflow
Shared Claude Code workflow for Quber projects (Jira + GitHub automation).
Overview
quber-workflow provides a standardized Claude Code workflow across all Quber projects, including:
- Jira Workflow Agent - Automated Jira issue management
- GitHub Workflow Agent - Automated PR and branch workflows
- Skills - Bash scripts for Jira and GitHub operations
- GitHub Actions - Automated Jira status transitions
- Documentation - Workflow specs and PR evidence guidelines
Features
- Deny-by-default permissions - Enforces proper agent delegation
- Git worktree workflow - Prevents branch pollution
- Jira automation - Status transitions on branch/PR events
- PR evidence requirements - Embedded quality standards
- Context-efficient - 95%+ reduction vs MCP servers
Installation
# Using pip
pip install quber-workflow
# Using uv (recommended)
uv pip install quber-workflow
Usage
Initialize New Project
# Navigate to your project directory
cd my-quber-project
# Initialize workflow
quber-workflow init \
--project=my-project \
--package=my_project \
--repo=username/my-project \
--jira-key=QUE
This creates:
.claude/agents/- jira-workflow and github-workflow agents.claude/skills/- jira-operations and github-operations skills.claude/settings.json- deny-based permissions.github/workflows/jira-transition.yml- Jira automationdocs/- workflow specifications and guidelines
Update Existing Project
# Update workflow files to latest version
quber-workflow update
Migrate Existing Project
# Migrate with automatic backup
quber-workflow migrate
Environment Variables
Set these for Jira and GitHub operations:
# GitHub (for gh CLI)
export GH_TOKEN="ghp_..."
# or
export GITHUB_PERSONAL_ACCESS_TOKEN="ghp_..."
# Jira (for REST API)
export ATLASSIAN_SITE_NAME="yoursite.atlassian.net"
export ATLASSIAN_USER_EMAIL="your.email@example.com"
export ATLASSIAN_API_TOKEN="your-api-token"
GitHub Secrets
Configure these secrets for GitHub Actions:
JIRA_BASE_URL- Your Jira site URLJIRA_USER_EMAIL- Jira account emailJIRA_API_TOKEN- Jira API token
Architecture
Agent-Based Workflow
Main Claude Agent (quber-analyst)
\x00> jira-workflow agent (via Task tool)
\x00> jira-operations skill (bash scripts)
\x00> Jira REST API
\x00> github-workflow agent (via Task tool)
\x00> github-operations skill (bash scripts)
\x00> gh CLI / GitHub API
Why This Approach?
- Minimal context overhead - ~100 tokens vs 46k with MCP servers
- On-demand loading - Skills load only when agents are invoked
- No external dependencies - Just bash, curl, jq, and gh CLI
- Easy debugging - Scripts are visible and testable
- Full control - Auditable code in your repository
Documentation
- GitHub Workflow Spec - PR and commit standards
- Issues Spec - Jira ticket specifications
- PR Evidence Guidelines - Evidence requirements
- PR Evidence Checklist - Quick reference
Development
Setup
# Clone repository
git clone https://github.com/xmandeng/quber-workflow.git
cd quber-workflow
# Install dependencies
uv sync
# Run tests
uv run pytest
# Type checking
uv run mypy src/
# Linting
uv run ruff check src/
Build and Publish
# Build package
uv build
# Publish to Test PyPI
uv publish \
--publish-url https://test.pypi.org/legacy/ \
--username __token__ \
--password $TEST_PYPI_TOKEN
# Publish to Production PyPI
uv publish --username __token__ --password $PYPI_TOKEN
Requirements
- Python >= 3.9
ghCLI (for GitHub operations)jq(for JSON parsing)curl(for Jira REST API)
Contributing
Contributions welcome! Please:
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests
- Submit a pull request
License
MIT License - see LICENSE file for details.
Related Projects
- quber-analyst - Financial document analyzer
- quber-excel - Excel parser with spatial fidelity
Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file quber_workflow-0.1.2.tar.gz.
File metadata
- Download URL: quber_workflow-0.1.2.tar.gz
- Upload date:
- Size: 45.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
55edd526eaeef799494b6072765612b5aed7034c509325fb09afcb4d0d7ce30a
|
|
| MD5 |
b3c366834c64178482a4dbe8f21cac06
|
|
| BLAKE2b-256 |
ed5b23b09e372b83e358b782b5ef787dc4787805aacfcb7617044d98f5739b59
|
File details
Details for the file quber_workflow-0.1.2-py3-none-any.whl.
File metadata
- Download URL: quber_workflow-0.1.2-py3-none-any.whl
- Upload date:
- Size: 64.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
68aba64a3c012f93c3ccaeb7cefb73d82a0d49c8cde859f5d9a1b17695b8d132
|
|
| MD5 |
b67a7e6a64800f9d1d24cccbceb3b838
|
|
| BLAKE2b-256 |
bd1c276395bd7c79e02914f85b6039df6ba9b6ed1a018fc408ebc962d9a283fa
|