CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

taskfile

Authors, reviews, and diagnoses Task (go-task) automation in Taskfile.yml, Taskfile.yaml, included Taskfiles, and .taskrc.yml. Use for ordered or parallel workflows, typed inputs and CLI arguments, stale builds, reusable monorepo tasks, watch/CI failures, or remote Taskfile trust.

Quality

85%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Taskfile

Based on Task 3.54.0 documentation retrieved on 2026-10-21, with runtime-verified corrections. Runnable examples target Task 3.54.0; the website snapshot is not release-tag-pinned.

Scope

Own the Taskfile's execution graph, inputs, artifact checks, and integration with existing project scripts. Task is not the implementation of the compiler, test runner, deployment service, or credential provider it invokes. Keep substantial program logic in the project's scripts rather than building a second language out of templates.

Use the branch matching the requested change; expand only when another boundary matters. The complete documentation snapshot is bundled for offline lookup. Copy this entire skill directory; no external documentation checkout is required.

Workflow

  1. Identify the effective configuration. Read the entrypoint, transitive includes, affected scripts, and applicable .taskrc.yml files. Check task --version, file selection, and experiment settings. Inspect credential names/sources, not secret values. Preserve the project's minimum version unless a needed feature requires raising it.
  2. State the contract. Name the requested output, inputs, working directory, prerequisites, shared resources, failure result, and cleanup owner. For debugging, start with symptom-driven diagnosis, not a speculative flag change.
  3. Choose the graph. Use deps only for independent work; use task: entries in cmds when order matters. Place approval and required checks before the operations they protect. Decide separately whether to deduplicate calls within one invocation or cache results across invocations.
  4. Define the task interface. Give public tasks desc, keep helpers internal, preserve caller-overridable defaults, validate inputs, and make directories/environment explicit. Check uncommon keys against the bundled schema, accounting for the project's intended version.
  5. Verify the changed behavior. Read dynamic variables and remote includes before even previewing a file. On trusted files, inspect listings/commands, then exercise a disposable fixture: successful execution, relevant failure, and actual outputs. For caching, include unchanged, changed-input, deleted-output, and variant cases.

Essential contracts

  • Dependencies can run concurrently and in any order; limiting concurrency to one does not define their order.
  • Each command has a fresh shell. Task vars are template inputs, not environment exports to cmds.
  • Successful status means skip; failed preconditions means error; failed if means an acceptable skip. Dependencies precede preconditions and confirmation prompts.
  • --dry can execute dynamic sh: variables. --force bypasses preconditions as well as up-to-date checks. Neither is a safety boundary.
  • Cleanup registers only when its defer entry is reached. Deferred errors preserve the task's exit status and require --verbose for Task's diagnostic.
  • Review remote code and pin the reviewed content; --yes and trusted-host settings accept changes rather than prove them safe.

Ordered task calls

For the smallest ordering example, use the ordered-calls Taskfile. For a complete local workflow, follow the checked artifact pipeline: shared setup, parallel checks, ordered build/verification, cached outputs, and a deliberately failed check.

Completion

Report the effective Taskfile/version, changed graph or input contract, commands actually run, expected versus observed outputs/failures, and untested boundaries. A parsed Taskfile or a dry-run transcript is not evidence that its build, cleanup, remote service, or target platform works. Use the example catalog for safe execution context.

References

Repository

slurpyb/pi-taskfile

Path

skills/taskfile/SKILL.md

Last updated
First committed

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.