Skip to content
Skillpedia
General coding37k · #7584

just

What it does

This skill explains how to use the just command runner, a tool for saving project commands. It is for developers who work in projects that have a justfile.

When to use it

  • ✓When a project has a justfile and you want to see or run its recipes.
  • ✓When you want to turn a set of repeated commands into a just recipe.
  • ✓When you want to pass arguments to a recipe or check its source.

Skill link

https://github.com/casey/just/blob/master/skills/just/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/casey/just/blob/master/skills/just/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“What recipes are in this project's justfile, and how do I run the deploy one?”

5 new skills a week. 1 minute to read.

How it works

It lists the commands the tool supports, such as showing recipes, printing their source, and running one with arguments. It also explains the basic justfile syntax for writing new recipes.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

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

executable := 'main'

# compile main.c
compile:
  cc main.c -o {{ executable }}

# run main
run: compile
  ./{{ executable }}

# run test
test name: compile
  ./bin/test {{ name }}

# start webserver
serve port='8080':
  python -m http.server {{port}}

# publish current tag
publish:
  #!/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.

FAQ

What is a justfile?

A justfile is a file that stores named commands, called recipes, for a project.

Do I need to install just first?

Yes. The just command runner must be installed before its recipes can run.

Can one recipe depend on another?

Yes. A recipe can depend on another one, so the other runs first.

Details

Original description by the author

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

repo: casey/just

Popularity

GitHub stars
37k
Ranking position
#7584
License
CC0-1.0
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

Similar skills