z-go-taskfile
Installation
SKILL.md
Go Taskfile (orchestration)
Preserve the project's existing build tool and approved commands. When Make and Task coexist, let Task compose environment operations and delegate existing build/test targets to [[z-go-makefile]]. Do not add Make to a Task-only project merely to enforce this split.
Single source of truth — delegate, don't duplicate
Never re-implement a Makefile command in a task. Call make:
test:
desc: Run all Go tests (pass GO_TEST_FLAGS="-run Foo")
vars:
GO_TEST_FLAGS: '{{.GO_TEST_FLAGS | default ""}}'
cmds:
- make test GOTESTFLAGS='{{.GO_TEST_FLAGS}}'