taskfile
Skill2 starsChanged 7 months agoMITView on GitHub
Build, debug, and refactor `Taskfile.yml` or `Taskfile.yaml` automation using go-task and the `task` CLI. Use this skill whenever the user mentions Taskfile, go-task, `task`, task dependencies, includes, variables, templates, `sources` or `generates` caching, taskfiles split across directories, or migrating Makefiles or npm scripts to Task.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- itsmostafa/agent-skillstheir own version, first seen Sep 29, 2026
- sunsided/taskfile-skillstheir own version, first seen May 25, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- itsmostafa/agent-skills★ 4same name
- sunsided/taskfile-skills★ 3same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository26 other files it gives its agents.
- other/AGENTS.mdAGENTS.md
- beamng-modsSkill
- bootstrap-vueSkill
- charmbraceletSkill
- depsdotdevSkill
- find-domainSkill
- github-cliSkill
- go-cobraSkill
- goreleaserSkill
- go-viperSkill
- kasettoSkill
- laravel-actionsSkill
- lefthookSkill
- miseSkill
- pelican-panel-pluginsSkill
- php-monorepo-builderSkill
- php-saloonSkill
- prd-todo-slicerSkill
- prd-to-kandev-tasksSkill
- qodo-mergeSkill
- release-pleaseSkill
- rewrite-in-goSkill
- shieldsioSkill
- skill-researcherSkill
- skill-scoutSkill
- website-visual-testingSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. About 0 are common, 2 are distinctive, and 11 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
11
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 11
Use this skill to create production-grade Taskfile.yml automation for local dev, CI, and monorepos.
- Distinctive: line 24
add tasks to existing Taskfile,
- Very specific: line 27
Prefer small, composable tasks with clear desc and predictable variables.
- Very specific: line 31
Keep root schema on version: '3' unless user needs stricter semver gating.
- Very specific: line 32
Use desc on user-facing tasks so task --list is useful.
- Very specific: line 33
Use internal: true for helper tasks not meant for direct invocation.
- Very specific: line 34
Use deps for parallelizable prerequisites.
- Very specific: line 35
Use requires.vars for mandatory inputs and enum constraints for safety.
- Very specific: line 36
Use sources + generates (or status) to skip unnecessary work.
- Very specific: line 37
Use preconditions for hard-fail checks (missing tools/files/env).
- Very specific: line 38
Use if to conditionally skip tasks without failing.
- Very specific: line 39
Use task-level dir when running in subfolders/services.
- Distinctive: line 43
When writing or editing Taskfiles:
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Taskfile Skill
Use this skill to create production-grade Taskfile.yml automation for local dev, CI, and monorepos.
Task is a YAML task runner with:
- dependency graphs (
deps) - templating via Go
text/template+ slim-sprig functions - incremental execution (
sources,generates,status,method) - task composition via
includes
What to do first
- Identify the user's goal (dev workflow, build, test, release, codegen, deploy).
- Inspect existing
Taskfile.ymland project scripts (package.json, Makefile, CI configs). - Decide whether to:
- add tasks to existing Taskfile,
- split into included Taskfiles,
- or bootstrap a fresh Taskfile.
- Prefer small, composable tasks with clear
descand predictable variables.
Core implementation rules
- Keep root schema on
version: '3'unless user needs stricter semver gating. - Use
descon user-facing tasks sotask --listis useful. - Use
internal: truefor helper tasks not meant for direct invocation. - Use
depsfor parallelizable prerequisites; usecmds: - task: ...for ordered execution. - Use
requires.varsfor mandatory inputs and enum constraints for safety. - Use
sources+generates(orstatus) to skip unnecessary work. - Use
preconditionsfor hard-fail checks (missing tools/files/env). - Use
ifto conditionally skip tasks without failing. - Use task-level
dirwhen running in subfolders/services.
Output expectations
When writing or editing Taskfiles:
- return valid YAML that can run as-is;
- include concise comments only for non-obvious behavior;
- include at least one
defaultor clearly documented entrypoint task when useful; - include practical examples of calling tasks (with variables and
--CLI args) in your response.
Routing guide
- Schema keys and valid shapes:
references/schema-and-model.md - Templating and special variables:
references/templating-and-vars.md - Execution model, caching, and reliability:
references/execution-patterns.md - CLI flags, debug flow, and troubleshooting:
references/cli-and-debugging.md - Ready-to-copy Taskfiles:
examples/basic-taskfile.yml,examples/monorepo-taskfile.yml
High-value patterns to prefer
1) Safe deploy tasks
promptfor confirmationrequires.varsfor environment selectionpreconditionsfor required secrets/tools
2) Fast local dev loops
- a top-level
devtask that fans out to service tasks watchwhere appropriate- clear task aliases for common commands
3) Incremental builds/codegen
sourcesandgeneratesfor deterministic re-runsmethod: checksumfor content-sensitive workflowsmethod: timestamponly when filesystem mtime behavior is desired
4) Monorepo composition
includeswith namespacesflattenonly when naming collisions are controlledexcludesfor clashing task names
Anti-patterns to avoid
- Giant single tasks that hide multiple concerns.
- Relying on shell state shared between separate commands.
- Omitting
descon user-facing tasks. - Using
--forceroutinely instead of modelingsources/statuscorrectly. - Putting sensitive values directly in Taskfiles when env/dotenv is more appropriate.
Minimal quality checklist
Before finishing, verify:
task --listis readable and meaningful.- Required variables are enforced (
requires). - Tasks run from expected directories (
dir,USER_WORKING_DIRwhen needed). - Incremental tasks have correct invalidation (
sources/generates/status). - Task names and namespaces are consistent and predictable.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

