Working with Taskfile Tasks
Overview
This project uses Taskfile for task automation. All available tasks are defined in Taskfile.yml at the project root.
When to use this skill:
- •User asks "what can I do?" or "how do I...?"
- •User wants to run a project task
- •You need to understand available workflows
Discovering Tasks
- •Read
Taskfile.ymlto see all task definitions - •Each task has a
desc:field explaining what it does - •Tasks are grouped by prefix for organization
Quick list: Run task --list to see all tasks with descriptions.
Running Tasks
Non-interactive tasks: Run directly with task <name>
bash
task format task build task test
Interactive tasks: Either run interactively OR pass variables:
bash
# Interactive (prompts for input) task new # Non-interactive (pass variable) task new NAME=my-project
Handling Interactive Tasks
When user wants to run an interactive task:
- •Check if they provided the required variable
- •If not, ask for it conversationally
- •Run with the variable set
Example conversation:
code
User: Create a new component Agent: What should I name it? (e.g., MyComponent) User: UserProfile Agent: *runs: task new NAME=UserProfile*
Key Commands
- •
task --list- Show all available tasks - •
task <task-name>- Run specific task - •
task --help- Get help on Taskfile usage
Integration with Other Skills
This skill often works with:
- •devenv: For environment-related tasks
- •git-workflow: For version control tasks
- •format: For code formatting tasks