Just

casey/just/skills/just

by caseya1951a5ff7626f2dca436cd13cfd99cea7a84ca7No license36K starsListed Oct 9, 2026Updated Oct 9, 2026Repository updated today

Reference for `just`, the command runner. Use when working in a project with a `justfile` or when the user mentions `just` or `justfile`.

Instructions onlySoftware Development
AI-generated overview

Reference for the just command runner, covering discovery, execution and justfile syntax.

What it does
This skill is a reference guide for just, the command runner. It lists discovery commands such as just --dump, --evaluate, --help, --list, --show and --summary, and execution commands for running default or named recipes with arguments. It also shows justfile syntax examples for variables, dependencies, arguments, default values, doc-comments and shebang recipes.
When to use it
Use it when working in a project that has a justfile, or when the user mentions just or justfile. It helps look up the right command or recipe syntax.
Requirements
No scripts are shipped; it is instructions only. Using the described commands requires the just command runner to be installed.

Just

Discovery

  • just --dump Print justfile
  • just --evaluate Print variable values
  • just --help Print detailed command-line syntax help
  • just --list Print recipes with descriptions
  • just --show <RECIPE> Print recipe source
  • just --summary Print recipes without descriptiosn

Execution

  • just Run default recipe
  • just <RECIPE> Run specific recipe
  • just <RECIPE> <ARG1> <ARG2 Run recipe with arguments

Syntax

just
executable := 'main'
# compile main.ccompile:  cc main.c -o {{ executable }}
# run mainrun: compile  ./{{ executable }}
# run testtest name: compile  ./bin/test {{ name }}
# start webserverserve port='8080':  python -m http.server {{port}}
# publish current tagpublish:  #!/usr/bin/env bash  set -euxo pipefail  tag=`git describe --tags --exact-match`  ./bin/check-tag $tag  git push origin $tag

Notes

The comment proceeding a recipe is used as its doc-comment, and included in just --list.

By default, each line of a recipe runs in a fresh shell. Recipes whose bodies start with #! are written to a file and executed as a script.

Commonly used commands and scripts should be turned into just recipes.

Source and attribution

Source:casey/justinskills/justat commita1951a5

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal