ClickUp + Git Workflow Guide
This guide shows the recommended workflow for using ClickUp commands (cum) alongside Git.
Installation
Before starting, ensure the ClickUp Framework is installed:
pip install --upgrade --force-reinstall git+https://github.com/SOELexicon/clickup_framework.git
And set your API token:
export CLICKUP_API_TOKEN="your_token_here" # Add to ~/.bashrc or ~/.zshrc for persistence
Starting a Task
- •
View your assigned tasks:
bashcum a
- •
Set current task:
bashcum set task <task_id>
- •
View task details:
bashcum d <task_id>
- •
Update task status to "In Development":
bashcum tss <task_id> "In Development"
During Development
Managing Dependencies
If your task depends on other tasks:
# Make current task wait for another task cum tad current --waiting-on <other_task_id> # Make current task block another task cum tad current --blocking <blocked_task_id>
Linking Related Tasks
# Link related tasks together cum tal current <related_task_id>
Adding Comments
# Add progress updates cum ca current "Started working on feature X" # Add comment from file cum ca current --comment-file progress_notes.md
Viewing Context
# Check your current context cum show # View task with comments cum d current --show-comments 5
Git Workflow
Creating Commits
- •
Make your changes
- •
Stage and commit:
bashgit add . git commit -m "Descriptive message"
- •
Add comment to ClickUp task:
bashcum ca current "Committed: <commit_message>"
Pushing Changes
# Push to remote git push -u origin <branch-name>
Completing a Task
- •
Run tests (if applicable)
- •
Update subtasks if any:
bashcum tss <subtask_id> "Complete"
- •
Update main task:
bashcum tss current "Complete"
- •
Add final comment:
bashcum ca current "Task completed and pushed to branch <branch-name>"
- •
Create PR if needed:
bashgh pr create --title "Title" --body "Description"
Common Command Aliases
| Command | Alias | Description |
|---|---|---|
assigned | a | View assigned tasks |
detail | d | View task details |
hierarchy | h ls l | View task hierarchy |
set_current | set | Set current context |
show_current | show | Show current context |
task_set_status | tss | Set task status |
task_create | tc | Create new task |
task_update | tu | Update task |
task_add_dependency | tad | Add dependency |
task_remove_dependency | trd | Remove dependency |
task_add_link | tal | Link tasks |
task_remove_link | trl | Unlink tasks |
comment_add | ca | Add comment |
comment_list | cl | List comments |
Quick Examples
Example 1: Starting a new task
# View assigned tasks cum a # Set current task cum set task 86c6e0q12 # Update status cum tss current "In Development" # Add initial comment cum ca current "Starting work on this task"
Example 2: Completing with dependencies
# Mark dependency complete cum tss 86c6e0q16 "Complete" # Remove dependency cum trd current --waiting-on 86c6e0q16 # Mark current task complete cum tss current "Complete"
Example 3: Creating a subtask
# Create subtask with parent (no --list needed) cum tc "Subtask name" --parent <parent_task_id> --status "In Development"
Example 4: Daily standup workflow
# Check your tasks cum a # View task hierarchy with comments cum h current --show-comments 3 # Update progress cum ca current "Today: Completed authentication module, blocked on API review"
Pro Tips
- •Always use
cum showto verify your current context before running commands with "current" - •Use
cum d <task_id> --show-comments 5to see recent comments and context - •Add comments frequently to track progress:
cum ca current "message" - •Use dependencies (
cum tad) to enforce task order and prevent premature status changes - •Use links (
cum tal) for related tasks that don't have strict ordering - •Set default assignee in context to auto-assign new tasks
- •Use
--description-fileand--comment-filefor longer content from files - •Leverage short codes -
cum his faster thancum hierarchy
Context Management Tips
# Set up your default working context once cum set workspace <workspace_id> cum set list <list_id> cum set assignee <your_user_id> # Now all commands use these defaults cum tc "Quick task" # Auto-uses current list and assignee cum h current # Shows current list hierarchy cum a # Shows tasks for current assignee
Integration with CI/CD
Add ClickUp updates to your CI/CD pipeline:
# .github/workflows/deploy.yml
- name: Update ClickUp Task
run: |
pip install git+https://github.com/SOELexicon/clickup_framework.git
cum ca $TASK_ID "Deployed to production: ${{ github.sha }}"
env:
CLICKUP_API_TOKEN: ${{ secrets.CLICKUP_API_TOKEN }}
TASK_ID: ${{ github.event.inputs.task_id }}
For complete command reference: See the CLI Reference skill or run /cum in Claude Code.