Taskfile setup

From joaquimscosta/arkhe-claude-plugins · View interactive version

Taskfile setup is an AI agent skill from the GitHub repository joaquimscosta/arkhe-claude-plugins. Install Taskfile (task) and scaffold or audit Taskfile.yml configurations with ecosystem-aware templates. Auto-detects Node.js/pnpm, JVM/Gradle, Python/uv, Docker, and recommends single-file or multi-file (includes) patterns based on project complexity. Use when user runs /devtools:taskfile-setup, m

How to use this skill

Skill file

Taskfile Setup

Install Taskfile and scaffold or audit Taskfile.yml configurations with ecosystem-aware templates.

Pre-flight

Run the detection script to understand current state:

python3 ${CLAUDE_SKILL_DIR}/scripts/detect_taskfile.py <project-root>

Decision Flow

Run detector
    |
    ├── task_binary.installed = false → Install Task first
    |
    ├── taskfile.exists = true → Phase 1: Audit
    |
    └── taskfile.exists = false → Phase 2: Scaffold

Phase 1: Audit (Existing Taskfile)

  1. Summarize findings — show a status table:

| Component | Status | Detail |

|-----------|--------|--------|

| task binary | installed/missing | version, path |

| Taskfile | found/not found | path, variant |

| Tasks | N tasks | count, has includes |

| Ecosystems | N detected | list |

| dotenv | configured/missing | .env files found |

  1. Present audit violations grouped by severity (ERROR > WARNING > INFO):
  1. Use AskUserQuestion (multiSelect: true) — ask which violations to fix
  1. Apply selected fixes — see WORKFLOW.md for per-rule fix strategies
  1. Re-run detector to verify fixes were applied

Phase 2: Scaffold (No Taskfile)

  1. Install task if missing — show commands based on os field:
  1. Review detected ecosystems — show what was found
  1. Choose Taskfile pattern — use AskUserQuestion:
  1. Choose task groups — use AskUserQuestion (multiSelect: true):

| Ecosystem | Available Groups |

|-----------|-----------------|

| Node.js/pnpm | dev, build, test, lint, format, check |

| JVM/Gradle | build, test, lint, check, run |

| Python/uv | dev, test, lint, format, check |

| Docker | up, down, logs, build, clean |

| Generic | setup, check, clean |

  1. Generate Taskfile.yml with selected groups — always include:
  1. Verify — re-run detector, then run task --list

Key Rules

Existing Runner Awareness

The detector reports existing runners (Makefile, justfile, package.json scripts, gradlew). When scaffolding:

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.