task-conventions
Skill7 starsChanged 2 days agoMITView on GitHub
Task (`Taskfile.yml`): the commands contributors and CI run. TRIGGER when: creating or editing `Taskfile.yml`/`.yaml` or an included Taskfile; scaffolding a project; adding a command contributors run (setup, lint, test, coverage, build, release); a CI step running one; a `Makefile` or `justfile` used as a task runner; user asks about Task or a task runner. SKIP when: pinning or installing tools (`mise-conventions`).
1 other project uses a version of this.
Adopted by
Most recently taken up by
- leroyguillaume/skillsword for word, first seen Nov 22, 2026
Other versions1 project uses a version of this.
Word for word · 1
- leroyguillaume/skills★ 7100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
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 repository54 other files it gives its agents.
- adr-conventionsSkill
- api-conventionsSkill
- architecture-conventionsSkill
- argocd-conventionsSkill
- ci-conventionsSkill
- config-conventionsSkill
- contributing-conventionsSkill
- councilSkill
- cryptography-conventionsSkill
- dependency-update-conventionsSkill
- diagram-conventionsSkill
- docker-conventionsSkill
- documentation-conventionsSkill
- frontend-conventionsSkill
- github-actions-conventionsSkill
- github-issue-conventionsSkill
- github-pr-conventionsSkill
- github-repo-settingsSkill
- gitlab-ci-conventionsSkill
- helm-conventionsSkill
- herdr-core-delegationSkill
- herdr-delegationSkill
- herdr-tui-delegationSkill
- kopf-conventionsSkill
- kubernetes-operator-conventionsSkill
- logging-conventionsSkill
- logo-conventionsSkill
- mise-conventionsSkill
- ollama-conventionsSkill
- openssf-conventionsSkill
- pr-conventionsSkill
- pre-commit-conventionsSkill
- project-metadata-conventionsSkill
- python-async-conventionsSkill
- python-conventionsSkill
- readme-conventionsSkill
- release-script-conventionsSkill
- release-supply-chain-conventionsSkill
- renovate-ci-conventionsSkill
- rest-conventionsSkill
- rust-build-conventionsSkill
- rust-conventionsSkill
- rust-http-conventionsSkill
- security-policy-conventionsSkill
- signal-handling-conventionsSkill
- sql-conventionsSkill
- starlight-conventionsSkill
- systemd-conventionsSkill
- system-user-conventionsSkill
- terraform-conventionsSkill
- topic-splittingSkill
- ui-copy-conventionsSkill
- web-layout-conventionsSkill
- yaml-conventionsSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 81
depsrun in parallel: Use them for independent prerequisites. - Very specific: line 108
Add to .pre-commit-config.yaml (pre-commit-conventions):
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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
Task conventions
Taskfile.yml says what you run: task setup, task lint, task test.
CI calls the same tasks, so "reproduce locally" is always the command the
pipeline ran.
It installs no tool: Task and everything the tasks call are pinned in
mise.toml (mise-conventions).
Taskfile.yml goes in every repository a contributor builds or checks, as
part of the bootstrap. A repository with a working Makefile or justfile
keeps it until the migration is asked for, and the migration replaces it in
the same change: never two task runners side by side.
The file
At the repository root, named Taskfile.yml.
# yaml-language-server: $schema=https://taskfile.dev/schema.json
version: '3'
set:
- errexit
- nounset
- pipefail
tasks:
default:
cmds:
- task --list
silent: true
setup:
desc: Install the project dependencies and the git hooks
cmds:
- uv sync --all-extras
- pre-commit install
lint:
desc: Run every pre-commit hook on the whole repository
cmds:
- pre-commit run --all-files
test:
desc: Run the test suite
cmds:
- uv run pytest {{.CLI_ARGS}}- The standard names:
setup(project dependencies andpre-commit install, never the tools, which aremise install's),lint(exactlypre-commit run --all-files, the gate CI runs),test(the whole suite),coverageandcoverage:summaryfor a suite in any language but shell (ci-conventions; the language skill gives their commands), thenbuild,run,docswhen the project has them, andreleasearoundscripts/release.sh(release-script-conventions). A baretasklists them. Namespaces with:(docs:build) throughincludeswhen a component has a Taskfile of its own. - Every public task has a
desc, one line, imperative:task --listonly shows those. A helper that is not an entry point isinternal: true. - Thin tasks. A task is the command a contributor would type, one to
three lines. Logic that needs a loop or a condition goes in a script under
scripts/, which the task calls: YAML is a poor place to read or debug shell, and the script keeps itsshellcheckhook. {{.CLI_ARGS}}ontestand the like, sotask test -- -k parsernarrows the run without a second task.set: [errexit, nounset, pipefail]at the top: withoutpipefail, a failing command piped into another reports success.depsrun in parallel. Use them for independent prerequisites; for a sequence, list the steps incmds(- task: build).sources/generatesonly on expensive steps (a build, a code generation), so they are skipped when nothing changed. A lint or a test never: they must run every time.requires: vars:for an input a task cannot run without, andpreconditionswith amsgfor a state it needs (a running cluster, a file present), so the failure says what to do.- Never a secret in the Taskfile, literal or default value, and no
dotenv:: mise loads the environment (mise-conventions). - Never
prompt:to guard something irreversible:task --yesanswers every prompt. The confirmation lives in the script the task calls. - Task runs
cmdsthrough its own embedded POSIX shell interpreter on every OS, Windows included. Keep commands to what that shell and the listed tools provide; a step that needsbashorpwshcalls it explicitly, restricted withplatforms.
.gitignore
.task/It holds Task's checksums for sources.
pre-commit
Add to .pre-commit-config.yaml (pre-commit-conventions):
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: <latest tag SHA> # frozen: <latest tag>
hooks:
- id: check-taskfileCI
When Taskfile.yml exists, CI calls its tasks, never the commands behind
them: task lint, not pre-commit run --all-files. A command changed in the
Taskfile then changes in CI too. Without a Taskfile, CI runs the commands
themselves. The tools, Task included, come from mise (mise-conventions).
CONTRIBUTING
The setup ends with task setup; the tests and CI sections give task test
and task lint, and task --list for the rest (contributing-conventions).
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.

