⚑Taskfile Integration

πŸš€ Quick Integration

To integrate branch management tasks into your existing Taskfile.yml:

# Run the integration script
./scripts/branch-templates/integrate-taskfile.sh

# Or manually copy from the integrated version
cp Taskfile-integrated.yml Taskfile.yml

πŸ“‹ New Tasks Overview

Branch Creation Tasks

Task
Description
Usage

task branch

Interactive branch creation

task branch

task branch:feature

Create feature branch

task branch:feature -- "desc" [issue]

task branch:fix

Create fix branch

task branch:fix -- "description" [issue]

task branch:security

Create security branch

task branch:security -- "description"

task branch:chore

Create chore branch

task branch:chore -- "description"

task branch:hotfix

Create hotfix branch

task branch:hotfix -- "description"

task branch:release

Create release branch

task branch:release -- "v1.0.0"

Branch Management Tasks

Task
Description
Usage

task branch:validate

Validate current branch

task branch:validate

task branch:validate:all

Validate all branches

task branch:validate:all

task branch:check

Check specific branch

task branch:check -- "branch-name"

task branch:status

Show branch status

task branch:status

task branch:sync

Sync with main

task branch:sync

task branch:clean

Show cleanup commands

task branch:clean

task branch:list

List all branches

task branch:list

Workflow Tasks

Task
Description
Usage

task work:start

Start new work

task work:start

task work:save

Save current work

task work:save

task work:finish

Finish and prepare PR

task work:finish

task branch:ready

Check PR readiness

task branch:ready

task branch:workflow

Complete workflow

task branch:workflow

🎯 Usage Examples

Starting New Work

During Development

Finishing Work

Quality Assurance Integration

πŸ”„ Integration with Existing Tasks

The new branch tasks work seamlessly with your existing workflow:

🎨 Task Features

Command Line Arguments

Interactive Mode

Status and Information

πŸ”§ Advanced Usage

Custom Workflows

Git Integration

CI/CD Integration

πŸ› οΈ Customization

Modifying Tasks

You can customize the branch tasks by editing the Taskfile.yml:

Environment Variables

The tasks respect your existing environment:

πŸ“Š Task List Integration

The new tasks are organized in the task list:

Shows organized sections:

  • Branch Management: All branch-related tasks

  • Development Setup: Existing setup tasks

  • Code Quality: Existing quality tasks

  • Testing: Existing test tasks

  • etc.

πŸ”„ Migration and Compatibility

Backward Compatibility

All your existing tasks remain unchanged:

  • βœ… task setup - Still works exactly the same

  • βœ… task quick - No changes to existing workflow

  • βœ… task check - All quality checks unchanged

  • βœ… task ci - CI simulation unchanged

New Dependencies

The branch tasks only require:

  • Git (already required for your project)

  • Bash (standard on macOS/Linux)

  • The branch template scripts (included)

No additional dependencies needed!

🚨 Troubleshooting

Common Issues

Task not found:

Branch script not executable:

Git errors:

Getting Help

πŸŽ‰ Quick Start Cheat Sheet

This integration makes branch management a natural part of your existing Task workflow while maintaining all the power and flexibility of your current setup!

Last updated

Was this helpful?